aboutsummaryrefslogtreecommitdiffstats
path: root/udev/zvol_id.c
Commit message (Collapse)AuthorAgeFilesLines
* udev: correctly handle partition #16 and laterFabian-Gruenbichler2024-04-221-4/+5
| | | | | | | | | | | | | | | | | If a zvol has more than 15 partitions, the minor device number exhausts the slot count reserved for partitions next to the zvol itself. As a result, the minor number cannot be used to determine the partition number for the higher partition, and doing so results in wrong named symlinks being generated by udev. Since the partition number is encoded in the block device name anyway, let's just extract it from there instead. Reviewed-by: Tony Hutter <[email protected]> Reviewed by: Brian Behlendorf <[email protected]> Reviewed-by: Tino Reichardt <[email protected]> Signed-off-by: Fabian Grünbichler <[email protected]> Closes #15904 Closes #15970
* Replace dead opensolaris.org license linkTino Reichardt2022-07-111-1/+1
| | | | | | | | | The commit replaces all findings of the link: http://www.opensolaris.org/os/licensing with this one: https://opensource.org/licenses/CDDL-1.0 Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Tino Reichardt <[email protected]> Closes #13619
* udev: zvol_id: simplify/moderniseнаб2022-05-111-73/+30
| | | | | | | zero-alloc, sensibler errors, don't close (or free) before exit. Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Ahelenia Ziemiańska <[email protected]> Closes #13337
* cmd: move single-file binaries up, extract udev programs to udev/наб2022-05-101-0/+129
Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Ahelenia Ziemiańska <[email protected]> Closes #13316