Earlier quoted context omitted.
What special about NT kernel that's not in linux kernel ?
Proper support for paged kernel memory? Async-by-default I/O? Must better power management (compare win vs linux battery life on same hardware).
Why is the DOS path character "\"? (2005)
71–80 of 166 posts
Re: Why is the DOS path character "\"? (2005)
#72Can anyone explain why was that a problem, from technical point of view? They already had paths starting with "driveletter:", not like unix with just "/". Why would it be a problem for parser to distinguish between filepaths and arguments switch?
Because paths don't have to start with a drive letter – a path like \foo\bar is relative to the current drive. "DIR \W" does a DIR of the "\W" directory on the current drive. "DIR /W" does a DIR listing in wide format.
"DIR/W" is the same as "DIR /W".
Which would have made it impossible to determine whether you want to invoke the command "DIR" in the current directory, or the command "W" in a subdirectory named "DIR".
Re: Why is the DOS path character "\"? (2005)
#73Do you correct people when they say “back slash” when reading out a url? When it’s actually a forward slash? Is there a name for this phenomenon? Everyone knows it’s a slash except when its used for something computery. Then it somehow becomes a backslash.
Re: Why is the DOS path character "\"? (2005)
#74The complete list of the 12 was: # $ @ [ ] \ ^ ` { } | ~. Notice that / is safe.
They avoided the problem for all the Western languages by inventing their own 8-bit code (this was before the ISO 8859 standards) and always using ASCII in the lower half.
Re: Why is the DOS path character "\"? (2005)
#75Do you correct people when they say “back slash” when reading out a url? When it’s actually a forward slash? Is there a name for this phenomenon? Everyone knows it’s a slash except when its used for something computery. Then it somehow becomes a backslash.
But technically it's a solidus not a slash.
Re: Why is the DOS path character "\"? (2005)
#76Re: Why is the DOS path character "\"? (2005)
#77Earlier quoted context omitted.
Because paths don't have to start with a drive letter – a path like \foo\bar is relative to the current drive. "DIR \W" does a DIR of the "\W" directory on the current drive. "DIR /W" does a DIR listing in wide format.
Even worse, there was (and still is) no requirement for a command and its switches to be separated with whitespace. "DIR/W" is the same as "DIR /W". Which would have made it impossible to determine whether you want to invoke the command "DIR" in the current directory, or the command "W" in a subdirectory named "DIR".
Of course, they didn't use unixy paths for directories. A fully-qualified file name would be something like (and it's been decades so if I get it wrong forgive me) DRA0:[SYS.USERS.BREGMA.PROJECT.SOURCES]HELLO.C;1 and anyone who was sane would use logical names in DCL to make things readable.
Re: Why is the DOS path character "\"? (2005)
#78Earlier quoted context omitted.
>in Linux you have ‘root’ and everything else Well, you do have: - capabilities (which are so coarse-grained as to be practically useless) - 8 types of namespaces - seccomp-bpf - LSM (AppArmor, SELinux, TOMOYO, etc)
The big difference is when you're in a multi-computer (Active Directory / NIS / LDAP) environment. On UNIX all the IDs are smallish integers, so you have to be careful to ensure they're unique and non-overlapping. On Windows you have a "SID" which is variable length and (for users) usually a big random number. https://docs.microsoft.com/en-us/troubleshoot/windows-server... Windows also differentiates between the huma…
The limitation is that there is one user ID, 0 which can do everything and all the other IDs can do almost nothing.
This has nothing to do with domains and everything with the distinction you describe between the Windows Administrator, local system or even more powerful trustedinstaller accounts.
Re: Why is the DOS path character "\"? (2005)
#79Do you correct people when they say “back slash” when reading out a url? When it’s actually a forward slash? Is there a name for this phenomenon? Everyone knows it’s a slash except when its used for something computery. Then it somehow becomes a backslash.
I don't have an answer but it's exactly the same phenomenon as when people refer to '#' as a hash-tag.
Re: Why is the DOS path character "\"? (2005)
#80hm, because of CP/M, no? it's also where the drive letters came from (and some command names)