Re: mount options for root

Stephen C. Tweedie (sct@redhat.com)
Mon, 12 Jul 1999 15:49:12 +0100 (BST)


Hi,

On Fri, 09 Jul 1999 15:09:45 +0200, Matthias Riese <mri@megatel.de>
said:

> /*
> * 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?

That comment appears to be obsolete. We pass the "data" field all the
way from the mount syscall to the filesystem remount method, and
ext2_remount certaily reparses it, so there should be no problem
accepting fs-specific options in a remount.

--Stephen

-
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/