This is the mail archive of the
cygwin-patches@cygwin.com
mailing list for the Cygwin project.
Patch 2: fix for mount -m command
- From: AJ Reins <reinsaj at yahoo dot com>
- To: cygwin-patches at cygwin dot com
- Date: Wed, 3 Sep 2003 17:32:01 -0700 (PDT)
- Subject: Patch 2: fix for mount -m command
2003-09-01 AJ Reins <reinsaj@yahoo.com>
* mount.cc (mount_commands): Add handling of option
managed.
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
2003-09-01 AJ Reins <reinsaj@yahoo.com>
* mount.cc (mount_commands): Add handling of option managed.
--- mount1.cc 2003-09-01 08:34:00.000000000 -0500
+++ mount2.cc 2003-09-01 08:37:00.000000000 -0500
@@ -422,6 +422,8 @@
strcat (opts, " -x");
if (strstr (p->mnt_opts, ",noexec"))
strcat (opts, " -E");
+ if (strstr (p->mnt_opts, ",managed"))
+ strcat (opts, " -o managed");
while ((c = strchr (p->mnt_fsname, '\\')) != NULL)
*c = '/';
printf (format_mnt, opts, p->mnt_fsname, p->mnt_dir);