mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: "Sascha Hauer" <s.hauer@pengutronix.de>
To: chalianis1@gmail.com
Cc: chalianis1@gmail.com, barebox@lists.infradead.org,
	Anis Chali <anis.chali@ro-main.com>
Subject: Re: [PATCH] usb: storage: make disk cdev name configurable via Kconfig
Date: Mon, 31 Aug 2026 11:04:26 +0000	[thread overview]
Message-ID: <af5454bb-e9d0-4f75-af99-e0f95c4a1ecb@pengutronix.de> (raw)
In-Reply-To: <178793449978.1088451.1834449601249374666.b4-reply@b4>

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@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 |




  reply	other threads:[~2026-08-31 11:05 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-06-23 14:26 chalianis1
2026-06-30 12:41 ` Sascha Hauer
2026-07-07  5:57   ` [PATCH] USB: make storage device name configurable chalianis1
2026-08-27 12:01   ` [PATCH] usb: storage: make disk cdev name configurable via Kconfig chalianis1
2026-08-28 14:39     ` Sascha Hauer
2026-08-28 16:28       ` chalianis1
2026-08-31 11:04         ` Sascha Hauer [this message]
2026-08-31 11:17           ` chalianis1

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=af5454bb-e9d0-4f75-af99-e0f95c4a1ecb@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --cc=anis.chali@ro-main.com \
    --cc=barebox@lists.infradead.org \
    --cc=chalianis1@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox