From owner-freebsd-current Mon Jan 1 23:21:34 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id XAA04500 for current-outgoing; Mon, 1 Jan 1996 23:21:34 -0800 (PST) Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id XAA04495 for ; Mon, 1 Jan 1996 23:21:30 -0800 (PST) Received: from sax.sax.de by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id IAA16525 for ; Tue, 2 Jan 1996 08:21:22 +0100 Received: by sax.sax.de (8.6.11/8.6.12-s1) with UUCP id IAA28901 for freebsd-current@FreeBSD.org; Tue, 2 Jan 1996 08:21:21 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.7.3/8.6.9) id HAA14679 for freebsd-current@FreeBSD.org; Tue, 2 Jan 1996 07:53:47 +0100 (MET) From: J Wunsch Message-Id: <199601020653.HAA14679@uriah.heep.sax.de> Subject: Re: minor change to ls -l To: freebsd-current@FreeBSD.org (FreeBSD-current users) Date: Tue, 2 Jan 1996 07:53:46 +0100 (MET) Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <9601011926.AA11642@halloran-eldar.lcs.mit.edu> from "Garrett A. Wollman" at Jan 1, 96 02:26:26 pm X-Phone: +49-351-2012 669 X-Mailer: ELM [version 2.4 PL23] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-current@FreeBSD.org Precedence: bulk As Garrett A. Wollman wrote: > > The question for me is: will mknod(8) accept a minor number in hex? > If not, and you plan to stick with this change, then you need to > change mknod as well. I'm not sure about the continuing importance of mknod(8) in a world of devfs, but all that's needed with mknod is replacing the atoi()'s by calls to strto[u]l()'s with a `base' argument of 0, plus a sentence in the man page. However, this might perhaps break silly scripts that try: mknod foo05 c 3 05 mknod foo06 c 3 06 mknod foo07 c 3 07 mknod foo08 c 3 08 mknod foo09 c 3 09 mknod foo10 c 3 10 -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)