[lkml]   [2004]   [Feb]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: getting usb mass storage to finish before running init?
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
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 14:00    [W:0.048 / U:4.192 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site