|
|
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: @ F T
Length: 1541 (0x605)
Types: TextFile
Notes: @(#)Form.mount 13.3 (RC International) 91/10/11
Names: »Form.mount«
└─⟦50656ff4a⟧ Bits:30010538 TX 3.1 Coldstart
└─⟦bbf173f5c⟧ »0004«
└─⟦this⟧ »./usr/sadm/sysadm/menu/files/mount/Form.mount«
# @(#)Form.mount 13.3 (RC International) 91/10/11
#ident "@(#)oamintf:files/mount/Form.mount 1.5"
# elif [ $F2 = \"\"] && [$F1 != \"\"]
# then
# echo true
Form=Mount a File System
help=OPEN TEXT $INTFBASE/Text.itemhelp $LININFO
close=unset -l FSTYPE -l RW -l SUID -l RVAL
`readfile $INTFBASE/form.msg | message -p`
done=`indicator -w;
message -t "Mounting file system. Please Wait...";
$OAMBASE/bin/mountfs "$F1" "$F2" "$F3" >/dev/null;
set -l CMD="OPEN TEXT $OBJ_DIR/Text.mountok";
`$CMD
name="Logical volume that contains the file system:"
lininfo=Form.mount:F1
nrow=1
ncol=1
frow=1
fcol=46
rows=1
columns=30
rmenu={ `find /dev -type xlv -exec ls \{\} \;` }
valid=` $OAMBASE/bin/validdev "$F1";
if [ $RET -eq 0 ];
then
echo TRUE;
elif [ "$F1" = "" ];
then
echo TRUE;
else
echo FALSE;
fi`
invalidmsg="Press CHOICES to select valid response."
name="File system mount point name when mounted:"
lininfo=Form.mount:F2
nrow=2
ncol=1
frow=2
fcol=46
rows=1
columns=30
valid=` $OAMBASE/bin/validfs "$F2";
if [ $RET -eq 0 ];
then
echo TRUE;
elif [ "$F2" = "" -a "$F1" != "" ];
then
echo TRUE;
else
echo FALSE;
fi`
#valid=`[ "$F2" != "" -a $OAMBASE/bin/validfs "$F2" -o "$F1"!="" ]`
invalidmsg="$F2 is not a valid filesystem mount point."
name="Read and Write Privileges:"
lininfo=Form.mount:F3
nrow=3
ncol=1
frow=3
fcol=46
rows=1
columns=10
rmenu={ read/write read-only }
value="read/write"
menuonly=true
invalidmsg="Press CHOICES to select valid response."
show=`[ "$F1" != "unknown" ]`