[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20120206111853.GA11506@tugrik.mns.mnsspb.ru>
Date: Mon, 6 Feb 2012 15:18:53 +0400
From: Kirill Smelkov <kirr@....spb.ru>
To: linux-kernel@...r.kernel.org
Cc: Kay Sievers <kay.sievers@...y.org>
Subject: No /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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists