-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Natanael Copa wrote: > 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::'`
or mount it and check if it is writable :-) cheers Erich -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEjeW0t9T/nQW4ChYRAs9eAKCFKPndECMp8FMb3U41VUwJjd7b4ACZAYzy t8u/zDy5CNo48JVMwSOUzuk= =lQMy -----END PGP SIGNATURE----- _______________________________________________ leaf-devel mailing list leaf-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-devel