Skip to content

Instantly share code, notes, and snippets.

@authmane512
Last active May 8, 2020 08:47

Revisions

  1. authmane512 revised this gist May 8, 2020. 1 changed file with 6 additions and 3 deletions.
    9 changes: 6 additions & 3 deletions fstab
    Original file line number Diff line number Diff line change
    @@ -10,7 +10,7 @@
    UUID=<UUID> / ext4 errors=remount-ro 0 1

    # swap
    /dev/mapper/MyVG-MySwapLV none swap sw 0 0
    /dev/mapper/MyVG-swapLV none swap sw 0 0

    # cd
    /dev/sr0 /media/cdrom0 udf,iso9660 user,noauto 0 0
    @@ -19,7 +19,10 @@ UUID=<UUID> / ext4 errors=remount-ro 0 1
    UUID=<UUID> /media/fat-part auto user,auto,umask=000 0 0

    # home
    /dev/mapper/MyVG-MyHomeLV /home ext4 auto 0 2
    /dev/mapper/MyVG-homeLV /home ext4 auto 0 2

    # var
    /dev/mapper/MyVG-MyVarLV /var ext4 auto 0 2
    /dev/mapper/MyVG-varLV /var ext4 auto 0 2

    # tmp
    /dev/mapper/MyVG-tmpLV /tmp ext4 auto 0 2
  2. authmane512 created this gist Jul 27, 2018.
    25 changes: 25 additions & 0 deletions fstab
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,25 @@
    # /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>

    # root
    UUID=<UUID> / ext4 errors=remount-ro 0 1

    # swap
    /dev/mapper/MyVG-MySwapLV none swap sw 0 0

    # cd
    /dev/sr0 /media/cdrom0 udf,iso9660 user,noauto 0 0

    # personnal FAT partition
    UUID=<UUID> /media/fat-part auto user,auto,umask=000 0 0

    # home
    /dev/mapper/MyVG-MyHomeLV /home ext4 auto 0 2

    # var
    /dev/mapper/MyVG-MyVarLV /var ext4 auto 0 2