Summary: | sys-apps/busybox: updated mdev init script | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | William Hubbs <williamh> |
Component: | Current packages | Assignee: | Embedded Gentoo Team <embedded> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 530688 | ||
Attachments: |
mdev.initd
mdev.initd |
Description
William Hubbs
2014-10-30 21:40:46 UTC
I'll get the attachment up shortly; I found an issue with pybugz... Created attachment 387826 [details]
mdev.initd
This is the new mdev init script.
mdev provides more than just /dev mounting, so the devtmpfs check doesn't make sense here why doesn't devfs also set up /dev/std{in,err,out} and /dev/fd ? (In reply to SpanKY from comment #3) > mdev provides more than just /dev mounting, so the devtmpfs check doesn't > make sense here I put that check in because I was told that mdev and devtmpfs are not compatible. Is this not correct? > why doesn't devfs also set up /dev/std{in,err,out} and /dev/fd ? No particular reason; I was never made aware that it needs to. Also, these exist on my system, so I wonder what is setting them up? (In reply to William Hubbs from comment #4) saying mdev doesn't work with devtmpfs is like saying udev doesn't work with it. udev still creates random files in /dev as things come & go, and so does mdev. last i looked, udev itself has /dev/std{in,err,out} and /dev/fd hardcoded in its source tree. so we can either have every non-udev system also set them up, or we can have the common openrc script create them. i don't feel strongly either way. (In reply to SpanKY from comment #5) > (In reply to William Hubbs from comment #4) > > saying mdev doesn't work with devtmpfs is like saying udev doesn't work with > it. udev still creates random files in /dev as things come & go, and so > does mdev. Ok, Ican update the mdev init script to not abort if /dev is devtmpfs. > last i looked, udev itself has /dev/std{in,err,out} and /dev/fd hardcoded in > its source tree. so we can either have every non-udev system also set them > up, or we can have the common openrc script create them. i don't feel > strongly either way. In that case, I can have devfs set them up; those definitely should be there for any system. Created attachment 389912 [details]
mdev.initd
Here is the newest version of the mdev init script.
Also, devfs in openrc-0.13.5 now populates
/dev/{fd,std{in,out,err},core}, so you will need at least that version
of OpenRC to work with this mdev script.
I fixed this in busybox-1.23.0. |