NFS test: rearrange the server tree so we can differentiate NFSv3 vs NFSv4

master
David Dillow 2009-06-06 01:22:54 -04:00
parent d462f6dc65
commit 35b709957f
3 changed files with 5 additions and 6 deletions

View File

@ -13,7 +13,7 @@ subnet 192.168.50.0 netmask 255.255.255.0 {

group {
# NFSv3 root=dhcp or root={/dev/,}nfs, use server-id
option root-path "/client";
option root-path "/nfs/client";

host nfs3-1 {
hardware ethernet 52:54:00:12:34:00;

View File

@ -1,3 +1,2 @@
/ 192.168.50.0/24(ro,fsid=0,insecure,no_subtree_check,no_root_squash)
/client 192.168.50.0/24(ro,insecure,no_subtree_check,no_root_squash)

/nfs 192.168.50.0/24(ro,fsid=0,insecure,no_subtree_check,no_root_squash)
/nfs/client 192.168.50.0/24(ro,insecure,no_subtree_check,no_root_squash)

View File

@ -99,8 +99,8 @@ test_setup() {
)

# Make client root inside server root
initdir=mnt/client
mkdir $initdir
initdir=mnt/nfs/client
mkdir -p $initdir

(
. $basedir/dracut-functions