[Scratchbox-users] mknod
trimarchi at gandalf.sssup.it
trimarchi at gandalf.sssup.it
Sun Feb 25 12:26:01 EET 2007
Quoting Diane Holt <holt.diane at gmail.com>:
Hi,
you are right!!!
regard Michael
> 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
>>
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
More information about the Scratchbox-users
mailing list