New issue 94 by verynotbad: Flyback 0.6.5.1 does not detect removable
drives correctly
http://code.google.com/p/flyback/issues/detail?id=94
When flyback is run, not all drives are detected. I have traced the problem
to backup.py, method get_dev_paths_for_uuid(uuid).
For most of my drives, DEVNAME=sda1, but "mount" returns "/dev/sde1". Now,
when get_mount_point_for_uuid(uuid) calls "if dev_path in dev_paths" it
naturally returns false as it compares "/dev/sde1" with "sde1".
Adding this in get_dev_paths_for_uuid after "if line.startswith('E:
DEVNAME=')" did the trick:
109a110
> dev_paths.add( '/dev/' + line[line.index('=')+1:].strip() )
131a133
This all happens on:
- 2.6.35-22-generic #34-Ubuntu SMP Sun Oct 10 09:26:05 UTC 2010 x86_64
GNU/Linux
- Python 2.6.6
- Ubuntu 10.10
thanx a lot
I could start to use flyback
Thanks,
I used your edit and it sort of worked. I get 2 partitions out of 3,
/dev/sd1, /dev/sd2 but not /dev/sd3 if I use Flyback version 0.6.5. I get
sd1 and sd3 in v0.5. Not sure at all what is going on!!
Thumbs up