diff options
Diffstat (limited to 'core/configure.html')
-rw-r--r-- | core/configure.html | 59 |
1 files changed, 22 insertions, 37 deletions
diff --git a/core/configure.html b/core/configure.html index a7a42f5..008afbe 100644 --- a/core/configure.html +++ b/core/configure.html @@ -220,48 +220,33 @@ </pre> <p>Read <a href="http://linux-audit.com/securing-mount-points-on-linux/" title="Securing mount points">Securing mount points</a>, - and edit /etc/fstab according to your disk layout. Blocks with uuid will later be created at lvm</p> + and edit /etc/fstab according to your disk layout. Blocks with uuid will later be created at <a href="../tools/lvm.html">lvm</a>.</p> - <pre> - # - # /etc/fstab: static file system information - # - # <file system> <dir> <type> <options> <dump> <pass> - - #/dev/#EXT4FS_ROOT# / ext4 defaults 0 1 - #/dev/#BTRFS_ROOT# / btrfs defaults 0 0 - #/dev/#XFS_ROOT# / xfs defaults 0 0 - #/dev/#SWAP# swap swap defaults 0 0 - #/dev/#EXT4FS_HOME# /home ext4 defaults 0 2 - #/dev/#BTRFS_HOME# /home btrfs defaults 0 0 - #/dev/#XFS_HOME# /home xfs defaults 0 0 - #/dev/cdrom /cdrom iso9660 ro,user,noauto,unhide 0 0 - #/dev/dvd /dvd udf ro,user,noauto,unhide 0 0 - #/dev/floppy/0 /floppy vfat user,noauto,unhide 0 0 - #tmp /tmp tmpfs defaults 0 0 - #shm /dev/shm tmpfs defaults 0 0 - #usb /proc/bus/usb usbfs defaults 0 0 - - /dev/sda3 / ext4 defaults,noatime,ro 0 1 - devpts /dev/pts devpts noexec,nosuid,gid=tty,mode=0620 0 0 - /dev/sda2 /boot ext4 defaults,ro,noatime 0 0 - /dev/sda1 /boot/efi vfat ro,noauto,umask=0077 0 0 - /dev/sda4 /var ext4 defaults,nodev,noexec,nosuid,errors=remount-ro 0 0 - /dev/sda5 /usr ext4 defaults,ro,nodev,errors=remount-ro 0 0 - - UUID=66c083d6-b8f2-4a98-ae55-9412f98cc089 /usr/ports ext4 defaults,ro,nodev,errors=remount-ro 0 0 - pkgmk /usr/ports/work tmpfs size=30G,gid=101,uid=100,defaults 0 0 - UUID=36e9e1d5-8356-451e-a301-81098b9a15ea /srv ext4 defaults,nodev,errors=remount-ro 0 0 - UUID=cd15196a-69f1-4fb4-9730-a384c62add91 /home ext4 defaults,nodev,nosuid,errors=remount-ro 0 0 - #UUID=04f07488ce7b36205acc6d404dcf924643660ac5 + <p>Pass option control in wich order fsck checks devices. If is + a multiple partition scheme; 1 for root, 2 for others or 0 to + disable fsck. In this example fsck in usr partition is disable, + initram file system mounted on boot making impossible to run fsck.</p> + <pre> + /dev/sda3 / ext4 defaults,noatime,ro 0 1 + # usr is not checked because is already mounted by init ram (to be fixed). + UUID=20bd3948-0877-4192-af52-ad87d6f96db0 /usr ext4 defaults,ro,nodev,errors=remount-ro 0 0 + devpts /dev/pts devpts noexec,nosuid,gid=tty,mode=0620 0 0 + none /sys/kernel/security securityfs defaults 0 0 + devpts /dev/pts devpts noexec,nosuid,gid=tty,mode=0620 0 0 + shm /dev/shm tmpfs defaults 0 0 + tmp /tmp tmpfs defaults,noatime,nosuid,nodev,noexec,size=128M 0 0 + UUID=3b408790-65e1-4638-9591-7ba61f266913 /boot ext4 defaults,ro,noatime 0 2 + UUID=962D-0DE1 /boot/efi vfat ro,noauto,umask=0077 0 2 + UUID=f2336a56-fbe6-444c-bdbf-f0e6c209c237 /var ext4 defaults,nodev,noexec,nosuid,errors=remount-ro 0 2 + UUID=66c083d6-b8f2-4a98-ae55-9412f98cc089 /usr/ports ext4 defaults,ro,nodev,errors=remount-ro 0 2 + pkgmk /usr/ports/work tmpfs size=30G,gid=101,uid=100,defaults 0 2 + UUID=36e9e1d5-8356-451e-a301-81098b9a15ea /srv ext4 defaults,nodev,errors=remount-ro 0 2 + UUID=cd15196a-69f1-4fb4-9730-a384c62add91 /home ext4 defaults,nodev,nosuid,errors=remount-ro 0 2 + #UUID=04f07488ce7b36205acc6d404dcf924643660ac5 /usr/ports/distfiles ext4 defaults,ro,nodev,errors=remount-ro 0 2 # End of file </pre> - <p>Pass option control in wich order fsck checks devices. If is - a multiple partition scheme; 1 for root, 2 for others or 0 to - disable.</p> - <h2 id="rcconf">1.2.6. Initialization Scripts</h2> <p>Edit /etc/rc.conf and define keyboard layout, hostname and timezone, |