]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
zfs-functions: skip lines where mntpnt is 'none'
authorGeorgy Yakovlev <168902+gyakovlev@users.noreply.github.com>
Fri, 30 Mar 2018 19:05:24 +0000 (11:05 -0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 30 Mar 2018 19:05:24 +0000 (12:05 -0700)
commit2f291ebaed21090afd784f3b376dcb11465a37df
tree8404195b458b4a36f2845d7143b50d7ed1182278
parent5e00213e430fe9103e263514490d55d10075908e
zfs-functions: skip lines where mntpnt is 'none'

This fixes zfs-mount initscript trying to mount swap volumes
as filesystems or anything that has 'none' as a mountpoint
in /etc/fstab.  Additionally, fixes trying to mount swap volumes
as a filesystem on RHEL.  RHEL defines mountpoint for swap
as `swap`.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Giuseppe Di Natale <dinatale2@llnl.gov>
Reviewed-by: George Melikov <mail@gmelikov.ru>
Signed-off-by: Georgy Yakovlev <ya@sysdump.net>
Closes #7346
Closes #7347
etc/init.d/zfs-functions.in