HP3000-L Archives

May 1995, Week 4

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Randy Medd <[log in to unmask]>
Reply To:
Randy Medd <[log in to unmask]>
Date:
Tue, 23 May 1995 13:46:31 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (46 lines)
>Dan Hollis Notes:
----------------
>MPE: FILE DUMMY=DUMMY2          POSIX:  ln -s DUMMY2 DUMMY
>(note: this will place an actual file on the drive, e.g. a permanent file
>equation so to speak. This is Posix symbolic linking of files.)
>
>There is no reason you have to execute these commands from the posix shell.
>E.g., LS.HPBIN.SYS "-al"  works just fine from the CI;  same as:  "ls -al"
>does from the Posix shell.
 
Take care with this last part.  I did the following:
 
  :BUILD OLDFILE;REC=-80,,F,ASCII
  :LN.HPBIN.SYS "-s ./OLDFILE ./NEWFILE"
  :LISTF ???FILE,2
  ACCOUNT=  TELAMON     GROUP=  RANDY
 
  FILENAME  CODE  ------------LOGICAL RECORD-----------  ----SPACE----
                    SIZE  TYP        EOF      LIMIT R/B  SECTORS #X MX
 
  NEWFILE             1B  BAL          9       1024   1       16  1  *
  OLDFILE            80B  FA           0       1023   3        0  0  *
 
  :PURGE NEWFILE
  :LISTF ???FILE,2
  ACCOUNT=  TELAMON     GROUP=  RANDY
 
  FILENAME  CODE  ------------LOGICAL RECORD-----------  ----SPACE----
                    SIZE  TYP        EOF      LIMIT R/B  SECTORS #X MX
 
  NEWFILE             1B  BAL          9       1024   1       16  1  *
 
  :LS.HPBIN.SYS "-l ./NEWFILE"
  lrwxrwxrwx   1 MANAGER.SYS TELAMON 9 May 23 13:43 ./NEWFILE -> ./OLDFILE
  :
 
Notice that the PURGE deleted _OLDFILE_, not NEWFILE, although the
link of NEWFILE -> OLDFILE still remained.  If you build a link using
LN.HPBIN.SYS, you'll have to get rid of it using RM.HPBIN.SYS, _not_
PURGE.
 
--
------------
Randy Medd
Telamon, Inc.

ATOM RSS1 RSS2