From owner-freebsd-current Mon Jan 1 11:01:39 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id LAA02164 for current-outgoing; Mon, 1 Jan 1996 11:01:39 -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 LAA02159 for ; Mon, 1 Jan 1996 11:01:35 -0800 (PST) Received: from sax.sax.de by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id UAA05619 for ; Mon, 1 Jan 1996 20:01:31 +0100 Received: by sax.sax.de (8.6.11/8.6.12-s1) with UUCP id UAA25012 for freebsd-current@FreeBSD.org; Mon, 1 Jan 1996 20:01:31 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.7.3/8.6.9) id TAA23513 for freebsd-current@FreeBSD.org; Mon, 1 Jan 1996 19:55:26 +0100 (MET) From: J Wunsch Message-Id: <199601011855.TAA23513@uriah.heep.sax.de> Subject: Re: minor change to ls -l To: freebsd-current@FreeBSD.org (FreeBSD-current users) Date: Mon, 1 Jan 1996 19:55:26 +0100 (MET) Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <9601011806.AA12318@halloran-eldar.lcs.mit.edu> from "Garrett A. Wollman" at Jan 1, 96 01:06:37 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: > > > What do people think about the following change to the behaviour of > > ls -l? > > > > crw------- 1 root wheel 70, 536870912 Aug 19 14:44 /dev/rod0.ctl > > > crw------- 1 root wheel 70, 0x20000000 Aug 19 14:44 /dev/rod0.ctl > > I suspect it probably breaks some standard or another... Posix.2 says: If the file is a character special or block special file, the size of the file may be replaced with implementation-defined information associated with the device in question. ...and after all, i've taken the idea from HP/UX, though i decided to keep the minor number in decimal if it's ``small enough'', so that the previous behaviour is retained for most of the entries. By now, two people complained about this being inconsistent. In case this is the general opinion, we could convert it to always print the minor # in hex, of course. -- 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. ;-)