Wild card to address drives

Hans-Bernhard Bröker HBBroeker@t-online.de
Thu Jul 18 16:09:00 GMT 2019


Am 18.07.2019 um 10:03 schrieb Fergus Daly:
> I have 
> none / cygdrive binary 0 0
> as the only line in the file /etc/fstab to allow for example
> $ ls /h/config.sys
> instead of the long-hand
> $ ls /cygdrive/h/config.sys

And that's precisely your problem.  You've now overlaid two mount points
onto /: the cygdrive tree, and the normal Cygwin root mount.

Without this, your command would have worked just fine.

> In Linux I can type something like
> ls /?/ -Ax 
> as a wild card to address ALL drives, 

Not really, as there is no such thing as "drives" on Linux.  The above
will list all directories under / that have single letters as their name
--- whether those be mounted filesystems, or ordinary directories.

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