[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to NOT automatically mount a specific partition of an external device?



On Thu, Nov 25, 2021 at 09:28:03AM +0100, steve wrote:
It seems like /etc/fstab in not read when plugging in the device.

What's wrong?

The thing doing the mounting is udisks (8). Checking that man-page, one
thing you can do to hint udisks to ignore a device is to have udev set a
property UDISKS_IGNORE. So if you can write a udev rule that matches
your device and sets   ENV{UDISKS_IGNORE}="1", I think udisks will
ignore it.


--
Please do not CC me for listmail.

👱🏻	Jonathan Dowland
✎	 jmtd@debian.org
🔗	https://jmtd.net


Reply to: