Lines Matching refs:dir
98 typeset dir="$1"
100 if [[ -h $ZONEROOT/$dir || ! -d $ZONEROOT/$dir ]]; then
101 fatal "$e_baddir" "$dir"
105 # Like safe_dir except the dir doesn't have to exist.
108 typeset dir="$1"
110 [[ ! -e $ZONEROOT/$dir ]] && return
112 if [[ -h $ZONEROOT/$dir || ! -d $ZONEROOT/$dir ]]; then
113 fatal "$e_baddir" "$dir"
242 # dir: /opt
256 printf("%s %s %s %s\n", dir, type, special, options);
257 } else if ($1 == "dir:") {
258 dir=$2;
541 # a) zonepath itself: This will be a single dir, probably named with the
542 # zone name, it will contain a root dir and under the root we'll see all
545 # top-level dir name matches the ZONEPATH base-level dir name. If not,
592 # If only one top-level dir named root, we are in the
594 # the zonepath so print the top-level dir name.
621 # We need to be in the dir above the ZONEPATH but we need to