Difference between revisions of "/etc/fstab"

From wikieduonline
Jump to navigation Jump to search
 
Line 3: Line 3:
  
 
* Multipass [[Ubuntu 22.04.2 LTS]] ([[jammy]])
 
* Multipass [[Ubuntu 22.04.2 LTS]] ([[jammy]])
  LABEL=cloudimg-rootfs / ext4 discard,[[errors=]]remount-ro 0 1
+
  [[LABEL]]=cloudimg-rootfs / ext4 discard,[[errors=]]remount-ro 0 1
 
  LABEL=UEFI [[/boot/efi]] vfat umask=0077 0 1
 
  LABEL=UEFI [[/boot/efi]] vfat umask=0077 0 1
  

Latest revision as of 11:47, 25 October 2024

wikipedia:fstab file included in the util-linux package. (man)


LABEL=cloudimg-rootfs	/	 ext4	discard,errors=remount-ro	0 1
LABEL=UEFI	/boot/efi	vfat	umask=0077	0 1


Defautlt multipass Ubuntu 20.04 LTS /etc/fstab file

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[edit]

See also[edit]

Advertising: