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

Re: Modern automounters and umount



On Fri, Feb 21, 2020 at 08:53:50AM -0500, Stefan Monnier wrote:
Indeed.  And FWIW, you should/might be able to avoid the `sudo` by
asking udisks2 to do the unmount

Yep. It requires you to specify the device, rather than the filesystem
mount point:

   $ udisksctl unmount -b /dev/sdb1

But does not require superuser, if udisks2 mounted it on your user's
behalf in the first place.


--
👱🏻	Jonathan Dowland
🔗	https://jmtd.net


Reply to: