#!/sbin/sh
#	Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T
#	  All Rights Reserved

#	THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF AT&T
#	The copyright notice above does not evidence any
#	actual or intended publication of such source code.

#ident	"@(#)filemgmt:bin/valdeffs.sh	1.1"
FS=$1
#search vfstab for file system name, if found success else failure
if test "$FS" = "ALL"
then
	echo "true"
	exit 0
fi
while read fsys dummy mountp dummy
do
	case "$mountp" in
	'-') 
		continue;;
	'mountp' )
		continue
	esac
	if test "$mountp" = "$FS"
	then
		echo "true"
		exit 0
	fi
done < /etc/vfstab
echo "false"
exit 1
