All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] dev nodes as regular files
@ 2010-09-07  6:59 Sergey Naumov
  2010-09-07  7:25 ` Thomas Petazzoni
  0 siblings, 1 reply; 2+ messages in thread
From: Sergey Naumov @ 2010-09-07  6:59 UTC (permalink / raw)
  To: buildroot

Hello, I have a problem with buildroot (02.2010 and 08.2010).

All device nodes created as regular files with zero length, while
mknod utility present.
Does anybody know a reason of this behavior?

Thanks in advance,
Sergey Naumov.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Buildroot] dev nodes as regular files
  2010-09-07  6:59 [Buildroot] dev nodes as regular files Sergey Naumov
@ 2010-09-07  7:25 ` Thomas Petazzoni
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2010-09-07  7:25 UTC (permalink / raw)
  To: buildroot

Hello Sergey,

On Tue, 7 Sep 2010 10:59:25 +0400
Sergey Naumov <sknaumov@gmail.com> wrote:

> All device nodes created as regular files with zero length, while
> mknod utility present.
> Does anybody know a reason of this behavior?

Where are you looking at ?

I think you're probably looking at output/target, which obviously does
not contain the correct device files. This is because root priviledges
are required to create device files, and we don't want Buildroot to do
anything as root (that's one of the feature of Buildroot).

Therefore, the device files are only present in the final
filesystem images (created in output/images), they are created using
the 'fakeroot' utility, which as it names says, allows to fake the fact
that we are root, for a particular set of operations.

Therefore, the directory/files in output/target are *NOT* the final
target filesystem. You must use one of the images generated in
output/images. The list of images generated in this directory is
configured using the "Target filesystem options -->" menu in
menuconfig/xconfig.

If you need any other detail, don't hesitate to ask!

Regards,

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-09-07  7:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-07  6:59 [Buildroot] dev nodes as regular files Sergey Naumov
2010-09-07  7:25 ` Thomas Petazzoni

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.