Last active
September 17, 2020 21:33
-
-
Save vijinho/ba2bfbaed68a52d296fcb47d46a4dd2d to your computer and use it in GitHub Desktop.
/etc/fstab example with different filesystems
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# /etc/fstab: static file system information. | |
# <file system> <mount point> <type> <options> <dump> <pass> | |
UUID=XXXX-XXXX /boot/efi vfat umask=0077,x-gvfs-show,x-gvfs-name=EFI 0 0 | |
UUID=XXXXX /mnt/f2fs f2fs rw,relatime,lazytime,background_gc=on,discard,no_heap,user_xattr,inline_xattr,inline_data,inline_dentry,flush_merge,extent_cache,mode=adaptive,active_logs=6,alloc_mode=default,fsync_mode=posix,background_gc=on,user_xattr,x-gvfs-show,x-gvfs-name=PopOs 0 0 | |
UUID=XXXXX /mnt/ext4 ext4 nofail,noatime,nodiratime,discard,commit=90,max_batch_time=50022,min_batch_time=5000,journal_ioprio=0,errors=remount-ro,x-gvfs-show,x-gvfs-name=data 0 0 | |
UUID=XXXX-XXXX /mnt/exfat exfat nofail,noatime,nodiratime,rw,allow_utime=2,nosuid,nodev,umask=0022,dmask=0022,uid=1000,gid=1000,user,x-gvfs-show,x-gvfs-name=data 0 0 | |
UUID=XXXXXXXXXXXXXX /mnt/ntfs ntfs-3g nofail,rw,relatime,umask=0022,user_id=1000,group_id=1000,user,allow_other,big_writes,lazytime,windows_names,noatime,nodiratime,x-gvfs-show,x-gvfs-name=data2-ntfs,nosuid,nodev,nls=utf8 0 0 | |
/dev/disk/by-uuid/XXXXXX /mnt/apfs auto nofail,nosuid,nodev,x-gvfs-show,x-gvfs-name=APPLE,x-gvfs-icon=apfs,x-gvfs-symbolic-icon=apfs 0 0 | |
UUID=XXXXXXXXXXX /mnt/btrfs btrfs auto,nosuid,nodev,nofail,noatime,noacl,nossd,x-gvfs-show,compress=zstd:3,x-gvfs-name=DATA 0 0 | |
/dev/mapper/cryptswap none swap defaults 0 0 | |
UUID=XXXXXXXXXX none swap defaults 0 0 | |
UUID=XXXXXX /mnt/data4 xfs nofail,noatime,nodiratime,rw,x-gvfs-show,x-gvfs-name=data 0 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment