mdev feature request

Rob Landley rob at landley.net
Mon Sep 25 13:47:15 PDT 2006


On Monday 25 September 2006 11:41 am, Jason Schoon wrote:
> I was trying to come up with an alternative shell-script solution as well.
> I like this one, but I wonder if a large number of people using mdev in
> embedded systems will be using a read-only filesystem like squashfs (that's
> how I use it).  In that case, creating the mdev.conf on the fly would
> require a symlink out to writable area or possibly a unionfs mount.

A symlink should work fine.  (If your /etc/mdev.d is a tmpfs or some such, you 
could even "ln -s /etc/mdev.d/.mdev.conf /etc/mdev.conf", because * won't 
pick up hidden files so "cat *" still works. :)

Rob
-- 
Never bet against the cheap plastic solution.


More information about the busybox mailing list