]> git.pld-linux.org Git - packages/mlocate.git/commitdiff
- exclude "rootfs"
authorElan Ruusamäe <glen@pld-linux.org>
Tue, 27 Mar 2012 17:10:00 +0000 (17:10 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    mlocate.cron -> 1.4

mlocate.cron

index 27e2ecfc810a716ac22037025cc291c956f4fb80..af8faa2f7b5fa03f16ac95fc29dc8fbfc270bff6 100644 (file)
@@ -1,5 +1,5 @@
 #!/bin/sh
-nodevs=$(awk '$1 == "nodev" { print $2 }' /proc/filesystems)
+nodevs=$(awk '$1 == "nodev" && $2 != "rootfs" { print $2 }' /proc/filesystems)
 renice +19 -p $$ >/dev/null 2>&1
 ionice -c2 -n7 -p $$ >/dev/null 2>&1
 exec /usr/bin/updatedb -f "$nodevs"
This page took 0.078907 seconds and 4 git commands to generate.