[РЕШЕНО] Монтирование Reiserfs c опцией "exec"
John0838 15 марта, 2013 - 00:57
Доброе время суток!
Подскажите, как при запуске системы смонтировать Reiserfs c опцией "exec",
для диска /dev/sda3
fstab:
cat /etc/fstab # /etc/fstab: static file system information. # # noatime turns off atimes for increased performance (atimes normally aren't # needed; notail increases performance of ReiserFS (at the expense of storage # efficiency). It's safe to drop the noatime options if you want and to # switch between notail / tail freely. # # The root filesystem should have a pass number of either 0 or 1. # All other filesystems should have a pass number of 0 or greater than 1. # # See the manpage fstab(5) for more information. # # <fs> <mountpoint> <type> <opts> <dump/pass> # NOTE: If your BOOT partition is ReiserFS, add the notail option to opts. /dev/sda1 /boot ext2 noauto,noatime 1 2 /dev/sda6 / ext4 acl,user_xattr,noatime,nodiratime,barrier=1 0 1 /dev/sda3 /home reiserfs exec,acl,user_xattr,noatime,nodiratime,notail,barrier=flush,user 0 0 /dev/sda7 /usr/portage reiserfs acl,user_xattr,noatime,nodiratime,notail,barrier=flush 0 0 /dev/sda5 none swap sw 0 0 #/dev/cdrom /mnt/cdrom auto noauto,ro 0 0 #/dev/fd0 /mnt/floppy auto noauto 0 0 #proc /proc proc defaults 0 0 proc /proc proc nodev,noexec,nosuid 0 0 # glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for # POSIX shared memory (shm_open, shm_unlink). # (tmpfs is a dynamically expandable/shrinkable ramdisk, and will # use almost no memory if not populated with files) shm /dev/shm tmpfs nodev,nosuid,noexec 0 0 #shm /var/tmp/portage tmpfs nr_inodes=10M,size=5G,mode=01770,uid=portage,gid=portage 0 0
mount:
mount
rootfs on / type rootfs (rw)
/dev/root on / type ext4 (rw,noatime,nodiratime,acl,user_xattr,barrier=1,commit=0)
devtmpfs on /dev type devtmpfs (rw,relatime,size=2025556k,nr_inodes=506389,mode=755)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
tmpfs on /run type tmpfs (rw,nosuid,nodev,relatime,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620)
shm on /dev/shm type tmpfs (rw,nosuid,nodev,noexec,relatime)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,relatime)
cgroup_root on /sys/fs/cgroup type tmpfs (rw,nosuid,nodev,noexec,relatime,size=10240k,mode=755)
openrc on /sys/fs/cgroup/openrc type cgroup (rw,nosuid,nodev,noexec,relatime,release_agent=/lib64/rc/sh/cgroup-release-agent.sh,name=openrc)
cpuset on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
freezer on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
bfqio on /sys/fs/cgroup/bfqio type cgroup (rw,nosuid,nodev,noexec,relatime,bfqio)
/dev/sda3 on /home type reiserfs (rw,noatime,nodiratime,noexec,nosuid,nodev,acl,user_xattr,notail,barrier=flush,commit=360,user)
/dev/sda7 on /usr/portage type reiserfs (rw,noatime,nodiratime,acl,user_xattr,notail,barrier=flush,commit=360)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,nodev,noexec,nosuid)
gvfs-fuse-daemon on /home/jeyk_g/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=jeyk_g)
»
- Для комментирования войдите или зарегистрируйтесь
man fstab прочитать
man fstab прочитать
Compute:
Bosch M2.8.1 -> custom Bosch M2.8.3 clone from Russia.
Speed about 260 km,Ram 2 pers.,HDD - 70 kg,210 FLOPS ;)
Решено
строку в fstab привел к виду: