Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] /dev nodes files
@ 2009-06-07 18:48 Daniel Mack
  2009-06-07 18:53 ` Peter Korsgaard
  0 siblings, 1 reply; 3+ messages in thread
From: Daniel Mack @ 2009-06-07 18:48 UTC (permalink / raw)
  To: buildroot

This has been discussed before, but I don't know if there was any
result, so I'm asking again.

After each build, the ixnodes in project_build_arm/uclibc/root/dev are
regular files rather than inodes, which prevents users from exporting
that directory directly as NFS root. Most people run custom scripts to
fix that, but I wonder whether there is any change to get that fixed in
BR2 directly.

The problem is that mknod can't create the nodes when not run as root,
and fakeroot doesn't help much in this case. Would it be an option to

 a) move the invocation of makedevs from target/*/*mk to some higher
    level. Actually, all fs deployment targets do the same thing, and
    that could be simplified.
 b) Let users choose whether to use 'fakeroot' or 'sudo' to create the
    inodes. The latter would need some augmented system priviledges, but
    as an option, that shouldn't harm.

Any oppinion about such an approach?

Daniel

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

end of thread, other threads:[~2009-06-08 11:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-07 18:48 [Buildroot] /dev nodes files Daniel Mack
2009-06-07 18:53 ` Peter Korsgaard
2009-06-08 11:41   ` Daniel Mack

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox