Nikos Chantziaras <rea...@arcor.de> posted gt7r28$cq...@ger.gmane.org,
excerpted below, on  Wed, 29 Apr 2009 00:05:33 +0300:

> I have "defaults,noatime" and yet mount reports:
> 
> /dev/root on / type ext4 (rw,noatime,barrier=1,data=ordered)
> 
> Where does "rw,barrier=1,data=ordered" come from if not from "defaults"?

Those (but for rw which is the normal default) are defaults of either
the kernel or the filesystem itself, as set at mkfs time or with tune2fs.

There's really quite a hierarchy of options and fall-thru defaults:

Anything set on the mount commandline takes priority (well, after 
physical properties such as read-only for CDROM and floppies with write-
protect set),

followed by what's in fstab or the hal config,

followed by options set for that particular filesystem at mkfs time or 
with the filesystem tuner (tun2fs, reiserfstune, whatever),

followed by kernel defaults specific to that type of fs (ext3 defaulted 
to data=ordered but that's set to change to data=writeback in 2.6.30, 
after some fixes they've done but it's still rather controversial), 

followed by mount's normal defaults.

-- 
Duncan - List replies preferred.   No HTML msgs.
"Every nonfree program has a lord, a master --
and if you use the program, he is your master."  Richard Stallman


Reply via email to