Skip to content

Instantly share code, notes, and snippets.

@wangjiezhe
Created July 23, 2024 02:51
Show Gist options
  • Save wangjiezhe/1bbf911da1e345cbddb28a52212d1d61 to your computer and use it in GitHub Desktop.
Save wangjiezhe/1bbf911da1e345cbddb28a52212d1d61 to your computer and use it in GitHub Desktop.
# /etc/fstab: static file system information.
#
# See the manpage fstab(5) for more information.
#
# NOTE: The root filesystem should have a pass number of either 0 or 1.
# All other filesystems should have a pass number of 0 or greater than 1.
#
# NOTE: Even though we list ext4 as the type here, it will work with ext2/ext3
# filesystems. This just tells the kernel to use the ext4 driver.
#
# NOTE: You can use full paths to devices like /dev/sda3, but it is often
# more reliable to use filesystem labels or UUIDs. See your filesystem
# documentation for details on setting a label. To obtain the UUID, use
# the blkid(8) command.
# <fs> <mountpoint> <type> <opts> <dump> <pass>
/dev/sda1 /boot ext2 defaults 1 2
/dev/sda2 none swap sw 0 0
/dev/sda3 / ext4 defaults 0 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment