Harald Hoyer
967cc19ab1
remove all vim and emacs code format comments
11 years ago
Harald Hoyer
e684eab878
nfs/nfsroot-cleanup.sh: silently try to umount rpc_pipefs
12 years ago
Harald Hoyer
2b5cd3dbf8
nfs/nfsroot-cleanup.sh: mount --bind instead of --move
12 years ago
Dave Young
65bb31a405
source dracut-lib.sh in nfs cleanup script
...
nfsroot-cleanup.sh need source dracut-lib.sh for function incol2
Signed-off-by: Dave Young <dyoung@redhat.com>
13 years ago
Harald Hoyer
3b403b32fc
removed trailing whitespaces
14 years ago
Harald Hoyer
d125a47061
mkdir always with -m 0755
14 years ago
Harald Hoyer
8ce58f1f42
add missing shebang
14 years ago
Harald Hoyer
cc02093d69
reformat source code
...
removed tabs and set indention to 4 spaces
added emacs and vi format headers
15 years ago
Harald Hoyer
b6a7c09070
chmod 0755 *.sh
15 years ago
Harald Hoyer
6c4b24afb0
nfsroot-cleanup: don't try to read from nonexistant /tmp/nfs.rpc_pipefs_path
16 years ago
Marc Grimme
2fe2945869
nfsroot-cleanup: make /var/lib/nfs/rpc_pipefs path configurable
...
/tmp/nfs.rpc_pipefs_path can contain the path where
/var/lib/nfs/rpc_pipefs will be moved before switch_root.
This is useful if /var is a separate partition in the real root.
16 years ago
Harald Hoyer
169363e827
add ipv6 rpc.idmapd and various conf files for NFS
...
rpcbind on Fedora does not seem work for NFS4 without IPv6
16 years ago
Seewer Philippe
07b2fbb183
Get rid of cat and grep
16 years ago
David Dillow
92997caf35
cleanup shebangs in sourced scripts
...
All of the scripts are sourced, so there is no need to have
will pick up on the .sh extension.
16 years ago
David Dillow
145ca9e5b3
nfsroot: move to same sort order as block methods
...
There is no reason for this to be a 40nfsroot rather than 95nfs
once other network root handlers are added. Go ahead and move it.
16 years ago
Harald Hoyer
ee0deb9918
better handling of mount moving rpc_pipefs
16 years ago
Harald Hoyer
e6db216f0b
move /var/lib/nfs/rpc_pipefs to NEWROOT only if directory exists
16 years ago
David Dillow
f6f74096f6
nfsroot: mount NFS root from udev rules
...
Work-in-progress to mount NFS root from udev, using the DHCP options and
allowing an override from the kernel command line. Supports NFSv4 w/locking
and NFSv2/v3 with nolock.
This is just an RFC patch, you'll note all the XXX markings where I've been
thinking about how to best do things. In addition, we really want to retry
DHCP and NFS mounting in a loop, in case the servers are down or overloaded
like when booting a full diskless cluster.
16 years ago