Hard links (Re: New idea HD for C=)

From: Marko Mäkelä (msmakela_at_cc.hut.fi)
Date: 1999-09-07 16:34:38

On Tue, 7 Sep 1999, Richard Atkinson wrote:

> So does a C64 have to OPEN15,8,15,"/0:name":CLOSE#15 if it wants to change
> directory?

Without the #, yes.  There also are some subdirectory extensions for the
1541.  My favourite is the one that makes use of "&*,u" files.  You just
say OPEN1,8,15,"&subdir":CLOSE1, and the drive (after loading the file
"&subdir,u") will change to that subdirectory.  I think it was that
simple.  I think there was a separate utility for creating subdirectories.

But I don't like changing subdirectories.  I know some people who like to
ls and cd repeatedly, but I'm so used to filename completion that I'd
rather write e.g. ": /etc/[TAB]" to see what files there are.  Now, I'm
not going to ask whether the GNU Readline library has been ported for
cc65, but do the 1581 and the CMD drives support relative addressing of
file names, e.g. "../file" to address a file in the parent directory

Well, the 1581 doesn't seem to know the concept of a parent directory,
unless you create e.g. the file "..,CBM" to the subdirectory, pointing
to its parent directory.  Is that (multiple links to the same partition)
allowed?

And what about multiple hard links to a single file; what will the
validate command do to them?

And what about hard links to directories:

> I was thinking of implementing the IDE drive as drive 1 where the 5 1/4
> inch floppy is drive 0. I'll have a look at the 1581 ROM and see how much
> of it can be adapted.

Good luck, you'll need it. :-)

	Marko

-
This message was sent through the cbm-hackers mailing list.
To unsubscribe: echo unsubscribe | mail cbm-hackers-request@dot.tcm.hut.fi.

Archive generated by hypermail 2.1.1.