lkml.org 
[lkml]   [2004]   [Feb]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: getting usb mass storage to finish before running init?
From
well, the root filesystem is an initrd, so I can't do that.

I suppose I could compile in the extra info for /proc/partitions and see
if that gives me anything I can keep looking for (don't know if it puts
file system labels in there, but that is probably what I would have to go
on since that is really the only thing that is constant on all systems).

Is there a quick/clean way to query a device and get the label? I suppose
I could use tune2fs or something, but I didn't know if there is anything
better/simpler. I don't know if I like the idea of running tune2fs on
each partition again and again. I guess I could keep a list in memory and
only check each one once, but that is getting a bit more complicated &
time consuming.


>
> Check available devices for root filesystem (in case you're booting
> from IDE). If it's not there, wait a moment, then look for additional
> devices. If nothing shows up, repeat.
>
> --
> Ciao,
> Pascal
>

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:00    [from the cache]
©2003-2011 Jasper Spaans