Jan Engelhardt wrote:
Linux is not Cygwin.
Cygwin is being POSIX compliant in preserving the '//' and passing it to the OS. I was wondering if Linux could provide callout support for // (if it doesn't already).. so it could be vectored to autofs which could automount whatever you wanted CIFS/NFS...etc.... Does linux remove // from the paths before passing them to drivers? That would likely be a case of posix incompatibility (std. disclaimer -- I generally detest posix in its later forms (post 2002) where it goes beyond it's initial charter to be "descriptive and not prescriptive".) But the below dates to old posix, so I'm not going to complain...;-) 3.269 Path Prefix The part of a pathname up to, but not including, the last component and any trailing <slash> characters, unless the pathname consists entirely of <slash> characters, in which case the path prefix is '/' for a pathname containing either a single <slash> or three or more <slash> characters, and '//' for the pathname //. ---- Note, my inital post saying that 3 or more slashes = 1 slash was correct. But 2 '//' are special in POSIX -- even BASH won't remove them. I.e. if you cd /// --you get / if you cd //, you get // as your pwd: Ishtar:/> pwd / Ishtar:/> cd // Ishtar://> pwd // -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org