* mount.cc (do_mount): Remove MOUNT_ENC code.

(oopts): Remove "managed" option.
	(mount_commands): Drop "managed" handling.
	* path.cc (oopts): Remove "managed" option.
	(getmntent): Remove MOUNT_ENC code.
This commit is contained in:
Corinna Vinschen
2008-07-17 15:07:48 +00:00
parent 5fc03e3d73
commit 874149c80c
3 changed files with 10 additions and 27 deletions

View File

@ -298,8 +298,7 @@ struct opt
{"exec", MOUNT_EXEC, 0},
{"notexec", MOUNT_NOTEXEC, 0},
{"cygexec", MOUNT_CYGWIN_EXEC, 0},
{"nosuid", 0, 0},
{"managed", MOUNT_ENC, 0}
{"nosuid", 0, 0}
};
static bool
@ -843,8 +842,6 @@ getmntent (FILE *)
strcat (mnt.mnt_opts, (char *) ",exec");
else if (m->flags & MOUNT_NOTEXEC)
strcat (mnt.mnt_opts, (char *) ",noexec");
if (m->flags & MOUNT_ENC)
strcat (mnt.mnt_opts, ",managed");
if ((m->flags & MOUNT_CYGDRIVE)) /* cygdrive */
strcat (mnt.mnt_opts, (char *) ",cygdrive");
mnt.mnt_freq = 1;