From: David Avery <David.Avery@MeyerFamily.org>
To: linux-hotplug@vger.kernel.org
Subject: question on udev device naming before root is mounted
Date: Fri, 07 Feb 2014 02:44:11 +0000 [thread overview]
Message-ID: <CAL6czj9NV-rpbPnbX+p7YOrjXWDmaJKDO9tdpOavc7rKDRXPeA@mail.gmail.com> (raw)
Can the device names for hard drives be forced before root is mounted
in so much so that udev rules can force via a device serial number to
be a specific /dev/sdX device name.
Looking at my pci and bios boot order I shouldn't even need to do this
but I think the defaults of udev or the sysfs?? are to move USB
devices to latter drive letters.
I am booting from a USB 16GB flash drive and would prefer the device
be sda but even if I could force it to be sdz, and force my sata
drives to be specific drive letters based on their serial numbers so
that I can create a hotswap raid array and be confident that once my
drives are installed they won't move around to different device names.
I think this information would be useful to a lot of people who have
simply given up in the past, and after weeks I was at the point of
giving up but Greg's email bot has given me one more ounce of juice to
keep trying. I really would prefer to not bother him directly but I
have a sneaking suspicion what I'm trying to accomplish isn't
possible.
I have this thread: http://ubuntuforums.org/showthread.php?t"02219
on Ubuntuforums.org where I'm trying to find out if this is possible:
I really appreciate any help, and please forgive my demeanor in my
thread on the ubuntuforums page I have a personality that takes an
acquired taste.
If there is any information needed that I haven't provided in the post
at the link above please let me know and I would be happy to provide
it.
next reply other threads:[~2014-02-07 2:44 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-07 2:44 David Avery [this message]
2014-02-07 3:28 ` question on udev device naming before root is mounted Greg KH
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=CAL6czj9NV-rpbPnbX+p7YOrjXWDmaJKDO9tdpOavc7rKDRXPeA@mail.gmail.com \
--to=david.avery@meyerfamily.org \
--cc=linux-hotplug@vger.kernel.org \
/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).