[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Apple model history?



In article <1e91tdd.1r30dx7cwu8smN%dempson@actrix.gen.nz>,
David Empson <dempson@actrix.gen.nz> wrote:
 
> Paul Schlyter <pausch@saafNOSPAM.se> wrote:
> 
>> In article <1e8zu2x.1wlb7k31cpyomuN%dempson@actrix.gen.nz>,
>> David Empson <dempson@actrix.gen.nz> wrote:
>>  
>> [Lack of "cd .." command in ProDOS/BASIC.SYSTEM]
>>  
>> Perhaps the oversight is within the file system?  Does a ProDOS
>> subdirectory contain a directory named ".." ????
> 
> No.  There is a close equivalent, however: every subdirectory contains a
> header record, which includes a link back to the parent directory.
 
But this record lacks a named directory entry?  Too bad...
 
> Supporting something equivalent to ".." would require special case code
> in the kernel, which knows to follow the parent directory link.
> 
>> Perhaps you can do some "surgery" on a ProDOS disk, creating a
>> subdirectory entry named ".." and linked to the parent directory?
>> If you do, perhaps "cd .." then will work in ProDOS too?
> 
> Except that a filename starting with period is illegal.  You would need
> to patch quite a lot to support this.
 
OK, give it another, legal, name then -- a name that's unlikely to be
assigned to a normal file or subdirectory.
 
-- 
----------------------------------------------------------------
Paul Schlyter,  Swedish Amateur Astronomer's Society (SAAF)
Grev Turegatan 40,  S-114 38 Stockholm,  SWEDEN
e-mail:  pausch at saaf dot se   or    paul.schlyter at ausys dot se
WWW:     http://hotel04.ausys.se/pausch    http://welcome.to/pausch