Letting mdev + devtmpfs play together?

Floris Bos bos at je-eigen-domein.nl
Sat Apr 18 16:00:38 UTC 2015


On 04/18/2015 05:51 PM, Laurent Bercot wrote:
> On 18/04/2015 17:05, Floris Bos wrote:
>> I tried enabling waiting for sequence numbers by echoing a newline to
>> /dev/mdev.seq, however I noticed there are situations where that does
>> not work properly either.
>
>  Yes, it's the classic sequentiality problem. The userspace cannot
> guarantee that mdev #526 will take the lock before #527.
>  If you want guaranteed sequentiality, you need to run a netlink
> reader.

Simply letting devtmpfs instead of mdev handle the removal of the actual 
device node files wouldn't be an option?
I don't think I have a real need for sequentiality on any other operation.

-- 
Yours sincerely,

Floris Bos



More information about the busybox mailing list