This is the mail archive of the cygwin-patches@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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);

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]