Hi all,
I recently read in [0] that Lisa allows multiple files to have identical paths, with there being an underlying unique identifier for each file.
I've been wondering how this works from a syscall perspective. Granted, the vast majority of software would be written against Toolbox, which appears to handle all of this for the programmer, but it looks like non-Toolbox based software was possible..
What I find most confusing is in the Operating System Reference Manual [1], it doesn't address this aspect of the filesystem in either the text or the API reference and examples. E.g, the on page 2-9, the example for the
I've considered that the paths passed to these functions are the underlying unique identifier, but other examples (e.g., the ones for
Can anyone please explain how duplicate paths work from a userspace perspective?
Thanks!
Neonachronism
[0] https://bitsavers.computerhistory.o...Computer_a_Retrospective_CHAC_V2N1_199407.pdf
[1] http://www.bitsavers.org/pdf/apple/...System_Reference_Manual_for_the_Lisa_1983.pdf
I recently read in [0] that Lisa allows multiple files to have identical paths, with there being an underlying unique identifier for each file.
I've been wondering how this works from a syscall perspective. Granted, the vast majority of software would be written against Toolbox, which appears to handle all of this for the programmer, but it looks like non-Toolbox based software was possible..
What I find most confusing is in the Operating System Reference Manual [1], it doesn't address this aspect of the filesystem in either the text or the API reference and examples. E.g, the on page 2-9, the example for the
MAKE_FILE syscall returns an error if the file already exists. Similarly, the OPEN syscall only takes a regular path as an argument.I've considered that the paths passed to these functions are the underlying unique identifier, but other examples (e.g., the ones for
RENAME_ENTRY), they passed arguments look like regular paths, not the kind of identifiers given in [0]. Furthermore, there are no functions provided to convert between the two kinds of paths.Can anyone please explain how duplicate paths work from a userspace perspective?
Thanks!
Neonachronism
[0] https://bitsavers.computerhistory.o...Computer_a_Retrospective_CHAC_V2N1_199407.pdf
[1] http://www.bitsavers.org/pdf/apple/...System_Reference_Manual_for_the_Lisa_1983.pdf

