When I install arch linux the first time, i did this to generate the fstab:
genfstab -U -p /mnt >> /mnt/etc/fstab
But, since I messed up, I re-installed arch linux and i saw the command to generate fstab has changed to:
genfstab -U -p /mnt | sed 's/rw,relatime,data=ordered/defaults,relatime/' >> /mnt/etc/fstab
Currently, i still stick with the old method of generating fstab.
Is this a mistake in the wiki (Beginner's guide)?
Or, is this for the better?
Last edited by milo64 (2013-02-15 09:17:41)
See the kernel documentation on data ordered:
http://www.kernel.org/doc/Documentation … s/ext4.txt
Essentially, it is a subset of defaults, so it makes more sense to have the generic entry cover more use cases (that's my interpretation anyway).
It might help you to know that the official Installation Guide just has
genfstab -p /mnt >> /mnt/etc/fstab
In other words, the authors of the (unofficial) beginners guide have added various options to the command that the arch developers do not consider necessary. It's up to you to decide which version is "for the better".
Last edited by tomk (2013-02-15 08:52:43)