Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Dec 1999 12:20:00 -0800 (PST)
From:      "Rodney W. Grimes" <freebsd@gndrsh.dnsmgr.net>
To:        joe@pavilion.net (Josef Karthauser)
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
Subject:   Re: cvs commit: src/usr.sbin/chown Makefile
Message-ID:  <199912152020.MAA23494@gndrsh.dnsmgr.net>
In-Reply-To: <19991215183526.C70129@florence.pavilion.net> from Josef Karthauser at "Dec 15, 1999 06:35:26 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199912152020.MAA23494>