[PATCH] usb: storage: make disk cdev name configurable via Kconfig
Sascha Hauer
s.hauer at pengutronix.de
Fri Aug 28 07:39:05 PDT 2026
On 2026-08-27 14:01, chalianis1 wrote:
> On 2026-06-30 12:41 +0000, Sascha Hauer wrote:
> > Hi,
> >
> > On 2026-06-23 10:26, chalianis1 wrote:
> > > From: Anis Chali <anis.chali at ro-main.com>
> > >
> > > Add USBDISK_NAME string option to allow customizing the USB storage
> > > device name, defaulting to "disk" to preserve existing behaviour.
> >
> > I just sent a patch which registers USB storage devices with usbdiskx
> > which doesn't require compile time changes. I hope that suits your needs
> > as well.
> >
> > Sascha
> >
> Hi,
>
> In my side I am migrating to master so removed my patch for this and
> I noticed that alias is not mounted to be used as /mnt/usbdiskX, I am
> just asking to know if it the expected behaviour in which case I will
> for an other way to get it mounted as /mnt/usbdisk0
But it still is automounted via /mnt/disk0, right? I just had a look
into it and yes, my patch doesn't add the automount for the aliases.
I'll look into it next week. I hope we get away to just create a
symbolic link from the alias to the real cdev, i.e. from /mnt/usbdisk0 to
/mnt/disk0. That would have to be done in
cdev_create_default_automount().
Sascha
--
Pengutronix e.K. | |
Steuerwalder Str. 21 | http://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
More information about the barebox
mailing list