Date: Tue, 2 Jan 1996 07:53:46 +0100 (MET) From: J Wunsch <j@uriah.heep.sax.de> To: freebsd-current@FreeBSD.org (FreeBSD-current users) Subject: Re: minor change to ls -l Message-ID: <199601020653.HAA14679@uriah.heep.sax.de> In-Reply-To: <9601011926.AA11642@halloran-eldar.lcs.mit.edu> from "Garrett A. Wollman" at Jan 1, 96 02:26:26 pm
next in thread | previous in thread | raw e-mail | index | archive | help
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. ;-)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199601020653.HAA14679>