Skip to contentSkip to conversation

where do folders reside on partition

DISCUSSION rekha vn 4 participants 4 messages Aug 25, 2005 – Aug 26, 2005

lore
Share & tools
lore

rekha vn

author
#0 lore raw

how can i know the hard disk partition in which the various folders reside?
the "find" command is giving only the path and not the partition on which the folder resides.

__________________________________
Yahoo! Mail for Mobile
Take Yahoo! Mail with you! Check email on your mobile phone.
http://mobile.yahoo.com/learn/mail
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

#1 lore raw

with the command df -h
you will get the partition , with ur " find" output you can get the partition.

Quoted 7 lines · rekha vn

how can i know the hard disk partition in which the various folders reside?
the "find" command is giving only the path and not the partition on which the folder resides.

Quoted 10 lines

__________________________________
Yahoo! Mail for Mobile
Take Yahoo! Mail with you! Check email on your mobile phone.
http://mobile.yahoo.com/learn/mail
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

#2 lore raw
In reply to rekha vn
Quoted 1 line · rekha vn

how can i know the hard disk partition in which the various folders reside? the "find" command is giving only the path and not the partition on which the folder resides.

Use the "df" (as in: disc free-space) command. Try:

$ df path/to/file
$ man df
$ info df

--
Jeff Woods <[email protected]>

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

#3 lore raw
In reply to rekha vn
Quoted 6 lines · rekha vn

how can i know the hard disk partition in which the
various folders reside? the "find" command is giving only the path and not the partition on which the folder resides.

Quoted 9 lines

__________________________________ Yahoo! Mail for Mobile Take Yahoo! Mail with you! Check email on your mobile phone. http://mobile.yahoo.com/learn/mail
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

You may also want to try the mount command, although df gives nicer output.

apollo:~
12 $ mount
/dev/hda6 on / type ext2 (rw)
none on /proc type proc (rw)
/dev/hda1 on /boot type ext2 (rw)
/dev/hdc5 on /home type ext2 (rw)
/dev/hda5 on /usr type ext2 (rw)
/dev/hda7 on /var type ext2 (rw)
none on /dev/pts type devpts (rw,gid=5,mode=620)

Bryan
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs