netroot: Use same method to check for already mounted root as init
tree15fb118aaccda60685739d70de1183f92fac2ce4
-rw-r--r-- 42 .gitignore
-rw-r--r-- 17982 COPYING
-rw-r--r-- 964 HACKING
-rw-r--r-- 1769 Makefile
-rw-r--r-- 3771 README
-rw-r--r-- 2609 README.modules
-rw-r--r-- 2892 TODO
-rwxr-xr-x 5382 dracut
-rwxr-xr-x 9908 dracut-functions
-rw-r--r-- 189 dracut.conf
-rw-r--r-- 1743 dracut.spec
drwxr-xr-x - modules.d
-rw-r--r-- 4631 switch_root.c
drwxr-xr-x - test