This was my first trial, but I could not get it working.
I would have to change code in VFS. But:
/*
* Alters the mount flags of a mounted file system. Only the mount point
* is used as a reference - file system type and the device are ignored.
* FS-specific mount options can't be altered by remounting.
*/
static int do_remount_sb(struct super_block *sb, int flags, char *data)
Seems to be a bad idea to change mount options this way?
So I left my hands off.
> $ cat /etc/mtab
> /dev/sda3 / ext2 rw,errors=remount-ro 0 0
Yes, got this too, but without the option actually enabled.
Seems to be a bug. vfsmnt entries (or whatever /etc/mtab is written from) get updated - but not the superblock.
Matthias Riese
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/