LABEL=/ / ext3 defaults 1 1
LABEL=/AFC/Data /AFC/Data ext3 defaults 1 2
LABEL=/AFC/Log /AFC/Log ext3 defaults 1 2
LABEL=/AFC_DB /AFC_DB ext3 defaults 1 2
/dev/sdb1 /AFC_DB2 ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /dev/shm tmpfs defaults 0 0
LABEL=/oracle /oracle ext3 defaults 1 2
none /proc proc defaults 0 0
none /sys sysfs defaults 0 0
LABEL=SWAP-sda7 swap swap defaults 0 0
/dev/sdb2 /AFC_DB3 ext3 defaults 1 2
/dev/scd0 /media/cdrom auto pamconsole,fscontext=system_u:object_r:removable_t,exec,noauto,managed 0 0
使用vi编辑器添加两条:
[root@ccsvr etc]# vi fstab
[root@ccsvr etc]# more fstab
# This file is edited by fstab-sync - see 'man fstab-sync' for details
LABEL=/ / ext3 defaults 1 1
LABEL=/AFC/Data /AFC/Data ext3 defaults 1 2
LABEL=/AFC/Log /AFC/Log ext3 defaults 1 2
LABEL=/AFC_DB /AFC_DB ext3 defaults 1 2
/dev/sdb1 /AFC_DB2 ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /dev/shm tmpfs defaults 0 0
LABEL=/oracle /oracle ext3 defaults 1 2