原本是想让/dev/md0 mount时加上acl特性,但是编辑了/etc/fstab文件,重启了却没效果,反正/dev/sda1 /boot这个分区加载了acl特性...但看了下/etc/fstab文件,没有啊...
是bug??还是debian 7不再是用/etc/fstab文件来控制了??
===================================================
root@server:~# mount
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
udev on /dev type devtmpfs (rw,relatime,size=10240k,nr_inodes=1008265,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=807860k,mode=755)
/dev/disk/by-uuid/1051f9f7-7d31-40dd-bff6-7afe23d3f82d on / type ext4 (rw,relatime,errors=remount-ro,user_xattr,barrier=1,data=ordered)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
tmpfs on /run/shm type tmpfs (rw,nosuid,nodev,noexec,relatime,size=33554432k)
/dev/sda1 on /boot type ext3 (rw,relatime,errors=continue,user_xattr,acl,barrier=1,data=ordered)
/dev/md0 on /mnt/data type ext4 (rw,relatime,user_xattr,barrier=1,data=ordered)
/dev/sda6 on /usr type ext4 (rw,relatime,user_xattr,barrier=1,data=ordered)
/dev/sda5 on /var type ext4 (rw,relatime,user_xattr,barrier=1,data=ordered)
root@server:~# cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda2 during installation
UUID=1051f9f7-7d31-40dd-bff6-7afe23d3f82d / ext4 errors=remount-ro 0 1
# /boot was on /dev/sda1 during installation
UUID=6a42b83e-5504-499a-bd71-fd0f1ced84e7 /boot ext3 defaults 0 2
# /mnt/data was on /dev/md0 during installation
UUID=473f6c7c-f02a-4d1a-b98b-7692707da83e /mnt/data ext4 defaults,acl 0 2
# /usr was on /dev/sda6 during installation
UUID=c98a5517-c421-4bdb-90ac-2bbe8b4cc235 /usr ext4 defaults 0 2
# /var was on /dev/sda5 during installation
UUID=4faf5564-f595-4293-bec2-d5b33e8bce5b /var ext4 defaults 0 2
# swap was on /dev/sda3 during installation
UUID=91492f7a-7922-4e7b-a6c0-61afe5be4682 none swap sw 0 0
# swap was on /dev/sdb3 during installation
UUID=7ccb1ae1-3ae3-40c0-af91-cf6d55e159d5 none swap sw 0 0
/dev/sdd1 /media/usb0 auto rw,user,noauto 0 0
===================================================