This is the mail archive of the
mailing list for the Cygwin project.
Re: aux as filename
- From: Eric Blake <ebb9 at byu dot net>
- To: Francky Leyn <Francky at Leyn dot eu>
- Cc: cygwin at cygwin dot com
- Date: Mon, 25 Jun 2007 06:14:23 -0600
- Subject: Re: aux as filename
- References: <467F88EF.50909@Leyn.eu>
-----BEGIN PGP SIGNED MESSAGE-----
According to Francky Leyn on 6/25/2007 3:20 AM:
> Whatever cygwin command I issue on those aux.* files, it hangs.
> cp, find, mv, ls, and so on, they all "hang" whenever they encounter
> the first aux.* file. Perhaps this is because they use stat, and this
> underlying stat aux.* hangs.
You're not the first to discover this.
> Why is this? Could cygwin stat not handle this exception, so that
> all these commands no longer hang?
> Why does it hang? After all, the aux.* file is on
> an ISO 9660? file system, not on a NTFS file system.
By default, unless you use a managed mount, cygwin defers to Windows
filename parsing. If windows hangs on a special name (which it does on
aux), then so does cygwin, because deep down, cygwin is just a Windows
application. The aux filename is special to Windows no matter where it is
>> This is done in cygwin, using the notion of 'managed mounts'.
> Can someone explain me or give me a pointer to documentation
> how I can use this in my case?
In short, if you want to expand a tarball that contains a file such as
aux.c, or that has both foo and FOO, or any other problematic combination,
the easiest solution is to:
mount -o managed "`cygpath -am managed" managed
tar xvf problematic.tar
> How do we solve this? Due to this exception, I must copy everything
> manually for the moment. Time consuming, error prone, prehistorically,
> and not the UNIX blast I'm used to.
Or better yet, don't create such problematic names in the first place when
creating your DVD. And why aren't managed mounts the default? Because
they slow down processing (which is already slow, since cygwin is an
emulation layer), and they reduce the already short maximum file name
limitations imposed by Windows.
Don't work too hard, make some time for fun as well!
Eric Blake firstname.lastname@example.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html