perl -le 'print "$_\tdev=",(stat)[0] for @ARGV' /var /var/log