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

This commit is contained in:
austin authored and Richard Purdie committed 2008-12-01 20:52:04 +00:00
1 parent 199828c20e
commit 14ecbd658e
1 file changed
+1 -1
@@ -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