liumiuyong
1/18/2017 - 6:33 AM

fstab

fstab

liumiuyong@skynas:/$ 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>
/dev/mapper/ubuntu--vg-root /               ext4    errors=remount-ro 0       1
# /boot was on /dev/sda1 during installation
UUID=d67d76a7-861b-46fc-9a08-12e3978eacdb /boot           ext2    defaults        0       2
/dev/mapper/ubuntu--vg-swap_1 none            swap    sw              0       0
/dev/disk/by-id/wwn-0x5000c500928ae522-part1 /mnt/disk2 auto nosuid,nodev,nofail,x-gvfs-show,x-gvfs-name=segdisk2 0 0
//192.168.31.1/XiaoMi /mnt/xiaomi cifs username=guest,iocharset=utf8,file_mode=0777,dir_mode=0777 0 0