You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
Suggested by @lucky62 in #24:
Please consider to allow
/dev/
prefix for the device name. So both formats will be possible:/dev/
- e.g. sdb or sdb2/dev/
- e.g. /dev/sdb or /dev/sdb2I 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
.The text was updated successfully, but these errors were encountered: