Issue 94 in flyback: Flyback 0.6.5.1 does not detect removable drives correctly

14 views
Skip to first unread message

codesite...@google.com

unread,
Oct 21, 2010, 5:55:03 AM10/21/10
to flyback...@googlegroups.com
Status: New
Owner: ----

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

codesite...@google.com

unread,
Nov 5, 2010, 7:08:41 AM11/5/10
to flyback...@googlegroups.com

Comment #1 on issue 94 by trasougomi: Flyback 0.6.5.1 does not detect

thanx a lot
I could start to use flyback

codesite...@google.com

unread,
Mar 29, 2011, 7:50:47 PM3/29/11
to flyback...@googlegroups.com

Comment #2 on issue 94 by KnowTheT...@gmail.com: Flyback 0.6.5.1 does not

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!!

codesite...@google.com

unread,
Apr 7, 2011, 5:54:47 PM4/7/11
to flyback...@googlegroups.com

Comment #3 on issue 94 by Mikolaj....@gmail.com: Flyback 0.6.5.1 does not

Thumbs up

Reply all
Reply to author
Forward
0 new messages