lkml.org 
[lkml]   [2012]   [Feb]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectNo /dev/root with devtmpfs?
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


\
 
 \ /
  Last update: 2012-02-06 12:33    [W:0.090 / U:0.740 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site