[PATCH]Write Mount Commands
Michael A. Chase
mchase@ix.netcom.com
Mon Sep 3 12:37:00 GMT 2001
Here's the patch to mount to tell it to write the commands needed to
re-create the current mount table.
Users of Win9x might be confused if they create the commands from a bash
prompt and then try to run the resulting file from command.com. In my
system (which has binary mount points),
mount -m > file
produced a file with NL line endings which command.com chokes on. Running
the same command from the MSDOS prompt produced a file with CRLF line
endings.
--
Mac :})
Give a hobbit a fish and he eats fish for a day.
Give a hobbit a ring and he eats fish for an age.
Changelog:
2001-09-03 Michael A Chase <mchase@ix.netcom.com>
* mount.cc (longopts): Add mount-commands to options list.
(usage): Add mount-commands option.
(mount_commands): New function writes commands to recreate
current mounts.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mount.cc-patch
Type: text/x-diff
Size: 3574 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-patches/attachments/20010903/eaae0d8b/attachment.bin>
More information about the Cygwin-patches
mailing list