This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: UNC and POSIX paths


On Mon, Jun 17, 2013 at 6:36 AM, Fedin Pavel wrote:
>  I decided to pay attention to one more problem. Lots of not very well
> written configure scripts and makefiles like to access things like
> '//usr/bin'. Under Cygwin this causes problem because Cygwin treats '//' in
> Windows-style as access to network shares.
>  What if we change this ? We could have a mount entry, something like '/unc'
> (or /smb, /net, whatever) and access it like '/smb/computername/sharename'.
> I think this would improve POSIX compatibility a lot.

It'd be interesting to find out how many such scripts there are.
Have you tried looking for them, e.g. by hooking open()
( http://stackoverflow.com/questions/880263/how-can-i-detect-file-accesses-in-linux
)
and logging them while doing something big (like rebuilding a linux distro,
or building all your company's linux software)?
- Dan

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]