[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: rootskel can't make dev



On Mon Feb 05, 2001 at 11:00:16PM -0800, Joey Hess wrote:
> David Whedon wrote:
> > It looks like one problem is trying to run mknod (or cp -a) while not root to
> > create the special files in /dev.  I get messages like:
> > ruff:rootskel$ mknod hda b 3 0
> > mknod: `hda': Operation not permitted
> > ruff:rootskel$ 
> 
> Right, you can't create device files as a normal user. Looks like
> fakeroot hides the error while creating empty normal files..
> I think you'll have to require that your rules file run as real root,
> not fakeroot. If you don't want to do that we can keep the dev files in
> build/Makfile, I guess.

Or use busybox 'makedevs' to create the device files first
thing after boot.  LRP does this...

 -Erik

--
Erik B. Andersen   email:  andersee@debian.org
--This message was written using 73% post-consumer electrons--



Reply to: