* 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:
parent
e951743709
commit
f7c246620d
|
@ -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>
|
2009-05-13 Corinna Vinschen <corinna@vinschen.de>
|
||||||
Christopher Faylor <me+cygwin@cgf.cx>
|
Christopher Faylor <me+cygwin@cgf.cx>
|
||||||
|
|
||||||
|
|
|
@ -308,7 +308,7 @@ mount_info::create_root_entry (const PWCHAR root)
|
||||||
char native_root[PATH_MAX];
|
char native_root[PATH_MAX];
|
||||||
sys_wcstombs (native_root, PATH_MAX, root);
|
sys_wcstombs (native_root, PATH_MAX, root);
|
||||||
mount_table->add_item (native_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.
|
/* Create a default cygdrive entry. Note that this is a user entry.
|
||||||
This allows to override it with mount, unless the sysadmin created
|
This allows to override it with mount, unless the sysadmin created
|
||||||
a cygdrive entry in /etc/fstab. */
|
a cygdrive entry in /etc/fstab. */
|
||||||
|
@ -859,6 +859,7 @@ struct opt
|
||||||
} oopts[] =
|
} oopts[] =
|
||||||
{
|
{
|
||||||
{"acl", MOUNT_NOACL, 1},
|
{"acl", MOUNT_NOACL, 1},
|
||||||
|
{"auto", 0, 0},
|
||||||
{"binary", MOUNT_BINARY, 0},
|
{"binary", MOUNT_BINARY, 0},
|
||||||
{"cygexec", MOUNT_CYGWIN_EXEC, 0},
|
{"cygexec", MOUNT_CYGWIN_EXEC, 0},
|
||||||
{"exec", MOUNT_EXEC, 0},
|
{"exec", MOUNT_EXEC, 0},
|
||||||
|
|
Loading…
Reference in New Issue