major and minor device number of /tmp

  • Follow


hi all,

how/where do I find the major and minor device number of
the device /tmp resides on?

0
Reply getridofthespam (120) 9/9/2009 9:35:38 AM

adirtymindisajoyforever wrote:
> hi all,
> 
> how/where do I find the major and minor device number of
> the device /tmp resides on?

What if it doesn't?

/tmp can exist entirely in RAM.  It can also be split between RAM and a 
zvol.

df -h | grep tmp

Will tell you where /tmp is mounted:

df -h | grep tmp
swap                   237M   189M    48M    80%    /tmp

swap -l will tell you the device(s) used by swap:

swap -l
swapfile             dev    swaplo   blocks     free
/dev/zvol/dsk/rpool/swap 182,1         8  4194296   716440

-- 
Ian Collins
0
Reply Ian 9/9/2009 10:05:23 AM


1 Replies
358 Views

(page loaded in 0.047 seconds)

Similiar Articles:













7/24/2012 5:20:19 PM


Reply: