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

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

Reply via email to