Hi David and Chris!

I tried df-ing but there's no conclusive output about where my poor "/tmp" directory is! :(

Here's the output from the root directory -

[EMAIL PROTECTED]:/$ df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda7             3.9G  3.4G  351M  91% /
varrun                375M  120K  374M   1% /var/run
varlock               375M     0  375M   0% /var/lock
udev                  375M  112K  374M   1% /dev
devshm                375M     0  375M   0% /dev/shm
lrm 375M 38M 337M 10% /lib/modules/2.6.24-16-generic/volatile
/dev/sda6              99M   24M   71M  25% /boot
/dev/sda8             1.5G  1.2G  184M  87% /home
/dev/sda1              37G   37G  283M 100% /media/sda1
/dev/sda2              28G   26G  1.6G  95% /media/sda2
/dev/sda4             4.3G  4.2G  153M  97% /media/sda4
/dev/sdb1            1017M  375M  643M  37% /media/disk

</end>

No joy? There's a strong chance that "/tmp" is on the same device as my root, but shouldn't there be a more conclusive way?


Kelvin Quee


Chris Henry wrote:
On Tue, Apr 22, 2008 at 9:23 PM, Kelvin Quee <[EMAIL PROTECTED]> wrote:
 I've a directory called "tmp". How do I know which device (/dev/sda?) it's
mounted on? Is there a command that I can use?
`df` will list all mounted partitions. If it is not listed, then find
the parent directory closest to tmp (if you're talking about /tmp,
then either you'll see /tmp mounted to some partition, such as
/dev/hda6, or, otherwise, it is part of the root partition). If you're
not sure, you can paste your `df` output in the list (and the exact
location of your tmp directory; I suspect you're talking about /tmp,
but you may want to clarify).

Chris


--
Kelvin Quee
+65 9177 3635
[EMAIL PROTECTED]

Bridging People with Ideas
http://InteresThink.com



_______________________________________________
Slugnet mailing list
[email protected]
http://wiki.lugs.org.sg/LugsMailingListFaq
http://www.lugs.org.sg/mailman/listinfo/slugnet

Reply via email to