/[packages]/cauldron/mlocate/current/SOURCES/mlocate-run-updatedb
ViewVC logotype

Diff of /cauldron/mlocate/current/SOURCES/mlocate-run-updatedb

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

cauldron/mlocate/current/SOURCES/mlocate.cron revision 1093786 by pterjan, Thu Jan 17 21:30:27 2013 UTC cauldron/mlocate/current/SOURCES/mlocate-run-updatedb revision 1093787 by wally, Mon Mar 20 18:15:19 2017 UTC
# Line 1  Line 1 
1  #!/bin/sh  #!/bin/sh
2  nodevs=$(< /proc/filesystems awk '$1 == "nodev" && $2 != "rootfs" { print $2 }')  
3  renice +19 -p $$ >/dev/null 2>&1  nodevs=$(< /proc/filesystems awk '$1 == "nodev" && $2 != "rootfs" && $2 != "zfs" { print $2 }')
 ionice -c3 -p $$ >/dev/null 2>&1  
4  /usr/bin/updatedb -f "$nodevs"  /usr/bin/updatedb -f "$nodevs"

Legend:
Removed from v.1093786  
changed lines
  Added in v.1093787

  ViewVC Help
Powered by ViewVC 1.1.30