I've been working with the new debian-sarge-udev-11-15-2007 filesystem
which kept producing the following errors when I booted into it:
Loading kernel modules...done.
Checking all file systems...
fsck 1.40-WIP (14-Nov-2006)
Setting kernel variables...done.
find: warning: you have specified the -maxdepth option after a
non-option argument -perm, but options are not positional (.
find: warning: you have specified the -depth option after a non-option
argument -mtime, but options are not positional (-d.
find: warning: you have specified the -depth option after a non-option
argument -mtime, but options are not positional (-d.
Setting up networking....
Turns out, their are three find syntax errors in its
/etc/init.d/bootclean.sh script. Here are the fixes:
#jkc ( if cd /tmp && [ "`find . -perm -002 -maxdepth 0`" = "." ]
( if cd /tmp && [ "`find . -maxdepth 0 -perm -002`" = "." ]
then
# First remove all old files.
#jkc find . -xdev $TEXPR $EXCEPT ! -type d -depth -print0 |
xargs -0r rm -f
find . -depth -xdev $TEXPR $EXCEPT ! -type d -print0 |
xargs -0r rm -f
# And then all empty directories.
#jkc find . -xdev $DEXPR $EXCEPT -type d -depth -empty
-exec rmdir \{\} \;
find . -depth -xdev $DEXPR $EXCEPT -type d -empty
-exec rmdir \{\} \;
--Jeff
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|