this post was submitted on 22 Jun 2023
581 points (99.5% liked)

Memes

47216 readers
798 users here now

Rules:

  1. Be civil and nice.
  2. Try not to excessively repost, as a rule of thumb, wait at least 2 months to do it if you have to.

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] argv_minus_one@beehaw.org 1 points 2 years ago

Drive letters in general are a legacy holdover from MS-DOS. The Windows NT kernel doesn't use them. It is a user-space DLL that maps the kernel's single tree into drive letters.

All other operating systems use a single tree with mount points instead. Windows supports mount points as well, but its default behavior is to assign a drive letter.

Drive letters are still useful, though, if you have multiple drives and

  • they're removable drives (optical disc drives, USB drives, etc), or
  • they're internal, but you want to keep them separate (i.e. not RAID).

Other platforms deal with this by reserving a subtree for mount points (/media on Linux, /Volumes on macOS), which is functionally equivalent to drive letters. This does have the advantage that mounted volumes are identified by a name rather than just a single letter, but on the other hand, the path to the mounted volume is longer and less convenient to type.