Date: Fri, 08 Apr 2016 00:54:31 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 208625] PATCH: mountcritremote: mount -d output format change regression Message-ID: <bug-208625-8@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D208625 Bug ID: 208625 Summary: PATCH: mountcritremote: mount -d output format change regression Product: Base System Version: 10.3-BETA2 Hardware: Any OS: Any Status: New Keywords: patch Severity: Affects Some People Priority: --- Component: conf Assignee: freebsd-bugs@FreeBSD.org Reporter: corsmith@gmail.com Keywords: patch Created attachment 169096 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D169096&action= =3Dedit mountcritremote patch At some point the output format of mount -d changed from: mount_tmpfs ... to: mount -t tmpfs This had a side effect of causing mountcritremote to no longer notice when there were remote file system types that needed mounting. The current check looks like: case "`mount -d -a -t ${fstype}`" in *mount_${fstype}*) echo -n "Mounting ${fsdecr} file systems:" There is no _ in the current output so this will never match. The attached patch simply checks if there is any output re-using the existi= ng idiom earlier in the script to maintain consistency. The new check looks like: case "`mount -d -a -t ${fstype}`" in '') ;; *) echo -n "Mounting ${fsdecr} file systems:" --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-208625-8>