On Mon, 24 Aug 2026 15:09:30 GMT, James Dow Allen wrote:
Lawrence D'Oliveiro <ldo@nz.invalid> posted:
Unix also copied the dot idea, but purely as a convention: the dot
was just another character that was valid in filenames, ...
Nitpick: The File-System does need to watch out for dot, but not for
extensions. It must detect the directory name ".." (and "."?).
Think of those as reserved entry names, nothing more. They have
nothing to do with the use of rCL.rCY as any kind of rCLseparatorrCY character.
They are also completely unnecessary. They are a hangover from the
early days of the design of the Unix filesystem, and should have been discarded by now.
This is especially important if the user has been chroot'ed into a
sandbox or play-pen.
They require special treatment from the kernel anyway, which is why
putting explicit entries for them into every directory is such a waste
of space and time.
On 2026-08-24, Lawrence DrCOOliveiro wrote:
On Mon, 24 Aug 2026 15:09:30 GMT, James Dow Allen wrote:
Lawrence D'Oliveiro <ldo@nz.invalid> posted:
Unix also copied the dot idea, but purely as a convention: the dot
was just another character that was valid in filenames, ...
Nitpick: The File-System does need to watch out for dot, but not for
extensions. It must detect the directory name ".." (and "."?).
Think of those as reserved entry names, nothing more. They have
nothing to do with the use of rCL.rCY as any kind of rCLseparatorrCY
character.
They are also completely unnecessary. They are a hangover from the
early days of the design of the Unix filesystem, and should have been
discarded by now.
This is especially important if the user has been chroot'ed into a
sandbox or play-pen.
They require special treatment from the kernel anyway, which is why
putting explicit entries for them into every directory is such a waste
of space and time.
As opposed to even more special treatment for some other implementation
of the same?
How would you implement "current directory" and "parent directory"?
I believe what our esteemed Python influencer, Lawrence D'Oliveiro meant
to say, that we should all be using the OpenVMS syntax, even in Posix operating systems, and that is
SET /DEFAULT [-]
for the parent directory, and possibly
SET /DEFAULT []
for the actual current directory.
TOPS-20 works in a similar way, but with "connect" (I set a logical
for "cd") and "<" ">". Or, use the "cz" tool that's floating around
the T20 software sites.
I believe what our esteemed Python influencer, Lawrence D'Oliveiro meant
to say, that we should all be using the OpenVMS syntax, even in Posix operating systems, and that is
SET /DEFAULT [-]
| Sysop: | Amessyroom |
|---|---|
| Location: | Fayetteville, NC |
| Users: | 74 |
| Nodes: | 6 (0 / 6) |
| Uptime: | 03:36:21 |
| Calls: | 1,194 |
| Files: | 1,353 |
| D/L today: |
2 files (1,590K bytes) |
| Messages: | 291,364 |