Re:Dot Dot Considered Harmful
by IridiumFX on Wednesday November 28, 2018 @02:49PM
(#18554988)
It’s a thing born in google. It shows. The reasoning behind problems and solutions is so abstract that makes for a beautiful paper or a nightmarish reality. In the ‘80s there was a little known machine, called the Commodore Amiga. Paths were addressed by a volume:folder/file schema. Apps had logical volumes too (progdir:) and the os injected others (env: temp: fonts: ..) guess what? Just use that schema and control what an app can access or not. If you don’t give me a volume for a disk, I cannot make my way to it if it’s not collated into a mountpoint thing
[ Parent
| on HN ]
This particular idea wasn't born in Google; it traces back through previous secure OSes like EROS and KeyKOS maybe with a dash of Plan 9 thrown in.
NLTSS as well
Re:Dot Dot Considered Harmful
by ycmbntrthrwaway on Wednesday November 28, 2018 @03:28PM
(#18555332)
What you describe is called "namespaces". Plan 9 and Linux have them already.
In Plan 9, special measures were taken to get dot dot right, not so much because of private namespaces but because of bind.
For those uninitiated to Plan9, binds are basically the replacement for symlinks (they're kind of like a mix of mount namespaces and bind mounts but more fundamentally baked into Plan9).
Re:Dot Dot Considered Harmful
by mixmastamyk on Wednesday November 28, 2018 @03:25PM
(#18555294)
I wouldn't say the Amiga was little known, though it did lose the war over the desktop.
I like that syntax by the way, kind of like drive letters but much more descriptive and not limited to A-Z. Netware also used it for full path specs.
I believe it comes from DIGITAL systems, eg VMS.
Re:Dot Dot Considered Harmful
by GauntletWizard on Wednesday November 28, 2018 @03:40PM
(#18555446)
Docker "Volumes" are headed that way... but aren't quite there yet. There's a lot of finer detail to hash out first, though.