I have found a strange behavior when trying to backup packages using the
shortcuts added when using custom destination in bering-uclic

i boot from my regular boot media (floppy or ide).
mount ls and umount a usb pen drive to verify it's working order.

change destination for a package to sda1:msdos
and backup package. everything works normaly

when i now try to change destination for another package using the now
created shortcut  [2] sda1:msdos in the lrcfg menu.
the backup show sda1 msdos as destination but when trying a backup i get
'Could not mount backup device'

now.
if i select shange destination, and instead of selecting [2] sda1
select [c] custom destination and enter sda1 and msdos it works.

Now i am not a coder.. but i think the solution is to modify line 133
and 134 in /usr/sbin/lrcfg.back 

from:
if ! `grep -q "$DEV $FS" $LRPKG/pkgpath.disks`;then
        echo "$DEV $FS" >>$LRPKG/pkgpath.disks

to
if ! `grep -q "/dev/$DEV $FS" $LRPKG/pkgpath.disks`;then
        echo "/dev/$DEV $FS" >>$LRPKG/pkgpath.disks

i tested this and it works for my handydrive.
-- 
Ronny Aasen <[EMAIL PROTECTED]>
datapart AS
-- 
Ronny Aasen <[EMAIL PROTECTED]>



-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
------------------------------------------------------------------------
leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html

Reply via email to