[prev in list] [next in list] [prev in thread] [next in thread]
List: dragonfly-commits
Subject: git: DragonFly_RELEASE_5_2 updatedb(8): Be simple and search from "/" by default
From: aly () crater ! dragonflybsd ! org (Aaron LI)
Date: 2018-06-26 12:52:28
Message-ID: 20180626125228.E5052B322526E5 () crater ! dragonflybsd ! org
[Download RAW message or body]
commit 17021bff834e61e12a47c5bc3b0ea0ff86c8a518
Author: Aaron LI <aly@aaronly.me>
Date: Tue Jun 26 19:38:17 2018 +0800
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.
Summary of changes:
usr.bin/locate/locate/locate.rc | 24 +++++++++++-------------
usr.bin/locate/locate/updatedb.sh | 22 +++++++++-------------
2 files changed, 20 insertions(+), 26 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/17021bff834e61e12a47c5bc3b0ea0ff86c8a518
--
DragonFly BSD source repository
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic