# FSTAB. See man fstab for more. Remember to use nofail option with # systemd, or it will fail to boot if it cannot mount the drives. /dev/sda3 / ext4 rw,noatime,data=ordered 0 1 /dev/sda2 /mnt/deb ext4 noatime,noauto,nofail,ro,user 0 0 /dev/sdb7 /mnt/oldd ext4 noatime,noauto,nofail,ro,user 0 0 /dev/sdb5 /mnt/olda ext3 noatime,noauto,nofail,ro,user 0 0 /dev/sdb8 /mnt/home ext3 noatime,noauto,nofail,rw,user,exec 0 0 # NTFS-3G and vfat, with per user permissions, install ntfs-3g to use. # To (u)mount ntfs as user, install ntfs-3g-fuse instead (aur), use users # option instead of user, and add yourself to group disk (may require reboot). /dev/sdb9 /mnt/storage ntfs-3g ro,uid=1002,gid=100,fmask=133,dmask=022,users 0 0 /dev/sda1 /mnt/win7 ntfs-3g ro,uid=1002,gid=100,fmask=133,dmask=022,users,noauto 0 0 /dev/sdb1 /mnt/winx ntfs-3g rw,uid=1002,gid=100,fmask=133,dmask=022,users,noauto 0 0 /dev/sdc1 /mnt/usb vfat ro,uid=1002,gid=100,fmask=133,dmask=022,user,noauto 0 0 /dev/sr0 /mnt/cd udf,iso9660 ro,user,noauto,unhide 0 0 # SSHFS, using keys and proper permissions, can be automounted (/noauto/auto/). # To use, install sshfs, set up keys and known hosts (as the desired user). # On older systems you still have to use fusermount -u instead of umount. # If permissions are mismatched across hosts (uid/gid), add idmap=user. #reverie@incursion:/mnt /mnt/incursion fuse.sshfs defaults,user,noauto,_netdev,allow_other,default_permissions,uid=1002,gid=100,identityfile=/home/reverie/.ssh/id_rsa 0 0 #reverie@incursion:/srv/http /mnt/web fuse.sshfs defaults,user,noauto,_netdev,allow_other,default_permissions,uid=1002,gid=100,identityfile=/home/reverie/.ssh/id_rsa 0 0 # CIFSFS, with traditional sharing (guest) and user permissions/mode, to use install # smbclient cifs-utils, use user= and password= for normal shares instead of guest. # Drop any of nounix,uid,gid,file_mode,dir_mode to revert to advanced permissions. # Use \040 for share names with spaces in them. //incursion/Web /mnt/web cifs noauto,rw,users,guest,nounix,uid=1002,gid=100,file_mode=0644,dir_mode=0755 0 0 //incursion/Torrents /mnt/torrents cifs noauto,ro,users,guest,nounix,uid=1002,gid=100,file_mode=0644,dir_mode=0755 0 0 //incursion/Upload /mnt/upload cifs noauto,rw,users,guest,nounix,uid=1002,gid=100,file_mode=0644,dir_mode=0755 0 0 # Legacy NFS and sample /etc/exports entry. #host:/mnt /mnt/host nfs rw,hard,intr,rsize=8192,wsize=8192,noauto,async,user 0 0 #/mnt *(ro,async,root_squash,no_subtree_check) host(rw,async,no_root_squash,no_subtree_check)