[systemd-devel] fstab Mounts Not Getting Waken Up

Lennart Poettering lennart at poettering.net
Fri Jul 12 09:22:27 PDT 2013


On Fri, 12.07.13 07:25, CACook at Quantum-Sci.com (CACook at Quantum-Sci.com) wrote:

> 
> Lennart Poettering:
> >On Thu, 11.07.13 12:57, CACook at Quantum-Sci.com (CACook at Quantum-Sci.com) wrote:
> >
> >>
> >>I'd understood that if a mount is in fstab, that it should be
> >>re-established when the system wakes.  But that's not happening.
> >>
> >>Meaning two sshfs mounts as so:
> >>sshfs#carl at droog:/	/media/droog	fuse user,auto,_netdev,gid=6,umask=007,cache=no,ServerAliveInterval=15,allow_other,comment=sshfs
> >>0 0
> >>
> >>Why would this be?
> >
> >Entries in /etc/fstab that are listed as "auto" will be mounted at boot,
> >that's all. Not entirely sure what you are referring to as "wake"?
> >systemd resumes from suspend?
> 
> I agree, that is how it is -supposed- to work, but as you can see it
> does not.
> 
> Yes, when the system wakes from suspend, the drive is never mounted.

fstab is applied at boot, not at resume, so if it is not mounted at
resume that is perfectly expected.

Lennart

-- 
Lennart Poettering - Red Hat, Inc.


More information about the systemd-devel mailing list