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

Destination Disk Label with Space #171

Open
ISO8807 opened this issue Nov 11, 2023 · 0 comments
Open

Destination Disk Label with Space #171

ISO8807 opened this issue Nov 11, 2023 · 0 comments

Comments

@ISO8807
Copy link

ISO8807 commented Nov 11, 2023

When running the current version of rpi-clone, I innocently used a space in the destination label:

Optional destination ext type file system label (16 chars max): Backup 231111

This led to some nasty looking errors:

rpi-clone mount: /mnt/clone: wrong fs type, bad option, bad superblock on /dev/sda2, missing codepage or helper program, or other error

Mount failure of /dev/sda2 on /mnt/clone

I then found it was trying to create a filesystem using "-L Backup 231111" which was understandably being parsed incorrectly.

It would be as well to disallow spaces (and certain other characters) in the destination disk label.

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

No branches or pull requests

1 participant