I have very little experience with linux, so maybe this is a dumb question :)

I run Ubuntu 24.04 on a machine, and I had an old HDD in a usb-case which I mounted using fstab. Worked fine, but I decided it wasn’t appropriate for my purpose and removed it (physically and from fstab).

But it still shows up in the file manager? What am I missing?

  • @solrize
    link
    55 months ago

    Did you umount the file system before unplugging the drive?

      • @solrize
        link
        55 months ago

        I don’t think so. I guess it’s sort of possible that it automagically does that but I haven’t kept track. I just use umount(8).

      • Possibly linux
        link
        fedilink
        English
        35 months ago

        Definitely no

        Hopefully it wasn’t in use and doing that can cause issues. It probably not a big deal but next time hit the eject button.

      • @[email protected]
        link
        fedilink
        25 months ago

        Nope, it doesn’t work that way. You have to umount it. You could reboot after removing it from fstab, but that’s a bigger hammer than necessary.