source:
npl/overig/mlocate/mlocate-run-updatedb
@
c403a2d
| Last change on this file since c403a2d 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.
