Bugfixes only, release on Friday the 30th.
Paul Fox
pgf at brightstareng.com
Mon Jun 26 18:49:45 UTC 2006
> > I think the $MDEV variable is not so necessary (if you want to shrink
> > the code a little), since the $DEVPATH var is already passed to the
> > command executed and can be used to get the actual device name by
> > removing the prefix.
>
> DEVPATH is only set for hotplug events, not scanning with mdev -s. It also
> turns "ln -s $MDEV cdrom" into "ln -s `echo $DEVPATH | sed 's at .*/@@'` cdrom"
> which is a lot clumsier.
i know this is a detail in the greater scheme of this thread, but
if you're using ash, then this:
ln -s ${DEVPATH##*/} cdrom
is pretty painless. doesn't work in msh, i'm afraid.
paul
=---------------------
paul fox, pgf at brightstareng.com
More information about the busybox
mailing list