This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: UNC and POSIX paths
- From: Dan Kegel <dank at kegel dot com>
- To: cygwin at cygwin dot com
- Date: Mon, 17 Jun 2013 07:52:16 -0700
- Subject: Re: UNC and POSIX paths
- References: <003501ce6b5f$b41f2c10$1c5d8430$%fedin at samsung dot com>
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