On Tue, Dec 28, 2010 at 7:50 AM, Mick <[email protected]> wrote:
> What is the meaning of Opts: (null) ?

My guess is that it is showing the default mount options as stored in
the partition's superblock (set by tune2fs -o xxxxx). You can view the
current default mount options by using "tune2fs -l /dev/sda1" (or
whatever your partition is). Options given on mount commandline (or in
fstab) should override the superblock mount options.

My dmesg shows (null) as yours does, and tune2fs shows me:
Default mount options:    (none)

> All ext4 partitions were created with a number of options; e.g.
>
> Filesystem features:      has_journal ext_attr resize_inode dir_index filetype
> needs_recovery extent flex_bg sparse_super large_file uninit_bg dir_nlink
> extra_isize

Those are characteristics of your filesystem but I don't think they
are considered mount options in this context.

> but default mount options are shown as:
>
> Default mount options:    (none)
>
> Should I be defining something in fstab?  (currently I only have noatime).

You can view the actual mount options currently in use by doing  "cat
/proc/mounts"

In my fstab I have "defaults,noatime" for my rootfs and in
/proc/mounts it shows as:

/dev/root / ext4 rw,noatime,barrier=1,data=ordered 0 0

which looks correct to me.

Reply via email to