Re: [systemd-devel] How to automount

2015-09-21 Thread Mantas Mikulėnas
> I don't think there's any way to have something auto-unmount There certainly is – udev has been unmounting unplugged drives for many years. It's done by default. On Mon, Sep 21, 2015, 23:10 Paul D. DeRocco wrote: > > From: Umut Tezduyar Lindskog

Re: [systemd-devel] How to automount

2015-09-21 Thread Paul D. DeRocco
> From: Mantas Mikulenas [mailto:graw...@gmail.com] > > > I don't think there's any way to have something auto-unmount > > There certainly is - udev has been unmounting unplugged > drives for many years. It's done by default. Sure, you can get it to unmount after you've removed it, but that's

Re: [systemd-devel] How to automount

2015-09-21 Thread Mantas Mikulėnas
On Tue, Sep 22, 2015 at 7:38 AM, Paul D. DeRocco wrote: > > From: Mantas Mikulenas [mailto:graw...@gmail.com] > > > > > I don't think there's any way to have something auto-unmount > > > > There certainly is - udev has been unmounting unplugged > > drives for many years.

Re: [systemd-devel] How to automount

2015-09-21 Thread Paul D. DeRocco
> From: Umut Tezduyar Lindskog [mailto:u...@tezduyar.com] > > I am not sure if automount is really the right way to go. In the end, > your automount path will fail if your device is not plugged in. A little experimenting showed you're right. > You could always use udev rules