www.delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-Spam-Check-By: | sourceware.org |
Date: | Wed, 18 Aug 2010 12:11:48 +0200 |
From: | Corinna Vinschen <corinna-cygwin AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: mknod bug? major minor's are whacky |
Message-ID: | <20100818101148.GR11340@calimero.vinschen.de> |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <5FFFAB3EC03D09468D160693F176A1174EE2A922 AT CANOPUS> <4C6B2072 DOT 1080903 AT redhat DOT com> |
MIME-Version: | 1.0 |
In-Reply-To: | <4C6B2072.1080903@redhat.com> |
User-Agent: | Mutt/1.5.20 (2009-06-14) |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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 |
On Aug 17 17:51, Eric Blake wrote: > On 08/17/2010 05:46 PM, Bob Goldberg wrote: > > cygwin 1.7.6 > > > > attempting to: > > $ mknod null c 1 3 > > > > what I get is: > > crw-rw-rw- 1 user mkgroup-l-d 46200, 14467 2010-08-17 18:44 null > > > > WHERE did those crazy major/minor's come from!?!? They come from Cygwin. They are an accidental reflection of the volume id, which is used in stat::st_rdev for files by default. Cygwin only set st_dev to the device number so far. I fixed that in CVS so that st_rdev and st_dev both contain the device number now for device files. Thanks for the report, Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |