[Scratchbox-users] mknod
Diane Holt
holt.diane at gmail.com
Fri Feb 23 19:48:26 EET 2007
Run just 'fakeroot' and do all your commands from "inside" there, or use the
-s and -i flags (see the fakeroot man-page for details).
Diane
On 2/23/07, Claudio Scordino <cloud.of.andor at gmail.com> wrote:
>
> Timo Savola wrote:
> > 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
>
> What Michael forgot to say, is that he already tried to use
>
> fakeroot mknod
>
> but it didn't work (mknod creates a normal file instead of a device).
>
> Therefore, he tried using sudo...
>
> Any idea of how creating a device /dev/ttyS0 inside Scratchbox ?
>
> Thanks,
>
> Claudio
>
>
> --
> =================================
> Claudio Scordino
> Software Engineer
>
> Evidence Srl
> Embedded Real-Time solutions
> http://www.evidence.eu.com
> =================================
>
> _______________________________________________
> Scratchbox-users mailing list
> Scratchbox-users at lists.scratchbox.org
> http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scratchbox.org/pipermail/scratchbox-users/attachments/20070223/ffb55306/attachment.html
More information about the Scratchbox-users
mailing list