source:
npl/overig/mlocate/mlocate-run-updatedb
@
2e1206e
Last change on this file since 2e1206e was 2e1206e, checked in by , 8 years ago | |
---|---|
|
|
File size: 138 bytes |
Line | |
---|---|
1 | #!/bin/sh |
2 | |
3 | nodevs=$(< /proc/filesystems awk '$1 == "nodev" && $2 != "rootfs" && $2 != "zfs" { print $2 }') |
4 | /usr/bin/updatedb -f "$nodevs" |
Note: See TracBrowser
for help on using the repository browser.