From 8c85fa399fa1ed6ac3e402ef557fcd44d1787859 Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Mon, 29 Oct 2007 13:58:40 +0000 Subject: Do an exact match on tmpfs --- init.d/checkroot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'init.d/checkroot') diff --git a/init.d/checkroot b/init.d/checkroot index eadb65c9..f7dc16bb 100755 --- a/init.d/checkroot +++ b/init.d/checkroot @@ -17,7 +17,7 @@ do_mtab() { # makes / readonly and dismounts all tmpfs even if in use which is # not good. Luckily, umount uses /etc/mtab instead of /proc/mounts # which allows this hack to work. - grep -v "^[^ ]* / tmpfs" /proc/mounts > /etc/mtab + grep -v "^[^ ]* / tmpfs " /proc/mounts > /etc/mtab # Remove stale backups rm -f /etc/mtab~ /etc/mtab~~ -- cgit v1.2.3