X-Spam-Check-By: sourceware.org Message-ID: <452103B5.2080406@byu.net> Date: Mon, 02 Oct 2006 06:19:01 -0600 From: Eric Blake User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.7) Gecko/20060909 Thunderbird/1.5.0.7 Mnenhy/0.7.4.666 MIME-Version: 1.0 To: cygwin AT cygwin DOT com, franki2006 AT hotmail DOT com Subject: Re: Problems with archiver "ar" References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 According to Frank Illenseer on 10/2/2006 2:51 AM: > > C:\DATA\myProject\solution1 > > so I tried (taking your mount as reference) > > mount -f -u -t "C:\DATA\myProject\solution1" > "/cygdrive/c/DATA/myProject/solution1" Don't mount to /cygdrive/c/DATA/; mount points to a subdirectory of /cygdrive don't really do any good, because the path resolution does not look for mount points residing inside /cygdrive. Instead, mount c:\data\myproject to a POSIX path (ie. something like /myProject). > > but indeed the directory of interest seems to work in binmode. > I need the directory in the "surrounding" of the other directories, i.e. > relative paths are required. If just one subdirectory needs to be text, relative to others that are binary, then it may be worth mounting those others as well to preserve your desired relative hierarchy. > PS: The problem with "ar" is still there and I think (as Eric pointed > out) that "ar" is not correctly reading in binmode/textmode. Once I > solved the mounting problems, I will do some more tests with "ar". What more needs to be tested? Until cgf releases a new binutils with an update to ar that forces binary mode on all archival actions, the current behavior on textmounts isn't going to change. - -- Life is short - so eat dessert first! Eric Blake ebb9 AT byu DOT net -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.1 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFIQO184KuGfSFAYARAmUIAKCjx0JjRgPi4RdNL9D8iQHMY+pPLgCgoNOZ kZ4DZxf2GCq3UYOIo6Ek4AY= =a0y+ -----END PGP SIGNATURE----- -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/