NAME

get_mount_dir - determine the directory path for mounting diskless nodes' individual file systems


MODULE

diskless


SYNOPSIS

get_mount_dir <hostname>


DESCRIPTION

This script calls the node_hierarchy_path() subroutine in Local.pm to help determine what path on the boothost should be mounted as the given node's individual (read-write) file systems (such as etc, dev, and var). The path returned is relative to the boothost's diskless architecture specific root directory (/cluster/machine/rh-7.2-alpha for example) and then followed by the hostname.

For example, ``get_mount_dir node.n-3.t-0'' would return ``t-0'', and the full path on the boothost to mount the diskless node's /etc directory would then be /cluster/machine/rh-7.2-alpha/t-0/node.n-3.t-0/etc


SEE ALSO

Local.pm rc.cit build_diskless