Last active
April 8, 2018 02:27
-
-
Save diyan/9abbdf2e2a71b066e411a8d542dad4ca to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ cat /etc/fstab | |
# | |
# /etc/fstab: static file system information | |
# | |
# <file system> <dir> <type> <options> <dump> <pass> | |
LABEL=EFI /boot vfat defaults,noatime,discard 0 1 | |
/dev/mapper/vgcrypt-root / ext4 defaults,noatime,discard 0 1 | |
/dev/mapper/vgcrypt-home /home ext4 defaults,noatime,discard 0 2 | |
# See https://wiki.archlinux.org/index.php/Mac#Yosemite_and_later | |
# fdisk reports that physical sector size is 512 bytes and Apple Core storage partition took 196037544 sectors. | |
# testdisk reports that HFS+ partition took 195312496 sectors. | |
# sizelimit mount option should be calculated num of sectors as reported by testdisk * sector size: | |
# 195312496 * 512 = 99999997952 | |
# Command below can be used to test that mount works: | |
# $ sudo mount -t hfsplus -o ro,sizelimit=99999997952 /dev/sda2 /mnt/mac | |
LABEL=Macintosh\040HD /mnt/mac hfsplus ro,sizelimit=99999997952 0 0 | |
/swapfile none swap defaults 0 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment