On Sun, 25 Feb 2001 at 09:18, William Villanueva wrote:
> I've never bothered checking before but just recently, I took notice
> and was wondering, how do I know what partition a particular directory
> has been mounted in (if that's the correct term)?

It's the other way around. Partition's are mounted to various parts of
your directory structure. You have root, '/', and initially mount a device
there: partition, RAMdisk, whatever. Then you mount other devices to
various mount points.

> Filesystem            Mounted on
> /dev/sda5             /
> /dev/sda7             /home
> /dev/sda6             /usr
> /dev/sda8             /var

/dev/sda5 is your root partition. Among others, it has /home, /usr, and
/var to which sda7, sda6, and sda8 are mounted respectively.

> In which partition are the directories such as /sbin, /etc, /lib,
> /opt, /tmp located?

In /, /dev/sda5.

---
Linux, MS-DOS, and Windows NT ...
... also known as the Good, the Bad, and the Ugly

_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]

Reply via email to