Am 08.12.2016 um 13:33 schrieb Andreas Born: > Hi all, > I need a device to be automatically mounted on access and unmounted when being > idle. My /etc/fstab entry: > > /dev/sdc1 /mnt/auto ext4 defaults,noauto,x-systemd.automount,\ > x-systemd.idle-timeout=10 0 0 > > Systemd correctly creates the mnt-auto.mount und mnt-auto.automount unit files > and automounting works perfectly. > > x-systemd.idle-timeout=10 is getting translated to TimeoutIdleSec=10s within > mnt-auto.automount. According to the manpages (sytemd.automount(5)), the > parameter TimeoutIdleSec specifies the time interval after which the device is > to be be unmounted: > > "TimeoutIdleSec: Configures an idle timeout. Once the mount has been idle for > the specified time, systemd will attempt to unmount." > > However, this never happens. It seems that this parameter is completely > ignored and the device never unmounted. > > Is it a bug, or what did i miss to get it working? Are you sure nothing is keeping that FS busy? -- Why is it that all of the instruments seeking intelligent life in the universe are pointed away from Earth?
Attachment:
signature.asc
Description: OpenPGP digital signature