X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org X-Authority-Analysis: v=1.0 c=1 a=VGbN3ngO2RUA:10 a=w_pzkKWiAAAA:8 a=xe8BsctaAAAA:8 a=uZxByVNmSsB31ok8Y1UA:9 a=MDpUjEKJaI-8QAAzUxpa-_UdOmQA:4 a=Mo27u2NpdeAA:10 a=eDFNAWYWrCwA:10 a=rPt6xJ-oxjAA:10 Message-ID: <47C81175.3070201@byu.net> Date: Fri, 29 Feb 2008 07:06:45 -0700 From: Eric Blake User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.12) Gecko/20080213 Thunderbird/2.0.0.12 Mnenhy/0.7.5.666 MIME-Version: 1.0 To: cygwin AT cygwin DOT com, Nigel DOT Hathaway AT ubiquisys DOT com Subject: Re: Problem with dev nodes in tar extract References: <094A73044298734FB7D58CAAA319E1D6BC4AD5 AT UBIQ-SERV1 DOT ubiquisys DOT local> <47C80353 DOT 4040906 AT byu DOT net> <094A73044298734FB7D58CAAA319E1D6BC4B4A AT UBIQ-SERV1 DOT ubiquisys DOT local> In-Reply-To: <094A73044298734FB7D58CAAA319E1D6BC4B4A@UBIQ-SERV1.ubiquisys.local> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 Please don't top-post: http://cygwin.com/acronyms/#TOFU | From: Eric Blake [mailto:ebb9 AT byu.net] ~ ^^^^ And please don't feed the spammers: http://cygwin.com/acronyms/#PCYMTNQREAIYR | Dev nodes are OS specific. You will probably never get this to work, | because cygwin's notions of which major device numbers map to which | devices, while modeled after Linux, is not identical to Linux. You are | trying to do something that is inherently non-portable. | According to Nigel Hathaway on 2/29/2008 6:50 AM: | cygwin. Do 'mknod --help' and see what you get !! mknod --help prints the same under Linux or cygwin, because it comes from the same source code for mknod(1). It doesn't change the fact that the underlying mknod(2) between the two OS's is different, and there's nothing that mknod(1) can do about that. | | It turns out that the problem relates to one dev node in particular: | | $ chown root.root dev/ptmx | 7 [main] chown 7940 _cygtls::handle_exceptions: Error while | dumping state | (probably corrupted stack) Now we're getting somewhere. Again, this is a problem in cygwin1.dll, and not in coreutils, tar, or any other user-level program. - -- Don't work too hard, make some time for fun as well! Eric Blake ebb9 AT byu DOT net -----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 iD8DBQFHyBF184KuGfSFAYARAi9RAJ4hCS3Adq/60e4WhJRKUZpjZvdhBACaA5tE JykDPXGz6q7O2MEm0wahJxo= =a5PY -----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/