updatedb(8): Be simple and search from "/" by default
authorAaron LI <aly@aaronly.me>
Tue, 26 Jun 2018 11:38:17 +0000 (19:38 +0800)
committerAaron LI <aly@aaronly.me>
Tue, 26 Jun 2018 12:51:53 +0000 (20:51 +0800)
commit17021bff834e61e12a47c5bc3b0ea0ff86c8a518
tree2b3bd4e50dab2b488da93b473be41e1d0c173909
parentf4df103439d9bacf98a17533e1c332d29faa741d
updatedb(8): Be simple and search from "/" by default

This reverts the behavior change made in commit
6877ea2d2f7caf9b13202f2524abf3b3cf815b45.

That change causes HAMMER PFSes being ignored from indexing, because the
PFSes, which are null-mounted though, behave like different devices and
thus are ignored by "find -x" (the "-x" option prevents find entering
directories with a different device number).

Workaround or properly deal with the PFSes would be too complex, which I
don't think it's a good idea,  therefore revert to the original behavior.

If one person really wants to ignore the root filesystem but have other
directories indexed, he/she should know to configure the search paths.

Meanwhile, tweak comments and fix whitespaces.
usr.bin/locate/locate/locate.rc
usr.bin/locate/locate/updatedb.sh