#!/usr/bin/perl my $root_part; if($#ARGV != -1) { $root_part = $ARGV[0]; } else { $root_part = `awk '{ if (\$2=="/") print \$1}'