What happened to Drives A and B in Windows - GoTechTalk


Sunday, March 21, 2021

What happened to Drives A and B in Windows

You actually run out of letters. What you could then do. For example, is create a folder path in your main C drive called something like, mount it, then create as many folders as you want in there.
By Sudarshan Yerunkar |  | 🛍 Support me with your Amazon purchases: https://amzn.to/311Gk4H | Posted on 21st March 2021.

Hey everyone Sudarshan here., You probably know anytime you use a Windows PC you're typically always going to see the main installation drive as the C: drive, and you've probably seen that whenever you plug in additional storage devices, whether a USB drive, an internal drive and SD card or whatever, that it will get assigned some other letter after C, like D, F and so on, but you may have wondered, why is the main drive C. Wouldn't it make sense to make A: the main drive and why If you plug in more devices, do they never get assigned as A or B? And how does Windows assign drive letters anyway and wait? Operating systems like Mac and Linux don't have drive letters at all. How do they work? Well? Hold on. Let's take this one at a time and at the end you'll know more than you'll ever need to know about all these questions.

First off, let's not keep you in suspense any longer about the A & B drives.

The reason you never see A & B drives automatically assigned is they are basically reserved for floppy disk drives. Yes, you read that right. It's a holdover from the old days. You see, back in the early 1980s, the first personal computers rarely had hard drives, they were an optional but very expensive feature instead computers just used floppy drives. In fact, in the first version of DOS 1.0, it only supported floppy drives, not hard drives at all. Microsoft than bought DOS and rewrote much of it, and rebranded it as Ms DOS and Ms Dos 2.0 did support hard drives, but even through Ms Dos version. 4.0 when the computer booted up, floppy drives were assigned letters before hard drives were. So, for example, if you had four floppy drives and a hard drive, these floppy drives would get A, B, C and D and it would assign hard drive as E as like an afterthought. It wasn't until Ms Dos 5.0 that the letter C was always assigned to the first hard drive, A & B were still only for the primary and secondary floppy drive, but any additional device after that would just go down the alphabet from D on and I was curious if Windows 10 would actually assign a floppy drive to add this day. So I actually ordered a USB floppy drive, plugged it in, and sure enough it did get assigned to the letter A:, Now you may notice here that I do actually have an SSD mounted to B. That's because the A & B reservation is only for Windows automatically assigning a drive letter. But you can actually do it yourself through the disk manager and you can even assign a drive letter to letter A if you want.

Technically it is possible to change the main drive letter on Windows from C to something else, although it does involve a little bit of work and messing with the Windows registry, I think so it could potentially break some stuff. However, that might not be the best idea for compatibility because some programs may just assume C as the main drive path because it always is, which might cause issues with that program if it's not over the years. I have seen the occasional program. It's very annoying, but it only let you install the program to the C drive, so I have no idea what they would do if there was no C drive.

Alright, so now we know how Windows works with drive letters, but what about Linux and Mac?

Well, they don't even have drive letters that drives, they just have names. But it is a bit more complicated than that. With Linux you have what's called the root directory, which is the highest-level path of the entire file system. You can't back up any further, so to speak, sort of like my computer view in Windows, also called *This PC* in Windows 10, where it shows you all the stuff attached. Of course, the *My Computer * view isn't really a path in itself. It just shows you the devices except in Linux. The root Directory is an actual path and it's also sort of like the main C drive in Windows. If you open the root directory, you do see a bunch of folders. These can be either actual folders on the drive or so called mountpoints, which you can sort of think of like virtual folders or shortcuts. You might be thinking, what If the root folder is as far back as you can go, how does it handle more drives? Because there is no my computer equivalent in many Linux distros. Well, instead of getting a drive letter, you would instead Mount a drive with a path name. Let me explain. So, you install a second hard drive. You can Mount it as \secondary\. Where the first slash is the root directory and then secondary becomes the name of the mountpoint, which again will basically appear as a virtual directory that goes into the root directory, and then if you enter into that directory, it will go and show you what's ever in that hard drive. And by the way, you can call it whatever you want, though it doesn't have to be secondary. I just made that up, but now for any files that are in there, path for them will start with \secondary\ and then whatever else.

What's also different in Linux?

Many devices are commonly mounted with a Mount point in the path called Mount or possibly mnt. So for example, if you have a USB drive it might be mounted as \MBT\USB, so to get to it, you would have to go to the root directory and then mnt and then USB. You could Mount it into the root folder, but apparently, it's common practice to organize mounted things into their own directory. Don't worry if you can't quite wrap your head around the file system in Linux, just know that instead of drive letters, Linux lets you mount it as any name and path.

When it comes to Mac OS.

It's actually similar to Linux because again, there are no drive letters, it just shows the drive's name. Though Mac does make it a little bit easier on users by simplifying everything by hiding the root directory and stuff instead, if you use the File Explorer called Finder, you can view the equivalent of my computer from Windows, where it does actually show you the drives the network devices. So, I would say it's way more intuitive on Mac and it doesn't just show you a bunch of root folders, at least to the user in the back end. I do believe Mac OS still has a file structure similar to Linux because they're both based on Unix after all. Now you might be thinking this is so confusing. Why is Linux so weird? But you might be surprised that Windows can also Mount drives as paths, not just letters. For example, if I plug in a USB drive, you can see it gets auto assigned to the letter L in disk Manager. I can right click it and select change drive letter and path where I can change the drive letter where it shows L. But I can also add a mountpoint by hitting add. Now see the option that says mount. The following empty NTFS folder, now NTFS. Is just the Windows file system. So basically it's saying you can pick any empty folder, so I'll make a folder anywhere like on the desktop called whatever USB and then navigate to it. As the letter L with all the same stuff inside it, so it has two mountpoints or two paths that access that directly into the drive. I can even remove the letter L completely and it will warn you that some programs only work with drive letter paths. But if I do it anyway, now it doesn't even show under this PC, but it still is mounted an accessible from that desktop path. Now what's also interesting is if I unplug the USB drive, the mountpoint actually sticks around on the desktop, but it's just in accessible, then if I plug it back in, I can once again access the drive from that mountpoint.

Another notable thing about this method of mounting is you're obviously not restricted to just 26 letters in the event that you somehow have more than 26 storage devices. So, say that you do and you actually run out of letters. What you could then do. For example, is create a folder path in your main C drive called something like, mount it, then create as many folders as you want in there, and then using the Disk Manager link each of those folders to a different drive and instead of their paths being with a letter, they'd start with C. Mount it, you might realize this sounds awfully similar to how we just explained how Linux works, except instead of beginning with the C drive mounted, it's just the root directory mounted. That might make it a bit easier to understand how the Linux system works now that you've seen how it works in Windows. Alright, so I know we went a lot further than the initial topic of about A & B drives, but hopefully now. you'll have a much better understanding about how drive letters and drive mounting works in windows in general.

No comments:

Post a Comment