15b6f6e
#!/bin/sh
6f379f7
nodevs=$(< /proc/filesystems awk '$1 == "nodev" && $2 != "rootfs" && $2 != "zfs" { print $2 }')
15b6f6e
renice +19 -p $$ >/dev/null 2>&1
5aabb41
ionice -c2 -n7 -p $$ >/dev/null 2>&1
15b6f6e
/usr/bin/updatedb -f "$nodevs"