From owner-cvs-all Wed Dec 15 12:20:34 1999 Delivered-To: cvs-all@freebsd.org Received: from gndrsh.dnsmgr.net (GndRsh.dnsmgr.net [198.145.92.4]) by hub.freebsd.org (Postfix) with ESMTP id 72A4214A01; Wed, 15 Dec 1999 12:20:29 -0800 (PST) (envelope-from freebsd@gndrsh.dnsmgr.net) Received: (from freebsd@localhost) by gndrsh.dnsmgr.net (8.9.3/8.9.3) id MAA23494; Wed, 15 Dec 1999 12:20:01 -0800 (PST) (envelope-from freebsd) From: "Rodney W. Grimes" Message-Id: <199912152020.MAA23494@gndrsh.dnsmgr.net> Subject: Re: cvs commit: src/usr.sbin/chown Makefile In-Reply-To: <19991215183526.C70129@florence.pavilion.net> from Josef Karthauser at "Dec 15, 1999 06:35:26 pm" To: joe@pavilion.net (Josef Karthauser) Date: Wed, 15 Dec 1999 12:20:00 -0800 (PST) Cc: abial@webgiro.com (Andrzej Bialecki), dillon@apollo.backplane.com (Matthew Dillon), louie@TransSys.COM (Louis A. Mamakos), obrien@NUXI.com, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk > On Tue, Dec 14, 1999 at 05:49:51PM -0800, Rodney W. Grimes wrote: > > > > This sounds like a promissing idea, read and parse a text file that describes > > device nodes. Kinda act like mtree(8) only for device nodes. > > Interesting... maybe mtree should be collared to do the work. Why can't it > make device nodes? Because it doesn't have a major/minor keyword, though that should not be too hard to fix. It does know about all the device file types: block block special device char character special device dir directory fifo fifo file regular file link symbolic link socket socket Just no way to specify what major/minor that I can see. Oh wait, isn't that encoded in the inode size field for a block/char device, so I suppose you could use size=0xblahblah. Also mtree is a /usr/sbin program.... and _very_ BSD specific. -- Rod Grimes - KD7CAX @ CN85sl - (RWG25) rgrimes@gndrsh.dnsmgr.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message