Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flyback 0.6.5.1 does not detect removable drives correctly #94

Open
GoogleCodeExporter opened this issue Sep 24, 2015 · 3 comments
Open

Comments

@GoogleCodeExporter
Copy link

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

Original issue reported on code.google.com by [email protected] on 21 Oct 2010 at 9:53

@GoogleCodeExporter
Copy link
Author

thanx a lot
I could start to use flyback

Original comment by [email protected] on 5 Nov 2010 at 11:08

@GoogleCodeExporter
Copy link
Author

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

Original comment by [email protected] on 29 Mar 2011 at 11:49

@GoogleCodeExporter
Copy link
Author

Thumbs up

Original comment by [email protected] on 7 Apr 2011 at 9:53

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant