* mount.cc (oopts): Add a no-op "auto" option.

(mount_info::create_root_entry): Set root dir to MOUNT_IMMUTABLE rather
	than to MOUNT_OVERRIDE.
This commit is contained in:
Corinna Vinschen 2009-05-14 09:56:45 +00:00
parent e951743709
commit f7c246620d
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2009-05-14 Corinna Vinschen <corinna@vinschen.de>
* mount.cc (oopts): Add a no-op "auto" option.
(mount_info::create_root_entry): Set root dir to MOUNT_IMMUTABLE rather
than to MOUNT_OVERRIDE.
2009-05-13 Corinna Vinschen <corinna@vinschen.de>
Christopher Faylor <me+cygwin@cgf.cx>

View File

@ -308,7 +308,7 @@ mount_info::create_root_entry (const PWCHAR root)
char native_root[PATH_MAX];
sys_wcstombs (native_root, PATH_MAX, root);
mount_table->add_item (native_root, "/",
MOUNT_SYSTEM | MOUNT_BINARY | MOUNT_OVERRIDE | MOUNT_AUTOMATIC);
MOUNT_SYSTEM | MOUNT_BINARY | MOUNT_IMMUTABLE | MOUNT_AUTOMATIC);
/* Create a default cygdrive entry. Note that this is a user entry.
This allows to override it with mount, unless the sysadmin created
a cygdrive entry in /etc/fstab. */
@ -859,6 +859,7 @@ struct opt
} oopts[] =
{
{"acl", MOUNT_NOACL, 1},
{"auto", 0, 0},
{"binary", MOUNT_BINARY, 0},
{"cygexec", MOUNT_CYGWIN_EXEC, 0},
{"exec", MOUNT_EXEC, 0},