fstab 에서..

익명 사용자의 이미지

[wing@dns wing]$ more /etc/fstab
LABEL=/ / ext2
defaults 1 1
LABEL=/boot /boot ext2
defaults 1 2

이렇게 나오는 중에
LABEL 의 정보는 어디서 알 수가 있나요
예전에는 그냥 디바이스를 적어 준건 같은데.
쩝..

익명 사용자의 이미지

영문 man페이지에서 조그마한 해답을 읽을 수 있습니다.

man /usr/share/man/man5/fstab.5.gz

Instead of giving the device explicitly, one may indicate
the (ext2 or XFS) filesystem that is to be mounted by its
UUID or volume label (cf. e2label(8) or xfs_admin(8)),
writing LABEL= or UUID=, e.g., `LABEL=Boot'
or `UUID=3e6be9de-8139-11d1-9106-a43f08d823a6'. This will
make the system more robust adding or removing a SCSI
disk changes the disk device name but not the filesystem
volume label.

해석실력이 별로 안좋아서 해당하는 부분을 그냥 올려놨습니다. -)