|
|
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 - download
Length: 438 (0x1b6)
Types: TextFile
Notes: @(#)fstyp_special.sh 13.1 (RC International) 91/07/31
Names: »fstyp_special«
└─⟦50656ff4a⟧ Bits:30010538 TX 3.1 Coldstart
└─⟦bbf173f5c⟧ »0004«
└─⟦this⟧ »./usr/sadm/sysadm/bin/fstyp_special«
#!/sbin/sh # @(#)fstyp_special.sh 13.1 (RC International) 91/07/31 #ident "@(#)oamintf:files/bin/fstyp_special. 1.2" # fstyp_special <special> # returns the type of special from vfstab (if any) SPECIAL=$1 BLOCK=`devattr "$SPECIAL" bdevice 2> /dev/null` if [ "$BLOCK" = "" ] then BLOCK="$SPECIAL" fi while read special dummy1 mountp fstype dummy2 do if [ "t$BLOCK" = "t$special" ] then echo $fstype exit 0 fi done < /etc/vfstab