Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix up mdev.conf [trac #833] #9

Open
bradfa opened this issue Mar 1, 2019 · 2 comments
Open

Fix up mdev.conf [trac #833] #9

bradfa opened this issue Mar 1, 2019 · 2 comments

Comments

@bradfa
Copy link
Member

bradfa commented Mar 1, 2019

Our mdev.conf may not be the best example of how to do an mdev.conf. Based on this mailing list thread (​http://lists.busybox.net/pipermail/busybox/2009-November/070889.html), the busybox people feel we may have an older version of an example mdev.conf that could not be exploiting all the features of mdev.

Take a look at if mdev.conf should be updated to better fit with current busybox ideals.

The current mdev.conf works for me, so this isn't a huge priority.

This is trac ticket: https://trac.clfs.org/ticket/833

@bradfa
Copy link
Member Author

bradfa commented Mar 1, 2019

Alpine Linux uses Busybox and has an example mdev.conf that could be useful to base ours off of: ​http://git.alpinelinux.org/cgit/aports.git/plain/main/busybox-initscripts/mdev.conf?h=2.1-stable

May also need to revert commit 08718a4 that removed the mknod'ing of /dev/null and /dev/console. My beagleboard-xm doesn't appear to need those nodes created before starting mdev but sjs205's board does or else there's no output to the serial console, only the video console.

@bradfa
Copy link
Member Author

bradfa commented Mar 1, 2019

In my repo (​http://git.cross-lfs.org/?p=abradford/clfs-embedded.git), three commits update mdev.conf and revert the commit that removed the mknod'ing of /dev/console and /dev/null.

Commit numbers are: 111f2c6, 4d261af, 0e05c5c

If these are accepted into the mainline embedded book, this ticket can be closed. Further improvements to mdev.conf should be another ticket (if needed).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant