mlocate/SOURCES/mlocate-run-updatedb
2021-10-08 13:48:08 +00:00

5 lines
138 B
Bash

#!/bin/sh
nodevs=$(< /proc/filesystems awk '$1 == "nodev" && $2 != "rootfs" && $2 != "zfs" { print $2 }')
/usr/bin/updatedb -f "$nodevs"