What's the the
/dev/VolGroup/lv_home, and the
and what's the difference between them?
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It only takes a minute to sign up.Sign up to join this community
/dev entries are (links to) the block device itself; the
/home directory is the directory which serves as the mount point for this filesystem so that userspace (applications) can access the contents stored on the block device.
/dev entries happen to be symbolic links to the real "device manager" device, which is something like
/dev/dm-2. The LVM system creates the symbolic links to that
/dev/dm-2 so that it is easier to recognize what the device is. The links will look something like:
$ ls -l /dev/mapper/VolGroup-lv-home /dev/VolGroup/lv-home lrwxrwxrwx 1 root root 7 Jan 18 12:39 /dev/mapper/VolGroup-lv-home -> ../dm-2 lrwxrwxrwx 1 root root 7 Jan 18 12:39 /dev/VolGroup/lv-home -> ../dm-2
Your output will probably be slightly different.