27
submitted 4 months ago by EvilCartyen@feddit.dk to c/linux@lemmy.ml

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?

you are viewing a single comment's thread
view the rest of the comments
[-] solrize@lemmy.world 5 points 4 months ago

Did you umount the file system before unplugging the drive?

[-] EvilCartyen@feddit.dk 2 points 4 months ago

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

[-] solrize@lemmy.world 5 points 4 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).

[-] possiblylinux127@lemmy.zip 3 points 4 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 2 points 4 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.

this post was submitted on 08 Jul 2024
27 points (93.5% liked)

Linux

48366 readers
1251 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS