X-Recipient: archive-cygwin@delorie.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@cygwin.com
From: stefano <s.zambellini@tin.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.7000906@triops.cz> <20120419172141.GA9369@ednor.casa.cgf.cx> <4F910FBF.2080203@triops.cz>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
User-Agent: Loom/3.14 (http://gmane.org/)
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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@ASUS ~/test
$ mknod ccc c 5 1

Stefano@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@ASUS ~/test
$ tar cvfz ccc.tar.gz ccc
ccc

Stefano@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@ASUS ~/test
$ tar mxvzf  ccc.tar.gz
ccc

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

