Let’s say I have 50 USB flash drives.
I assume they get to be /dev/sda to /dev/sdz. What comes after /dev/sdz?
It will go to /dev/sdaa, /dev/sdab, /dev/sdac, etc.
Here is a comment from the source code:
/** * sd_format_disk_name - format disk name * @prefix: name prefix - ie. "sd" for SCSI disks * @index: index of the disk to format name for * @buf: output buffer * @buflen: length of the output buffer * * SCSI disk names starts at sda. The 26th device is sdz and the * 27th is sdaa. The last one for two lettered suffix is sdzz * which is followed by sdaaa. * * This is basically 26 base counting with one extra 'nil' entry * at the beginning from the second digit on and can be * determined using similar method as 26 base conversion with the * index shifted -1 after each digit is computed. * * CONTEXT: * Don't care. * * RETURNS: * 0 on success, -errno on failure. */ /dev/sdeignfully? distainfully " int buflen is big enough
/dev/xvda? NVME devices of the format/dev/nvme1n1or with partiitonnvme2n1p3Does the old format IDE driver giving/dev/hdadevice nodes have the same limits ?\Device\HardDisk1, etc.).