On Wednesday, April 23, 2025 at 10:08:52 AM EDT, Fergus Daly via Cygwin <cygwin@cygwin.com> wrote: > For years I have overwritten the content of the default /etc/fstab with the > one-liner > none / cygdrive binary 0 0 > thus allowing drivenames of the style /d/ instead of /cygdrive/d/ > which syntax is (2nd) shorter but mainly (1st) easily mimics Linux syntax > making scripts > mutually transferable. > However using the syntax /?/ to address all drives as in (say) > $ rm -vrf /?/today/tmp > or all similar, fails. Is there a way to render /?/ intelligible to Cygwin > (maybe by rewriting /etc/fstab, again)?
localhost:~ >cat /etc/fstab: c: /c some_fs binary,noacl,user 0 0 c: /cauto some_fs binary,acl,user 0 0 d: /d some_fs binary,noacl,user 0 0 e: /e some_fs binary,noacl,user 0 0 f: /f some_fs binary,noacl,user 0 0 g: /g some_fs binary,noacl,user 0 0 h: /h some_fs binary,noacl,user 0 0 k: /k some_fs binary,noacl,user 0 0 n: /n some_fs binary,noacl,user 0 0 v: /v some_fs binary,noacl,user 0 0 x: /x some_fs binary,noacl,user 0 0 localhost:~ >ls -d /?/tmp /c/tmp/ /e/tmp/ Inelegant but it seems to work. Kevin -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple