public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* /proc/partitions not done updating when init is ran?
@ 2004-02-12  2:42 Nick Bartos
  2004-02-12  4:58 ` Marcos D. Marado Torres
  0 siblings, 1 reply; 7+ messages in thread
From: Nick Bartos @ 2004-02-12  2:42 UTC (permalink / raw)
  To: linux-kernel

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?

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2004-02-13  3:28 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-12  2:42 /proc/partitions not done updating when init is ran? Nick Bartos
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox