[PATCH]Change mount utility to write commands (TODO 20000704.101353)

Michael A. Chase mchase@ix.netcom.com
Sun Apr 8 20:26:00 GMT 2001


The patch to winsup/utils/mount.cc adds function mount_commands().  The
resulting output works with the new mount and the one in the current binary
distribution both as a shell script and as a batch file.

I noticed that mount and umount don't include the help option, so I added it
to both.
--
Mac :})
Give a hobbit a fish and he'll eat fish for a day.
Give a hobbit a ring and he'll eat fish for an age.


-------------- next part --------------
2001-04-08  Michael A Chase <mchase@ix.netcom.com>

    * umount.cc (longopts): Add help to options list.
    * mount.cc (longopts): Add help and mount-commands to options list.
               (usage): Add option mount-commands.
               (mount_commands): Add function.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: mount.cc-patch
Type: text/x-diff
Size: 3816 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-patches/attachments/20010408/25d7b3b9/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: umount.cc-patch
Type: text/x-diff
Size: 509 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-patches/attachments/20010408/25d7b3b9/attachment-0001.bin>


More information about the Cygwin-patches mailing list