Red Hat Bugzilla – Bug 155337
Error messages from find when starting xfs
Last modified: 2007-11-30 17:11:04 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.6) Gecko/20050309 Fedora/1.7.6-0.cvs.20050309
Description of problem:
When booting (and not hiding things with a graphical boot) there comes error messages from find when starting xfs. In C locale, they read like this:
find: warning: you have specified the -maxdepth option after a non-option argument -type, but options are not positional (-maxdepth affects tests specified before it as well as those specified after it). Please specify options before other arguments.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Boot, looking at the messages
Line 39 in the xfs init script reads
if [ ! -e fonts.dir -o -n "$(find . -type f -maxdepth 1 -cnewer fonts.dir -not -name 'fonts.cache*')" ]; then
Obviously, the fix is to put "-maxdepth 1" before "-type f".
*** This bug has been marked as a duplicate of 154056 ***
Ah, I missed to include "devel" in the versions I searched in, before I filed my