1.7.6-1: mount -p and mount --show-cygdrive-prefix broken in latest release

Brian Kelly reedfish@ix.netcom.com
Sat Aug 21 19:23:00 GMT 2010


I have a script that relies on these mount options to discover how the prefix is set. I did an upgrade a couple days ago, and the script broke. Looking in the log, I discovered the following error:

$ mount -p
mount: invalid option - ''

You get the same error when I tried the other argument:

$ mount --show-cygdrive-prefix
mount: invalid option - ''

This behavior is seen in the straight bash environment, outside of my script. Apparently with the latest update. I noticed mount work was done in this release New Cygwin DLL 1.7.6-1 release:

- Add new mount options "dos" and "ihash" to allow overriding Cygwin
  default behaviour on broken filesystems not recognized by Cygwin.
  See http://cygwin.com/cygwin-ug-net/using.html#mount-table
  and http://cygwin.com/cygwin-ug-net/using-utils.html#mount

- Add new mount option "bind" to allow remounting parts of the POSIX file
  hirarchy somewhere else.
  See http://cygwin.com/cygwin-ug-net/using.html#mount-table
  and http://cygwin.com/cygwin-ug-net/using-utils.html#mount

If this option was removed, the man page is not reflecting it, and user documentation is not reflecting it.

Output from cygcheck -s -v -r > cygcheck.out is attached.

Thanks

-------------- next part --------------
A non-text attachment was scrubbed...
Name: cygcheck.out
Type: application/octet-stream
Size: 312108 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20100821/7157f03e/attachment.obj>
-------------- next part --------------
--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


More information about the Cygwin mailing list