From: "Nick Bartos" <spam99@2thebatcave.com>
To: linux-kernel@vger.kernel.org
Subject: /proc/partitions not done updating when init is ran?
Date: Wed, 11 Feb 2004 20:42:54 -0600 (CST) [thread overview]
Message-ID: <46246.192.168.1.12.1076553774.squirrel@mail.2thebatcave.com> (raw)
I have a problem where it does not look like /proc/partitions is updated
completely by the time init is ran.
Basically I am booting from a usb flash device, and when I try to run fsck
on the device on boot (using LABEL=, which is necessary since the actual
device cannot be assumed in my config) it fails. After further
investigation /proc/partitions does not contain any scsi partitions right
when init is starting, but if I do a "sleep 10" before running fsck then
it works fine.
I can of course put that sleep in there but that is ugly and I have no way
of knowing the maximum delay, so if it took too long then it would not
work and I would be screwed...
Isn't /proc/partitions supposted to be finished updating when init starts?
If this is not a kernel bug (or it won't be fixed for a while), then what
is the deal and how can I fix this cleanly?
next reply other threads:[~2004-02-12 2:43 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-02-12 2:42 Nick Bartos [this message]
2004-02-12 4:58 ` Marcos D. Marado Torres
2004-02-12 12:47 ` Nick Bartos
2004-02-12 13:00 ` Nick Bartos
2004-02-12 17:16 ` Marcos D. Marado Torres
2004-02-13 0:40 ` Nick Bartos
2004-02-13 3:28 ` H. Peter Anvin
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=46246.192.168.1.12.1076553774.squirrel@mail.2thebatcave.com \
--to=spam99@2thebatcave.com \
--cc=linux-kernel@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
all inboxes | Powered by JetHome®