Skip to contentSkip to conversation

New: /dev/console and /dev/null have to be created on udev based systems also

Buildroot bugzilla at busybox.net 1 participant 2 messages Nov 22, 2011

lore
Share & tools
lore
#0 lore raw

https://bugs.busybox.net/show_bug.cgi?id=4508

Summary: /dev/console and /dev/null have to be created on udev
based systems also
Product: buildroot
Version: 2011.08
Platform: PC
OS/Version: Linux
Status: NEW
Severity: minor
Priority: P5
Component: Other
AssignedTo: unassigned at buildroot.uclibc.org
ReportedBy: fenixk19 at mail.ru
CC: buildroot at uclibc.org
Estimated Hours: 0.0

Now buildroot have two device tables - device_table.txt used in static and dynamic /dev variants, and device_table_dev.txt, that is used only in static.

But devices /dev/console and /dev/null have to be static created for both types of /dev filesystem.
So, probably, it would be good to move /dev/null and /dev/console definition from device_table_dev.txt to device_table.txt?

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
#1 lore raw

[Buildroot] [Bug 4508] /dev/console and /dev/null have to be created on udev based systems also

https://bugs.busybox.net/show_bug.cgi?id=4508

Thomas Petazzoni <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|                            |WORKSFORME

--- Comment #1 from Thomas Petazzoni <[email protected]> 2011-11-22 09:29:26 UTC --- No. Our udev and mdev support relies on the devtmpfs filesystem to be enabled
in the kernel and mounted at boot time by the kernel. Buildroot ensures that
this is the case for kernels that it builds (see the following code in linux/linux.mk), but if you build your kernel outside of Buildroot, it is up to
you to enable those options as well.

        $(if $(BR2_ROOTFS_DEVICE_CREATION_STATIC),,
                $(call KCONFIG_ENABLE_OPT,CONFIG_DEVTMPFS,$(@D)/.config)
                $(call KCONFIG_ENABLE_OPT,CONFIG_DEVTMPFS_MOUNT,$(@D)/.config))

So you must enabled CONFIG_DEVTMPFS and CONFIG_DEVTMPFS_MOUNT in your kernel.

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.