Re: X-IDE directory (2)

From: Craig Taylor (
Date: 2008-01-10 23:35:06

To get around some of the issues: 

- Allow drive letters 0-9. Reserve 0 for the root file system. Drive 9
for a 'temporary' file system. 
- Implement a CD command that would map to changing drive 9 to be the
default drive number with the 'ci''d relative to the current drive
number.  Set the default drive number to 9 when used. 

(It may be easier to look at drive 0 as current, and drive 9 as root). 

This way people get their 'cd' commands yet the drive letter combos
still work.  It also allows for sub-sub directories which I could see my
original concept having issues with. (You'ld have to issue something
along the lines of : ci1:=2:image.d64 to change drive 1 to image.d64
that's under drive 2... or some other strange syntax). 

On Thu, 2008-01-10 at 16:24 -0600, Jim Brain wrote:
> wrote:
> > Hallo Jim,
> >
> >
> >   
> >> but what would CI do?
> >>     
> >
> > Change the image.
> >   
> Ah, I was thinking too hard.  I was wondering how one would "alter" an 
> image.  I think is is ill-named, since I can be confused.  I understand 
> it's history, coming from CD, but in CD, you're already in a directory, 
> so it is appropriate to "change" it.  However, for a temp name, it's fine.
> Yes, the idea would offer good initial support, and should be pursued.  
> It also has long term value, which why I am thinking it aloud.
> I had hoped to treat images like "directories", so one would just "CD" 
> into a D64 or D81.  However, Craig's idea is one that Maurice plans to 
> use, where you would "mount" an image under a different partition number.
> The latter does allow using dual drive-ish commands (c0:blah=1:blah), 
> but I see some issues:
>     * You have a finite number of partition numbers to use. (I suppose
>       you could restrict to mounting one at a time, but what if you want
>       to copy a file between two images?)
>     * The DOS needs to track that changes to the underlying directory
>       will affect another partition, like moving an image file while it
>       is mounted.
>     * Most times you don't need the secondary partition number to
>       reference the files.
> Jim
>        Message was sent through the cbm-hackers mailing list

       Message was sent through the cbm-hackers mailing list

Archive generated by hypermail pre-2.1.8.