On Sun, 2012-05-13 at 18:14 -0400, Walter Dnes wrote: > I was spelunking through my /etc/mdev.conf, looking at the syntax, > when something occured to me looking at... > > sr[0-9]* root:cdrom 660 @ln -sf $MDEV cdrom > > What happens if you have multiple devices, e.g. "sr0" and "sr1"? Does > the system get confused? Would the following work better... > > sr[0-9]* root:cdrom 660 @ln -sf $MDEV cdrom%1
I don't think mdev handles that syntax but it would be trivial to replace the ln command with a script that simply parses the number (sr<num>) from MDEV and performs the same function as you suggest. -- Michael J. Hammel <[email protected]> _______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
