red hat linux as4与as5 下的/etc/fstab对比挂载
今天 安装了red hat linux as5下的/etc/fstab 需要挂载光驱!more/etc/fstab 没有光驱的挂载选项及
[root@rb /]# more /etc/fstab
/dev/VolGroup00/LogVol00 / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
devpts /dev/pts devpts gid=5,mode=620 0 0
tmpfs /dev/shm tmpfs defaults 0 0
proc /proc proc defaults 0 0
sysfs /sys sysfs defaults 0 0
/dev/VolGroup00/LogVol01 swap swap defaults 0 0
/dev/hdb /media/cdrom udf,iso9660 user,noauto 0 0 该行是我添加上的
挂载还是失败!
red hat linux as4 下的 /etc/fstab文件
[root@hn /]# more /etc/fstab
# This file is edited by fstab-sync - see 'man fstab-sync' for details
LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /dev/shm tmpfs defaults 0 0
none /proc proc defaults 0 0
none /sys sysfs defaults 0 0
LABEL=SWAP-sda2 swap swap defaults 0 0
# Beginning of the block added by the VMware software
.host:/ /mnt/hgfs vmhgfs defaults,ttl=5 0 0
# End of the block added by the VMware software
/dev/hda /media/cdrom auto pamconsole,fscontext=sys
tem_ubject_r:removable_t,exec,noauto,managed 0 0
/dev/fd0 /media/floppy auto pamconsole,fscontext=sys
tem_ubject_r:removable_t,exec,noauto,managed 0 0
[root@hn /]#