delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/04/21/11:05:52

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.8 required=5.0 tests=BAYES_00,FREEMAIL_FROM,KHOP_THREADED,SPF_HELO_PASS,TW_CV,TW_MK,TW_MX,TW_RW,TW_VF,TW_VZ,TW_WX,TW_XV,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: stefano <s DOT zambellini AT tin DOT it>
Subject: Re: cygwin-1.7.13-1: mknod console c 5 1 creates invalid device
Date: Sat, 21 Apr 2012 14:42:36 +0000 (UTC)
Lines: 60
Message-ID: <loom.20120421T164042-577@post.gmane.org>
References: <4F8FFD13 DOT 7000906 AT triops DOT cz> <20120419172141 DOT GA9369 AT ednor DOT casa DOT cgf DOT cx> <4F910FBF DOT 2080203 AT triops DOT cz>
Mime-Version: 1.0
User-Agent: Loom/3.14 (http://gmane.org/)
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Ladislav Michl <michl <at> triops.cz> writes:

> 
> Dne 19.4.2012 19:21, Christopher Faylor napsal(a):
> > Funny you should pick up on that.  I actually had a sheet over my head
> > with two eyes cut out when I was writing the ChangeLog.
> >
> > This should be fixed in the next snapshot.
> Just checked cygwin1-20120419.dll.bz2 and it fixes this problem.
> 
> Thanks,
>      ladis
> 
> 

With cygwin 1.7.11-1 and latest cygwin1-20120419.dll I solved the mknod 
problem but another problem with 'utime' function of the 'tar' command appears:

Stefano AT ASUS ~/test
$ mknod ccc c 5 1

Stefano AT ASUS ~/test
$ ls -al
totale 5
drwxr-xr-x+ 1 Stefano None    0 19 apr 22.02 .
d---------+ 1 Stefano None    0 19 apr 22.01 ..
crw-rw-rw-  1 Stefano None 5, 1 19 apr 22.02 ccc

Stefano AT ASUS ~/test
$ tar cvfz ccc.tar.gz ccc
ccc

Stefano AT ASUS ~/test
$ tar xvzf  ccc.tar.gz
ccc
tar: ccc: funzione "utime" non riuscita: No such device or address
tar: Uscita con stato di fallimento in base agli errori precedenti


only if i use m option it seems to work:
Stefano AT ASUS ~/test
$ tar mxvzf  ccc.tar.gz
ccc

Stefano AT ASUS ~/test
$ ls -al
totale 6
drwxr-xr-x+ 1 Stefano None    0 19 apr 22.03 .
d---------+ 1 Stefano None    0 19 apr 22.01 ..
crw-rw-rw-  1 Stefano None 5, 1 19 apr 22.03 ccc
-rw-r--r--+ 1 Stefano None  128 19 apr 22.02 ccc.tar.gz

Stefano AT ASUS ~/test

Thank you,
    stefano






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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019