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

Verify usb:// or file:// URIs for problems #99

Closed
dagwieers opened this issue Jun 7, 2012 · 0 comments
Closed

Verify usb:// or file:// URIs for problems #99

dagwieers opened this issue Jun 7, 2012 · 0 comments
Assignees
Labels
Milestone

Comments

@dagwieers
Copy link
Contributor

An annoying configuration error is an insufficient number of slashes in file:// or usb:// URIs. For instance if you configure

BACKUP_URL=usb://dev/disk/by-label/Pack

Rear will bail out with a confusing message that /disk/by-label/Pack could not be found. This can be avoided if we simply check those specific URLs for an empty host part. Which is mandatory for usb:// and file://.

@ghost ghost assigned dagwieers Jun 10, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant