0d322b7940
* Thu Aug 26 2010 Miloslav Trmač <mitr@redhat.com> - 0.23-1 - Update to mlocate-0.23 - Don't exclude rootfs, to avoid ambiguity when handling "/" Resolves: #624551
6 lines
192 B
Bash
6 lines
192 B
Bash
#!/bin/sh
|
|
nodevs=$(< /proc/filesystems awk '$1 == "nodev" && $2 != "rootfs" { print $2 }')
|
|
renice +19 -p $$ >/dev/null 2>&1
|
|
ionice -c2 -n7 -p $$ >/dev/null 2>&1
|
|
/usr/bin/updatedb -f "$nodevs"
|