|
|
DataMuseum.dkPresents historical artifacts from the history of: RC9000 |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about RC9000 Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - downloadIndex: @ T i
Length: 794 (0x31a)
Types: TextFile
Notes: @(#)invfstab.sh 13.1 (RC International) 91/07/31
Names: »invfstab«
└─⟦50656ff4a⟧ Bits:30010538 TX 3.1 Coldstart
└─⟦bbf173f5c⟧ »0004«
└─⟦this⟧ »./usr/sadm/sysadm/bin/invfstab«
#!/sbin/sh # @(#)invfstab.sh 13.1 (RC International) 91/07/31 # Copyright (c) 1984, 1986, 1987, 1988, 1989, 1990 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 "@(#)oamintf:files/bin/invfstab.sh 1.2" DEV=$1 if test -b $DEV -o -c $DEV then BDEVICE="$DEV" else BDEVICE=`devattr "$DEV" bdevice 2>/dev/null` if test "$BDEVICE" = "" then echo "false" exit 1 fi fi while read bdev rdev mountp fstype fsckpass automnt mntopts do case $bdev in '#'* | '' ) continue;; '-') continue esac if test "$BDEVICE" = "$bdev" then echo $fstype $mountp > /tmp/invfstab echo "true" exit 0 else continue fi done < /etc/vfstab exit 1