On Mon, 07.07.14 11:14, Samuli Suominen ([email protected]) wrote: > > > On 07/07/14 07:29, microcai wrote: > > a long ago, /dev/root is an symblic to real root device. no matter it is > > on > > NFS or HDD, we can use > > > > /dev/root / auto defaults 0 0 > > > > in fstab to mount / as readwrite. > > > > recently, I recall this old feature, and tryed to use it, but the system > > failed to boot, waiting for /dev/root that never come up. > > > > how to bring back the good old feature that re-use the root device assigned > > on > > kernel command line ? > > > > (This is ugly, I know.) > > We restore the /dev/root symlink in Gentoo same way Debian is restoring > it on non-systemd > systems that still use sysvinit using a "workaround" like,
I'd encourage you not do this. It's not compatible with btrfs or anything like that. You shouldn't lead people into believing this would be a reliable, stable, future-proof API, which in fact it isn't. It's already broken. Lennart -- Lennart Poettering, Red Hat _______________________________________________ systemd-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/systemd-devel
