Skip useless and memory-based folder when create the initial file list.

This commit is contained in:
austin 2008-11-13 06:25:56 -05:00 committed by Richard Purdie
parent 199828c20e
commit 14ecbd658e

View File

@ -13,7 +13,7 @@ fi
# That's our second boot, we can generate the sreadahead file list
if [ -e /etc/readahead.packed.second ]; then
rm -f /etc/readahead.packed.second
find / -type f > filelist.txt
find / -type f | grep -E -v "\/dev\/|\/proc\/|\/sys\/" > filelist.txt
/sbin/generate_filelist filelist.txt
rm filelist.txt