You are not logged in.

#1 2013-02-15 06:38:41

milo64
Banned
From: Chiang Mai, Thailand
Registered: 2013-01-18
Posts: 86
Website

[SOLVED] genfstab changes

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)


milo64.
Registered Linux User: #555436
My Blog @ http://milo64.blogspot.com/

Offline

#2 2013-02-15 08:34:20

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [SOLVED] genfstab changes

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).


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2013-02-15 08:45:17

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: [SOLVED] genfstab changes

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)

Offline

#4 2013-02-15 09:17:15

milo64
Banned
From: Chiang Mai, Thailand
Registered: 2013-01-18
Posts: 86
Website

Re: [SOLVED] genfstab changes

thanx


milo64.
Registered Linux User: #555436
My Blog @ http://milo64.blogspot.com/

Offline

Board footer

Powered by FluxBB