[PATCH] usb: storage: make disk cdev name configurable via Kconfig
chalianis1 at gmail.com
chalianis1 at gmail.com
Mon Aug 31 04:17:19 PDT 2026
On 2026-08-31 11:04 +0000, Sascha Hauer wrote:
> On 2026-08-28 18:28, chalianis1 wrote:
> > On 2026-08-28 14:39 +0000, Sascha Hauer wrote:
> > > 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.
> > Yes exact it is mounted as /mnt/diskX
> > > 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().
> > Thank you
>
> See https://lore.barebox.org/barebox/20260831-usbdisk-aliases-v1-0-0a2e40a35f3d@pengutronix.de/T/#t
>
> 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 |
>
>
>
>
Thank's
best regards,
Anis
More information about the barebox
mailing list