#! /bin/sh #---------------------------------------------------------------------------- # /var/install/bin/system-filesystems-list - list filesystems # # Copyright (c) 2005 Frank Meyer # # Creation : 24.07.2004 fm # Last Update: $Id$ # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. #---------------------------------------------------------------------------- . /var/install/include/eislib tty=`tty` cat /etc/fstab | ( clrhome mecho -info "List filesystems" echo techo begin 2 13 11 10 32 5 5 techo row "" -info spec -info file -info vfstype -info mntopts -info freq -info pass row=4 echo ' ---------------------------------------------------------------------------' while read line do set -- $line fs_spec=$1 fs_file=$2 fs_vfstype=$3 fs_mntopts=$4 fs_freq=$5 fs_passno=$6 techo row "" $fs_spec $fs_file $fs_vfstype $fs_mntopts $fs_freq $fs_passno row=`expr $row + 1` if [ $row = 21 ] then echo echo anykey <$tty clrhome mecho -info "List filesystems" echo techo begin 2 13 11 10 32 5 5 techo row "" -info spec -info file -info vfstype -info mntopts -info freq -info pass row=4 fi done ) echo echo anykey