11108LocalHardDiskFileSystemHarmonyReleaseIntroductionThe1108harddiskfilesystemisdesignedtoprovideInterlisp-Duserswithaflexiblemechanismforstoringandaccessingfiles.Likethefilesystemsforthe1100and1132,the1108filesystemsupportsfeatureslikerandomaccessandversionnumbersonfiles.Inadditionthe1108localfilesystemsupportsahierarchicalnamingstructuresforfiles.Thoughthecurrentreleaseofthe1108filesystemdoesnotsupportdirectaccessfromwithinInterlisp-DtoMesaandStarfilepartitions,itispossibletohavepartitionsforMesaandStaronthesamediskusedbyInterlisp-D.PartitioningtheDiskTheharddiskusedwithan1108maybepartitionedintouptotenregionscalledlogicalvolumes.SomelogicalvolumesmaybeusedtoholdInterlispvirtualmemories,sometoholdInterlispfiles,whileothersmaybereservedforStarandMesafiles.YoucanpartitionthediskwiththeInstallationUtilityfloppy.Sincepartitioningtheharddiskerasesallitscontents,youareadvisedtopartitionthediskappropriatelybeforestoringanythingonit;otherwise,youwillhavetooffloadallfilesfromthedisk,repartition,andthencopythefilesbacktothedisk.InordertoruntheInterlisp-Dsoftware,alogicalvolume(usuallynamedLisp)isneededtocontainthesystemvirtualmemoryandmicrocode.Itshouldbe16,200pageslong;ifshorter,itmustbethelastlogicalvolumeonthedisk.Thislogicalvolumeshouldnotbeusedforuserfilespace.Ifyouwishtostoreuserfilesontheharddisk,youshouldallocateatleastonelogicalvolume(usuallynamedLispFiles)forthispurpose.Suchvolumescanbeofanydesiredsize,butarerecommendedtobebetween1000and40000diskpages.Solongasthereissuchavolume,andyouhaveatsomepointcreatedaLispdirectoryonit(seenextsection),youwillhavealocaldiskdevicecalled{DSK}.ThisdevicecanbeusedfromwithinInterlisp-Djustlikethe{DSK}deviceonthe1100and1132,exceptthatitsupportsahierarchicalnamingstructureforfiles.IfyoudonothaveavolumewithaLispdirectoryonit,Interlispwillemulatethe{DSK}devicebyacoredevice,whichisfineexcept:(a)Thecoredeviceprovideslimitedscratchspaceforsomesystemprograms;(b)whenrunningGREET,Interlispwillfailtofind{DSK}INIT.LISPandwillhavetoprompttheuserforaninitfile;and(c)sincethecoredeviceiscontainedinvirtualmemory,it(andthefilesstoredonit)canlastonlyaslongasyoukeepyourvirtualmemoryimage.InstallingaFileDirectoryonaLogicalVolume q?` p q?` g_p)Lq*L b5 b5 ` `p_r3%*a/N3r:_!t]!*2]! [Us [U Y Y X X VIr UVIsVI[VI Tq T St K`[!#?*W,62M ; ?CrDJJS QVO'd+,X0y36=h@(CHGJJQV Oih&%+/5a:y=CJJO M "z#}'+71`8:} DJJM K zSz!$Q*036::=CGJJK J2eu $ -/480<(?K GI+JJJ2 Hi[/7  $(&+.05%8<> GH[HaHi Fu F E E Cr 5gC B,u B, @t  o$(+ 4B7:<?EJJ@ >#+@/2M69@=E#JJ> =86$}(-30709@CGJJ= ;8"T%~)b-00;8v;8 :1? ;8t;8?EFSJJ;8 9o vn#/%'/)2O5-;X=4D_G=JJ9o 7 G T'*m, 5?8<9@BHoJJ7 5 rHN !t$(,B/268k;A>5 4Nq 4N 2t L0 "*,0184? DI*JJ2 0k!'.l1 :;T=HBEeJJ0 /*N w!$W'u*069RCBWEiJJ) (LG+ %(`,3938}?BEyGJJ( &=z $r&V(/A3Z6;?EDvDG%JJ&= $t $!%@)u+/4k:<?GIAJJ$t " `CQ"$R(b,1X6S< <@lEHJJ"  k K#&)/ 4Y69=AEJJ  8 ' .u045M5S P P  "~i $&B*-146`=A GJJ B{ %z'%*v0*25 >'DJJ i4 )+~0 6=DGJJ , J #*'B)&/1588:=AD[FJJ, c Z(!0'.>/36:?B)DlGJJc  ILiY 1%,v12R2X  q    r l#&}(,/7P s 7V ]q ] q?`2AnInterlisp-Dfiledirectorymustbeinstalledonan1108volumebeforeanyfilescanbewrittentoit.ThisisdoneusingthefunctionDFSCREATEDIRECTORY:(DFSCREATEDIRECTORY)[function]DFSCREATEDIRECTORYinstallsafiledirectoryonthenamedlogicalvolume.Forexample,(DFSCREATEDIRECTORY'LispFiles)willinstallaLispdirectoryonthelogicalvolumenamedLispFiles.WhenDFSCREATEDIRECTORYfinishes,itprintsamessagestatingthatthelogicalvolumenowhasadirectory.OnemusttakesomecareininstallinganInterlispdirectoryonavolumenottoinadvertentlydestroyinformationalreadystoredthere.Forinstance,ifthelogicalvolumealreadyhasMesaorStarfilesonit,accesstothesefileswillbelost.IfthelogicalvolumealreadyhasaLispdirectoryonit,thatdirectoryandhenceaccesstothefilesitcontainswillbelostifanewdirectoryisinstalled.Thespaceusedbythedirectoryandfileswillalsobelost.InstallinganInterlispdirectoryissomethingthatshouldonlyhavetobedonethefirsttimethelogicalvolumeisused.Afterthat,thesystemwillautomaticallyrecognizeandopenaccesstothelogicalvolumesthathaveInterlispdirectoriesonthem.FileNameConventionsEachlogicalvolumewithaLispdirectoryonitservesasadirectoryofthedevice{DSK}.Filesarereferredtoas{DSK}file-nameThusthefileInit.lisponthevolumeLispFileswouldbecalled{DSK}INIT.LISP.Inaddition,youcansimulatesubdirectoriesinfilenamesbyusingthe>charactertodelimitsubdirectorynames.Thereisn'treallyasubdirectorystructure,butthenamingconventionmakesitappearasifoneexists,andletsusersgroupfiles.Fileswithsubdirectoriesarewritten{DSK}subdir1>...>subdirN>file-nameForexample,supposeyouhadafileLRdesign.teditonthesubdirectoryParserGeneratoronthesubdirectoryCompileronthedirectory(logicalvolume)LispFilesoftheharddiskdevice;it'snamewouldbewritten{DSK}COMPILER>PARSERGENERATOR>LRDESIGN.TEDIT.Youcandefaultfilenamesforthe1108harddiskinanunusualbutsimpleway.Thatis:ifthefiledoesnothaveasubdirectoryandyouleaveoutthedirectory(logicalvolume)name,thedirectorywilldefaulttothenextlogicalvolumewhichhasaLispdirectoryonitafterthevolumecontainingthecurrently-runningvirtualmemory.ThusifyourdiskhaslogicalvolumesLisp,Tajo,andLispFiles,andtheLispvolumecontainstherunningvirtualmemory,andtheLispFilesvolumehasaLispdirectoryonit(andtheTajovolumedoesn't),then{DSK}INIT.LISPwillrefertothefile{DSK}INIT.LISP.Thisdefaultingconventionisnecessitatedby ] g,q)L*L at ~_#&-)/h15;@D-GJJa `2 SC#&-Y-Y`2w`2@`2 ^o ^o \6 @\ [gq [g YwYtY#$'/O14:@lG!GJJY X 77X wX %e 0{X tX 04/9:>EGJJX VCn #$)%)%VCwVC;IVCtVC;BDIJJVC Tz"L(@+.0 7`Tz R R P yD?! ),x3;y>?F%HJJP O # $+!0`5p69@@B]EjJJO MVn< Y$3'*X,138`G<JJG F2v<aR"&5**-28:p>?TCGJJF2 Di  %(,236<`C"FJJDi B P E B Aq A ? ? =r9 = U# ,f/}>CI5t5JK,K,5 lI -&+9/w2 :>ADJJl { D'o*-58;I>j?CJJ  | C'U++ w 9 t :o>BDGJJ w#& t $%*6 3( <> HJJ  ) q?`,3severalpartsoftheInterlispsystemwhichcreatescratchfilesonthedevice{DSK}withoutspecifyingadirectory(logicalvolume).Note:Currently,thelocalfilesystemdoesnotfollowthedefaultingconventiondescribedaboveineverysituation.Forexample,DIR{DSK}FOO*willnotlistallofthefilesstartingwiththecharactersFOOonthelocalfilesystemvolume,butDIR{DSK}FOO*will.Ingeneral,theusershouldsupplythe"full"devicename{DSK}whenusingthelocalfilesystem.ItisalsopossibletoconnecttothelocalfilesystemwithCONN{DSK}andmanipulatefileswithoutspecifyingthedevice.AccessingFilesFromInterlisp-DOnceanInterlispdirectoryhasbeeninstalledonalogicalvolume,anyprogramrunnninginthesystemhasaccesstofilesonthethevolume.Accessisprovidedthroughtheusualdeviceindependentfileinterface:CONN(toconnecttoanydirectoryorsubdirectoryonthelocaldisk),OPENFILE,CLOSEF,DELFILE,GETFILEINFO,SETFILEINFO,BIN,BOUT,LOAD,etc.OtherUsefulFunctions(VOLUMEDISPLAY)[function]canturnonadynamicallyupdatedstatuswindowforthelocaldiskshowingthenamesofthevolumes,theamountofspaceallocatedtoeachvolumeandtheremainingspaceoneachvolume.='ONturnsthestatusdisplayon;='OFFturnsitoff.(Manuallyclosingthestatuswindowwillalsoturnitoff.)IftheVolumeStatuswindowison,itisupdatedasspaceforfilesisallocatedandreleasedduringthecourseofanInterlisp-Dsession.Inaddition,an"*"characterisdisplayedinthefilesystemstatuswindowtotheleftofeachvolumenamethathasanopenInterlispfiledirectoryinstalledonit.ThisnotationindicateswhichofthelogicalvolumesonthelocaldiskareaccessiblefromInterlisp-D.(VOLUMES)[function]returnsalistofthenamesofthelogicalvolumesonthe1108.(VOLUMETYPE)[function]returnstheatomLISPFILEifthenamedvolumehasanInterlispfiledirectoryopenforInterlispaccess,andtheatomPILOTotherwise.(DISKPARTITION)[function]asonthe1100and1132,returnsthenameofthevolumecontainingthecurrently-runningvirtualmemory.J  ft)Lq*L at &+17:=I@WEJJa `2E R &-c`2 ^i ^i \  #_)y-06/9r B JJ\ Zjn $%X(v//ZwZ3A EJJWE U|U|wU|U|tU|$r)T,z03:M:<>BHJJU| S!\%<% G?JJS QE R( `QwQ!b!bQtQ!hQ P! P! N,r, *N, LZt LZ JA <#'/p2 39@TCJJJ HA? %(+.v14;<-ACJJH F}\" &) 1v1vFwF5~FtF58N>y@VCJJF E6 P G %%E6wE6.E6tE6/E/EE6wE65QE6tE666E6wE6=E6tE6>>E6wE6 IE6tE6JJE6 Cmw  CmtCmCmwCmCmtCmCmwCmCmtCmCmwCm"CmtCm#h&Cm Aq A @ @ >r%!> =0u =0 ;w !" +<; :t : 87 Vs &,258<@GJJ87 6n-T ').694=D-GJJ6n 4K#E##4w4)4t4*,,4w4/4t4/|36;ADeDe4w4Jq4t4JJ4 2 2w22t2]e"!'*U/]58;@GJJ/J -lh # ,2a25 AI+JJ- +~W-#*%+.137]=SAEHJJ+ )G r'*v,-18@EGJJ) (&Y:"%e -B11 :n:t(& &] &] $w "$ "t " !-E"'.037!- d d w  -: 7T t  4YY4w4i4t4!p$a)0 3)5<?FJJ4 k k^##kwk(&ktk( 0hk   w %0 ;t ; r zW_!(,81407> GJJr :$  R q?`4ErasinganInterlispFileSystemVolumeAtsomepointintimeitmaybecomenecessarytoeraseanentireInterlisplocalfilesystemvolume.Forexample,youmaywishtousethatvolumeforstoringandexecutinganInterlispvirtualmemoryimage.Alternatively,youmayhaveaccidentlyusedDFSCREATEDIRECTORYonanalready-existingfilevolume,andyouwishtoreclaimthespacethatwaslost.Unfortunately,thereiscurrentlynoeasywaytodothisfromwithinInterlisp.ToeraseanentireInterlisplocalfilesystemvolume,dothefollowing:1)BeforeleavingInterlisp,callthefunction(DFSPURGEDIRECTORY)[function]Thiswillremovethefiledeviceassociatedwiththevolumeandwillmakenon-Lisptools(suchastheInstallationUtilityfloppyandtheLispInstallationTool)abletorecognizethevolume.2)LOGOUTfromInterlisp,andboottheInstallationUtilityfloppy.Thiswilldisplayamenuofoptions.Selecttheoptionwhichsaystoerasethelocalfilesystemlogicalvolume.3)RestartyourInterlispmemoryimage.LimitationsOnlypartialscavengingserviceisprovided.Therearetwolookupstructuresstoredoneachlispfilesystemvolumes:One,thedirectory,mapsliteralfilenamesontofileIDnumbers;theother,thevolumefilemap,mapsfilenumbersontorunsoffilepages.Ifthedirectorygetssmashed,itcanberebuilt;seethedocumentationfortheDlionFSScavengepackage.However,intheunlikelyeventthatthevolumefilemapgetssmashed,thereisnorecourse.ItisexpectedthatavolumefilemapscavengerwillbeincludedintheIntermezzoreleaseofInterlisp-D.AtthecurrenttimethereisnoprovisionfordirectlyinstallingaSYSOUTmadebytheInterlisp-Dfilesystemonan1108localdisk.DoingthisrequiresmorecompatibilitywiththePilotdiskhandlingsystemthanisnowimplemented.SYSOUTScanbemadedirectlytofloppydisks,however.ItisalsopossibletomakeaSYSOUTdirectlytoafileserver(installationofInterlisp-Dfromafileserverissupported)ortomaketheSYSOUTonalocaldiskvolumeandcopyittotheserverfromInterlisp-DviathefunctionCOPYFILE.  ft)Lq*L ar!)1]a `7q `7 ^t c1A? &.05J7<CGJJ^ \ "&9*M.04782>AnGJJ\ [J#+1_2 >sBVFJJ[ YJ CFFYJwYJ(jYJtYJ(+O-:=DRGJJYJ W 0 $'( 3869A]CGRJJW U  WT "?"%)t+07;>DeJJU S  lS R& R& P] %s~ "$++P] N N Lw4H5J @`@fL K-t K- Id Srsq" + /28.;?CJJId G%' !',0W3p7[ @EiHJJG EtJ\E D D B9 C CB9wB9OB9tB9 0!t%''B9vB9 1.6B9tB96<<@QCIJJB9 @pY *%*.05=8M> < < ; %/#(; 9q 9 8. 8. 6pr %6p 4q 4 3Ft7 "$, ,147= EJJ3F 1} @3iX#^#'* 27ABEJK+K+/ - l05#*%B(+w2 5S8 DGJJ- ,"\'n)f,J37;]>ADBG#JJ," *Y 3%Z%')04i5;?BJJ*Y ( >Y6! #)+? 4%( & & $ lqA "t* ,3 ; <DHJJ$ #5 d 3 z#F&**/T345;n?RFJJ#5 !l 5X"&d.Z49l;? JK+K+!l m}*"m$K)^.*5p5795<CDIJJ Q&V$ ./1 :?7@D I*JJ  \\%(O)-17;>@BEJJ H j@",,H q?` ~GACHA ~GACHA  CLASSIC ~GACHA  CLASSIC ~GACHA  HELVETICA~GACHA ~GACHA > wi%oj/(&Bj'{ERIS}HARMONY>DOC>DLIONFS.TEDIT;2 STANSBURY.PA19-Feb-85 14:27:10