Difference between revisions of "/etc/fstab"
Jump to navigation
Jump to search
Line 17: | Line 17: | ||
/etc/fstab | /etc/fstab | ||
UUID=4f724150-4b94-11e9-b2d3-5254001d0c45 / ext4 defaults 0 1 | UUID=4f724150-4b94-11e9-b2d3-5254001d0c45 / ext4 defaults 0 1 | ||
− | UUID=9169c71d-fa53-439f-a9fd-ae32c2f35566 /home ext4 noauto,x-systemd.automount 0 2 | + | [[UUID]]=9169c71d-fa53-439f-a9fd-ae32c2f35566 /home ext4 noauto,x-systemd.automount 0 2 |
− | [[/swap.img]] none swap sw 0 0 | + | [[/swap.img]] none [[swap]] sw 0 0 |
Revision as of 07:41, 23 August 2023
Defautlt multipass Ubuntu 20.04 LTS /etc/fstab
file
cat /etc/fstab LABEL=cloudimg-rootfs / ext4 defaults 0 0 LABEL=UEFI /boot/efi vfat defaults 0 0
cat /etc/fstab LABEL=cloudimg-rootfs / ext4 defaults 0 0 LABEL=UEFI /boot/efi vfat defaults 0 0 none /run tmpfs defaults,size=256M 0 0
/etc/fstab UUID=4f724150-4b94-11e9-b2d3-5254001d0c45 / ext4 defaults 0 1 UUID=9169c71d-fa53-439f-a9fd-ae32c2f35566 /home ext4 noauto,x-systemd.automount 0 2 /swap.img none swap sw 0 0
/etc/fstab ... /dev/nvme1n1 /path/to/mount xfs defaults 0 0
Related terms
- UUID:
blkid -s UUID -o value /dev/nvme1n1
- swap: swapon -s
mount
: mount options,mount -a
/etc/mntab
ansible.posix.mount
Nofail: do not report errors for this device if it does not exist.
See also
- File systems:
mount
,umount
,findmnt
,find
,swapon
,swapoff
,UUID, blkid
, mount options:/etc/fstab
,udisksctl mount
,guestmount
,/proc/mounts
,fstrim
,systemd-mount
,defaults
- File systems:
ext4
,XFS
,ZFS
,btrfs
,wipefs
,findfs
,HDFS
,overlay
,aufs
,virt-filesystems
, Windows: (FAT, NTFS, ReFS), GPFS, squashfs, Ecryptfs, Encfs, FUSE, VMFS, Comparison of distributed file systems, Userspace filesystem, Resize filesystem size
Advertising: