JElchison / format-udf

Bash script to format a block device (hard drive or Flash drive) in UDF. The output is a drive that can be used for reading/writing across multiple operating system families: Windows, macOS, and Linux. This script should be capable of running in macOS or in Linux.
GNU General Public License v2.0
518 stars 48 forks source link

Device ID Validation too stringent? #46

Closed AdamVenn closed 4 years ago

AdamVenn commented 5 years ago

Thank you for your super duper program! I used it with success, but I had to comment out lines 309 and 334 (validate device/parent device identifier) because the validation was a little too strict for my OS - my device ID was mmcblk0 and I think that may not have satisfied the regex. I don't know how this would affect other systems but if it won't mess things up, I would suggest loosening the validation a little.

Pop!_OS, System76 Darter Pro, using format-udf on an SD card