On Mon, 2006-06-12 at 20:52 +0200, Eric Spakman wrote:
> Hi Nataneal,
> >>
> >
> 
> >> In most cases (HD/Flash/Floppy) the first device is the backup device,
> >> having a seperate variable would only introduce redundancy. But I was
> >> thinking about adding a menu entry where an user can select the backup
> >> device and defaulting to the first device. In the leaf.cfg file, where
> >> PKGPATH is defined, a note is added that the
> >> first device is the backup device. An user has to define the rw media
> >> first. But the choice to use a seperate variable or not is only a minor
> >>  technical change, it can easely be implemented. Not sure about it yet.
> >>
> >
> > I'd suggest to add a CFGDEV and default it to:
> >
> > CFGDEV=$PKGPATH
> >
> > Then can the user choose himself.
> >
> Good suggestion didn't thought about that, but PKGPATH can be a list and
> the first entry can still be a CDROM. 

then you could default CFGDEV to something like:
CFGDEV=`echo $PKGPATH | sed 's:/dev/cdrom::'`

> I'm not sure if it's obvious if
> backup fails that the above entry can be the fault, if a note is added in
> the leaf.cfg file that the first entry is the backup device in the PKGPATH
> it could be clearer. But I'm still not sure what to do...

In alpine,  you have to specify where to commit:

lbu commit floppy
lbu commit usb

where the target needs to exist in /etc/fstab and be mounted
in /media/*. If no target is specifide, lbu will try to use $LBU_MEDIA.

--
Natanael Copa




_______________________________________________
leaf-devel mailing list
leaf-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-devel

Reply via email to