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?

  • EvilCartyenOP
    link
    fedilink
    arrow-up
    2
    ·
    6 months ago

    I figured removing it from fstab was akin to unmounting it.

    • solrize@lemmy.world
      link
      fedilink
      arrow-up
      5
      ·
      6 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@lemmy.zip
      link
      fedilink
      English
      arrow-up
      3
      ·
      6 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.

    • ScottE@lemm.ee
      link
      fedilink
      arrow-up
      2
      ·
      6 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.