You are not logged in.
Hello
My computer is set up in such a way that there are internal drives connected to an AHCI interface. My filebrowser is showing them as removable media (since AHCI supports hot-swapping, this would make sense in certain conditions I presume).
However, I could encounter serious breakage if I inadvertently were to remove one of these drives.
My question is, can I somehow set a mount option or a udev rule or anything else that will turn these drives into non-removable media, and if so how?
I've attached a screenshot:
As you can see, the drives at the top have a little eject icon next to them.
Offline
create an entry in fstab for them. the mount point has to be outside of /media i think
Offline
I'm sorry, but that doesn't seem to solve my problem. There are already entries in my fstab file for these drives. If I point them outside of /media (say /mnt) the drives no longer appear in the sidebar at all. I do believe it is necessary to mount in /media, but perhaps with different options...
When I was using IDE mode on my SATA controller, the drives were mounted on /media as well, but did not have the eject icon if I recall correctly. So it should theoretically be possible somehow...
Offline
Though I'm not sure if this is the problem, I know there is a "removable" flag for devices in udev (ATTR{removable}). You could set a udev rule to mark the specific hard drive listed as non-removable.
Offline