Linux-mtd Archive mirror
 help / color / mirror / Atom feed
From: Tomas Alvarez Vanoli <tomas.alvarez-vanoli@hitachienergy.com>
To: "linux-mtd@lists.infradead.org" <linux-mtd@lists.infradead.org>
Cc: "richard@nod.at" <richard@nod.at>,
	"miquel.raynal@bootlin.com" <miquel.raynal@bootlin.com>,
	"vigneshr@ti.com" <vigneshr@ti.com>
Subject: specify root squashfs ubiblock by volume name
Date: Mon, 15 Apr 2024 13:48:24 +0000	[thread overview]
Message-ID: <DB9PR06MB7849A67820F6FBA17FF20584C2092@DB9PR06MB7849.eurprd06.prod.outlook.com> (raw)

Hello all,
I have an embedded system in which multiple rootfs are stored in an ubi device as squashfs ubi volumes.
This is to be able to have fallback systems or to be able to store and run different versions of the software easily.
Because the number and order of volumes in the ubi device can change (different configurations, optional log volume, etc),
I have a small patch that allows me to specify the volume using “ubiblock:name”, which mirrors the already possible “ubi:name”,
Instead of specifying the device name for the "root" boot argument.

Is there already a way to do this that I may have overlooked?
If not, do you think this is a feature that would be accepted into mainline?

Many thanks,
Tomas Alvarez Vanoli
______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

             reply	other threads:[~2024-04-15 13:48 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-15 13:48 Tomas Alvarez Vanoli [this message]
2024-04-15 19:06 ` specify root squashfs ubiblock by volume name Richard Weinberger

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=DB9PR06MB7849A67820F6FBA17FF20584C2092@DB9PR06MB7849.eurprd06.prod.outlook.com \
    --to=tomas.alvarez-vanoli@hitachienergy.com \
    --cc=linux-mtd@lists.infradead.org \
    --cc=miquel.raynal@bootlin.com \
    --cc=richard@nod.at \
    --cc=vigneshr@ti.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).