diff --git a/winsup/utils/ChangeLog b/winsup/utils/ChangeLog index 27477891e..081844258 100644 --- a/winsup/utils/ChangeLog +++ b/winsup/utils/ChangeLog @@ -1,3 +1,7 @@ +2005-05-13 Christopher Faylor + + * mount.cc (mount_commands): Display "-X" option when appropriate. + 2005-05-08 Christopher Faylor * cygcheck.cc (nuke): New function. @@ -21,10 +25,6 @@ * path.cc (getmntent): Add previously-omitted 'noexec' and 'managed' flags to mnt_opts string if present in mount flags. -2005-04-25 Christopher Faylor - - * mount.cc (mount_commands): Display "-X" option when appropriate. - 2005-04-20 Brian Dessent * utils.sgml (mount): Clarify setting cygdrive prefix for user diff --git a/winsup/utils/mount.cc b/winsup/utils/mount.cc index 89220f20f..4a874b566 100644 --- a/winsup/utils/mount.cc +++ b/winsup/utils/mount.cc @@ -423,6 +423,8 @@ mount_commands (void) strcat (opts, " -x"); if (strstr (p->mnt_opts, ",noexec")) strcat (opts, " -E"); + if (strstr (p->mnt_opts, ",cygexec")) + strcat (opts, " -X"); if (strstr (p->mnt_opts, ",managed")) strcat (opts, " -o managed"); while ((c = strchr (p->mnt_fsname, '\\')) != NULL)