linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* No /dev/root with devtmpfs?
@ 2012-02-06 11:18 Kirill Smelkov
  2012-02-06 12:10 ` Paul Parsons
  2012-02-06 19:45 ` Kay Sievers
  0 siblings, 2 replies; 17+ messages in thread
From: Kirill Smelkov @ 2012-02-06 11:18 UTC (permalink / raw)
  To: linux-kernel; +Cc: Kay Sievers

Hello up there.

Recently I've reworked my system not to use udev, but use devtmpfs
instead and discovered there is no /dev/root symlink in devtmpfs case.

My setup uses /dev/root early to know what is the boot device and then
do some operations on it like checksumming, etc...

Now when /dev/root is gone the best workaround I could come up with is
to   grep /proc/partitions for '[hs]d[a-z]1'  but it's ugly and will
break when there are several block devices attached.


Is it somehow possible to add /dev/root to devtmpfs?


Thanks,
Kirill

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

end of thread, other threads:[~2012-02-13 19:32 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-02-06 11:18 No /dev/root with devtmpfs? Kirill Smelkov
2012-02-06 12:10 ` Paul Parsons
2012-02-06 12:52   ` Kirill Smelkov
2012-02-06 19:45 ` Kay Sievers
2012-02-07  7:55   ` Kirill Smelkov
2012-02-07 10:05     ` Kay Sievers
2012-02-08  7:35       ` Kirill Smelkov
2012-02-08 16:44         ` Paul Parsons
2012-02-08 17:20           ` H. Peter Anvin
2012-02-08 17:25             ` Kay Sievers
2012-02-08 17:36               ` H. Peter Anvin
2012-02-10  9:04           ` Kirill Smelkov
2012-02-10 13:10             ` Paul Parsons
2012-02-13  8:25               ` Kirill Smelkov
2012-02-13 18:48                 ` H. Peter Anvin
2012-02-13 19:30                   ` Kay Sievers
2012-02-13 19:32                     ` 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;
as well as URLs for NNTP newsgroup(s).