Comment by Arainach

Comment by Arainach 3 days ago

12 replies

Not while it's mounted. This is akin to complaining that on Linux if you unplug a flash drive and plug in a different one that second drive could "steal" /mnt/sdb1 or whatever.

Filligree 3 days ago

People did complain about that, which is why on Linux today that mount would use the disk UUID or label instead.

So it’s fixed. What’s windows’ excuse? :-)

  • ChrisSD 3 days ago

    Windows also has uuids. E.g.:

        \\.\Volume{3558506b-6ae4-11eb-8698-806e6f6e6963}\
    • Someone1234 3 days ago

      Which can be trivially mapped to directories for aliasing. Just like Linux.

      Windows NT and UNIX are much more similar than many people realize; Windows NT just has a giant pile of Dos/Win9x compatibility baked on top hiding how great the core kernel design actually is.

      I think this article demonstrates that very well.

      • anthk 2 days ago

        In the end, if you think about it, the Win32 subsystem running on top of NT OSes it's pretty much the same concept as Wine running on Unix. That's why Wine is not an emulator. And neither is XP emulating old Win32 stuff to run Win9x binaries.

      • jug 3 days ago

        Yeah, NTFS is quite capable. I mostly blame the Windows UI for being a bit too dumbed down and not advertising the capabilities well.

hulitu 3 days ago

Linux is broken from this point of view. Inserting an USB drive before boot breaks booting .

  • lutusp 3 days ago

    > [ .. ] Inserting an USB drive before boot breaks booting.

    Only if the machine's BIOS is configured to give bootable USB devices boot-order priority. So it's not about Linux -- in fact, the same thing would happen on a Windows machine.

    Remember that in a properly configured Linux install, the boot partition is identified by UUID, not hardware identifier (in /etc/fstab). Consequently if you change a drive's hardware connection point, the system still boots.

  • oasisaimlessly 3 days ago

    Only if you have a broken kernel cmdline or fstab that references /dev/sd* instead of using the UUID=xyz or /dev/disk/by-id/xyz syntax.

    • cesarb 3 days ago

      > Only if you have an old-style kernel cmdline or fstab that references /dev/sd* instead of using the UUID=xyz or /dev/disk/by-id/xyz syntax.

      Fixed that for you. It used to be normal to use the device path (/dev/hd* or /dev/sd*) to reference the filesystem partitions. Using the UUID or the by-id symlink instead is a novelty, introduced precisely to fix these device enumeration order issues.

      • creatonez 2 days ago

        Yes... things were certainly broken in the distant past

  • Xiol 3 days ago

    Certainly doesn't for me. Skill issue.

    • dpark 3 days ago

      “Works on my machine” is rarely a helpful response. Doubling down with the “skill issue” insult makes it rude in addition to being unhelpful.

      Two other people were able to concisely explain the problem instead of being rude and condescending.