laurent85v / archuseriso

A set of bash script programs to create bootable Arch Linux images and to create bootable USB flash drives with a desktop environment.
GNU General Public License v3.0
228 stars 30 forks source link

Add support for devices after /dev/sdp in aui-mkusb #38

Closed mozgwar closed 2 years ago

mozgwar commented 2 years ago

According to this https://www.kernel.org/doc/Documentation/admin-guide/devices.txt the last device of major number is /dev/sdp, to use devices after it aui-mkusb need to check for major number 65, 66 etc ...

mozgwar commented 2 years ago

I did some test here and it seems that major number 41 is also used for block device: LC_ALL=C stat -c %t /dev/sdy
41

laurent85v commented 2 years ago

I doubt it was allocated dynamically for a usb disk device.