We recently introduced creating a "usbdisk" alias for USB storage devices. This so far was incomplete: The alias was only created for the whole raw device, but not for the partitions. As it's usually the partitions one is interested in the alias was rather useless. Also block devices automatically get an automount point registered under /mnt/, and here the aliases were not added.
This series fixes both issues. A nice side effect is that GPT partitions which already have a /dev/diskx.<partname> alias now get an automount point registered with the same name as well. Just like the aliases in devfs the aliases under /mnt/ just appear as symbolic links. Signed-off-by: Sascha Hauer <[email protected]> --- Sascha Hauer (4): fs: devfs: remove aliases from the list when freeing them fs: remove the default automount when a cdev is removed fs: devfs: propagate cdev aliases to the partitions fs: devfs: make the default automount reachable under cdev aliases fs/devfs-core.c | 145 ++++++++++++++++++++++++++++++++++++++++++++++++++++++- fs/fs.c | 20 +++++++- include/driver.h | 6 +++ 3 files changed, 169 insertions(+), 2 deletions(-) --- base-commit: 42e510a258d7c276c35f06c103e685c80d376eab change-id: 20260831-usbdisk-aliases-c14b1584b7d0 Best regards, -- Sascha Hauer <[email protected]>
