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

Let <device> parameter have '/dev/' prefix #25

Closed
JElchison opened this issue Feb 20, 2016 · 1 comment
Closed

Let <device> parameter have '/dev/' prefix #25

JElchison opened this issue Feb 20, 2016 · 1 comment
Assignees

Comments

@JElchison
Copy link
Owner

Suggested by @lucky62 in #24:

Please consider to allow /dev/ prefix for the device name. So both formats will be possible:

  • without /dev/ - e.g. sdb or sdb2
  • with /dev/ - e.g. /dev/sdb or /dev/sdb2

I see that /dev/$DEVICE pattern is used many times in your script so I think better is to check at the beginning if has the /dev/ prefix and add it if not. Then you can use simple $DEVICE instead of /dev/$DEVICE.

@yodor
Copy link

yodor commented May 25, 2018

Hello maybe also enable sr0-9 type devices for optical media ?

walterav1984 added a commit to walterav1984/format-udf that referenced this issue Feb 10, 2020
Verified on MacOS Yosemite 10.10.5 and Ubuntu 19.10 both tested with and without '/dev/' prefix. This fixes JElchison#25 .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants