![]() |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
![]() |

|
| Linux and Unix Error ! Redhat,suse,centos,mandrake,Free BSD,Sun |
![]() |
|
Confused about FSTAB LABEL=?
|
LinkBack | Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
Administrator
Posts: 18,702
Join Date: Jan 2006
Rep Power: 10
IM:
|
Can someone explain to me the necessity for the LABEL= in the /ect/fstab why not just use the device? In my current fstab is a line similar to the following: LABEL=/video /video ext3 defaults 1 2 Firstly what does the LABEL stand for and secondly can I change the mount point for it from /video to /output? LABEL=/video /output ext3 defaults 1 2 Soln On some systems, the disk devices are discovered by querying the bus, and device numbers are assigned to each disk in the order it responds. This can result in the same physical device getting different device ids on successive boots. I saw this in early versions Mac OS X, especially after a warm boot. I kept all the user home directories on a separate disk, mounted on /Users. On cold boot, that disk always showed up as /dev/disk1, but during a warm boot, it sometimes showed up as /dev/disk0. This made creating an fstab difficult. I changed my /etc/ftab entry from referencing the mount by device id to using the disk label. This fixed the problem immediately. For more information, see this: http: > Firstly what does the LABEL stand for? This is the volume label as described in the above linked document. > and secondly can I change the mount point for it from /video to /output? Yes. The modification you did should work. |
|
|
|
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|