[Scratchbox-users] mknod
Timo Savola
tsavola at movial.fi
Fri Feb 23 16:55:18 EET 2007
On Fri, 2007-02-23 at 15:39 +0100, Michael Trimarchi wrote:
> I have installed sudo inside scratchbox and I chage the permissione
> outside but I can't use it to create a device using the mknod. Is there
> an alternativies?
Fakeroot.
Scratchbox's mknod is magical: it creates the device node
"/targets/TARGET/dev/NODE" when you invoke "mknod /dev/NODE ...", but it
only succeeds with fakeroot. The idea is to create device nodes and
package them up ("mkfs.jffs2 --root /targets/TARGET ...") while in the
same fakeroot session (or by saving+loading the fakeroot database).
timo
More information about the Scratchbox-users
mailing list