ものは試し実行してみよう。
”make mrproper”すると ドットファイルは無くなるという話は聞いている ので。”.config”と その 類似のものを 退避させておこう。 全てでは無いが。
# pwd /usr/src/linux-2.4.31 # ls -a ./ .version README crypto/ kernel/ vmlinux* ../ COPYING REPORTING-BUGS drivers/ lib/ .config CREDITS Rules.make fs/ mm/ .config-001-apm-bios Documentation/ System.map include/ myconfig .depend MAINTAINERS arch/ init/ net/ .hdepend Makefile config.SMP ipc/ scripts/ # mkdir zzz # cp .config* zzz/ # ls -al zzz/ total 76 drwxr-xr-x 2 root root 4096 Nov 21 22:17 ./ drwxr-xr-x 16 root root 4096 Nov 21 22:16 ../ -rw-r--r-- 1 root root 31510 Nov 21 22:17 .config -rw-r--r-- 1 root root 33353 Nov 21 22:17 .config-001-apm-bios # mv zzz/ BKUP-CONFIG # mv BKUP-CONFIG/ ../ # ls -a ./ .version README crypto/ kernel/ vmlinux* ../ COPYING REPORTING-BUGS drivers/ lib/ .config CREDITS Rules.make fs/ mm/ .config-001-apm-bios Documentation/ System.map include/ myconfig .depend MAINTAINERS arch/ init/ net/ .hdepend Makefile config.SMP ipc/ scripts/
くれぐれも誤解の無いように これは 単に一例にしか過ぎないものです。デ ストリビューションとか ヴァージョン 等 環境が 異なれば変わってきます。通 常 ”.config-001-apm-bios”は 当然存在していません。個猫が 一度 処理した ものを 残していただけですし、条件に依っては”.config”なんかも 存在して いないかもしれません。
# cd ../ # du -h linux-2.4.31/ ... 262M linux-2.4.31 # cd - /usr/src/linux-2.4.31 # make mrproper make[1]: Entering directory `/usr/src/linux-2.4.31/arch/i386/boot' rm -f tools/build /* 注意 勝手な改行を → で 示す */ rm -f setup bootsect zImage compressed/vmlinux.out rm -f bsetup bbootsect bzImage compressed/bvmlinux.out make[2]: Entering directory `/usr/src/linux-2.4.31/arch/i386/boot/compressed' rm -f vmlinux bvmlinux _tmp_* make[2]: Leaving directory `/usr/src/linux-2.4.31/arch/i386/boot/compressed' make[1]: Leaving directory `/usr/src/linux-2.4.31/arch/i386/boot' find . \( -name '*.[oas]' -o -name core -o -name '.*.flags' \) -type f -print \ | grep -v lxdialog/ | xargs rm -f rm -f kernel/ksyms.lst include/linux/compile.h vmlinux System.map .tmp*→ drivers/char/consoleap_deftbl.c drivers/video/promcon_tbl.c → drivers/char/conmakehash drivers/char/drm/*-mod.c drvers/pci/devlist.h→ drivers/pci/classlist.h drivers/pci/gen-devlist drivers/zorro/devlist.h→ divers/zorro/gen-devlist drivers/sound/bin2hex drivers/sound/hex2hex → drivers/atm/fore200e_mkfrm drivers/atm/{pca,sba}*{.bin,.bin1,.bin2} → drivers/scsi/aic7xxx/aicasm/aicasm drivers/scsi/ic7xxx/aicasm/aicasm_gram.c → drivers/scsi/aic7xxx/aicasm/aicasm_gram.h → drivers/scsi/aic7xxx/acasm/aicasm_macro_gram.c → drivers/scsi/aic7xxx/aicasm/aicasm_macro_gram.h → drivers/scsi/aic7xx/aicasm/aicasm_macro_scan.c → drivers/scsi/aic7xxx/aicasm/aicasm_scan.c → drivers/scsi/aic7xxx/acasm/aicdb.h drivers/scsi/aic7xxx/aicasm/y.tab.h→ drivers/scsi/53c700_d.h drivers/tc/lk201-ma.c → net/khttpd/make_times_h net/khttpd/times.h submenu* drivers/ieee1394/oui.c rm -rf modules make -C Documentation/DocBook clean make[1]: Entering directory `/usr/src/linux-2.4.31/Documentation/DocBook' rm -f core *~ rm -f wanbook.sgml z8530book.sgml mcabook.sgml videobook.sgml → kernel-api.sgml parportbook.sgl kernel-hacking.sgml → kernel-locking.sgml via-audio.sgml mousedrivers.sgml sis900.sgml → deviciobook.sgml procfs-guide.sgml tulip-user.sgml journal-api.sgml libata.sgml rm -f wanbook.dvi z8530book.dvi mcabook.dvi videobook.dvi → kernel-api.dvi parportbook.di kernel-hacking.dvi kernel-locking.dvi→ via-audio.dvi mousedrivers.dvi sis900.dvi devieiobook.dvi → procfs-guide.dvi tulip-user.dvi journal-api.dvi libata.dvi → wanbook.aux z850book.aux mcabook.aux videobook.aux kernel-api.aux→ parportbook.aux kernel-hacking.aux ernel-locking.aux via-audio.aux → mousedrivers.aux sis900.aux deviceiobook.aux procfs-guie.aux → tulip-user.aux journal-api.aux libata.aux wanbook.tex z8530book.tex→ mcabook.tex videobook.tex kernel-api.tex parportbook.tex → kernel-hacking.tex kernel-locking.tex via-udio.tex mousedrivers.tex→ sis900.tex deviceiobook.tex procfs-guide.tex tulip-user.tex → ournal-api.tex libata.tex wanbook.log z8530book.log mcabook.log → videobook.log kernel-ai.log parportbook.log kernel-hacking.log → kernel-locking.log via-audio.log mousedrivers.og sis900.log → deviceiobook.log procfs-guide.log tulip-user.log journal-api.log → libata.og wanbook.out z8530book.out mcabook.out videobook.out → kernel-api.out parportbook.out kernel-hacking.out kernel-locking.out→ via-audio.out mousedrivers.out sis900.out deviceibook.out → procfs-guide.out tulip-user.out journal-api.out libata.out rm -f parport-share.png parport-multi.png parport-structure.png → parport-share.eps parpot-multi.eps parport-structure.eps rm -f procfs_example.sgml make[1]: Leaving directory `/usr/src/linux-2.4.31/Documentation/DocBook' find . \( -size 0 -o -name .depend \) -type f -print | xargs rm -f rm -f include/linux/autoconf.h include/linux/version.h → lib/crc32table.h lib/gen_crc32table → divers/net/hamradio/soundmodem/sm_tbl_{afsk1200,afsk2666,fsk9600}.h → drivers/net/hamradio/sounmodem/sm_tbl_{hapn4800,psk4800}.h → drivers/net/hamradio/soundmodem/sm_tbl_{afsk2400_7,afsk240_8}.h → drivers/net/hamradio/soundmodem/gentbl drivers/sound/*_boot.h → drivers/sound/.*.boot drvers/sound/msndinit.c drivers/sound/msndperm.c→ drivers/sound/pndsperm.c drivers/sound/pndspii.c → drivers/atm/fore200e_*_fw.c drivers/atm/.fore200e_*.fw .version .config*→ config.in confi.old scripts/tkparse scripts/kconfig.tk scripts/kconfig.tmp → scripts/lxdialog/*.o scripts/lxdalog/lxdialog .menuconfig.log → include/asm .hdepend scripts/mkdep scripts/split-include scrips/docproc→ /usr/src/linux-2.4.31/include/linux/modversions.h kernel.spec rm -rf include/config /usr/src/linux-2.4.31/include/linux/modules make -C Documentation/DocBook mrproper make[1]: Entering directory `/usr/src/linux-2.4.31/Documentation/DocBook' rm -f core *~ rm -f wanbook.sgml z8530book.sgml mcabook.sgml videobook.sgml → kernel-api.sgml parportbook.sgl kernel-hacking.sgml kernel-locking.sgml→ via-audio.sgml mousedrivers.sgml sis900.sgml deviciobook.sgml → procfs-guide.sgml tulip-user.sgml journal-api.sgml libata.sgml rm -f wanbook.dvi z8530book.dvi mcabook.dvi videobook.dvi → kernel-api.dvi parportbook.di kernel-hacking.dvi kernel-locking.dvi→ via-audio.dvi mousedrivers.dvi sis900.dvi devieiobook.dvi → procfs-guide.dvi tulip-user.dvi journal-api.dvi libata.dvi → wanbook.aux z850book.aux mcabook.aux videobook.aux kernel-api.aux→ parportbook.aux kernel-hacking.aux ernel-locking.aux via-audio.aux→ mousedrivers.aux sis900.aux deviceiobook.aux procfs-guie.aux → tulip-user.aux journal-api.aux libata.aux wanbook.tex z8530book.tex→ mcabook.tex videobook.tex kernel-api.tex parportbook.tex → kernel-hacking.tex kernel-locking.tex via-udio.tex mousedrivers.tex→ sis900.tex deviceiobook.tex procfs-guide.tex tulip-user.tex → ournal-api.tex libata.tex wanbook.log z8530book.log mcabook.log → videobook.log kernel-ai.log parportbook.log kernel-hacking.log → kernel-locking.log via-audio.log mousedrivers.og sis900.log → deviceiobook.log procfs-guide.log tulip-user.log journal-api.log → libata.og wanbook.out z8530book.out mcabook.out videobook.out → kernel-api.out parportbook.out kernel-hacking.out → kernel-locking.out via-audio.out mousedrivers.out → sis900.out deviceibook.out procfs-guide.out tulip-user.out → journal-api.out libata.out rm -f parport-share.png parport-multi.png parport-structure.png → parport-share.eps parpot-multi.eps parport-structure.eps rm -f procfs_example.sgml rm -f wanbook.ps z8530book.ps mcabook.ps videobook.ps → kernel-api.ps parportbook.ps kenel-hacking.ps → kernel-locking.ps via-audio.ps mousedrivers.ps → sis900.ps deviceiobook.ps procfs-guide.ps tulip-user.ps → journal-api.ps libata.ps wanbook.pdf z8530book.pdf → mcabok.pdf videobook.pdf kernel-api.pdf parportbook.pdf → kernel-hacking.pdf kernel-locking.pf via-audio.pdf → mousedrivers.pdf sis900.pdf deviceiobook.pdf procfs-guide.pdf → tulip-usr.pdf journal-api.pdf libata.pdf rm -f -r wanbook z8530book mcabook videobook kernel-api → parportbook kernel-hacking krnel-locking via-audio → mousedrivers sis900 deviceiobook procfs-guide tulip-user journl-api libata rm -f .depend rm -f /usr/src/linux-2.4.31/scripts/mkdep-docbook rm -rf DBTOHTML_OUTPUT* make[1]: Leaving directory `/usr/src/linux-2.4.31/Documentation/DocBook' # cd ../ # du -h linux-2.4.31/ ... 209M linux-2.4.31 # cd - /usr/src/linux-2.4.31 # ls -a ./ CREDITS Makefile Rules.make crypto/ include/ kernel/ myconfig ../ Documentation/ README arch/ drivers/ init/ lib/ net/ COPYING MAINTAINERS REPORTING-BUGS config.SMP fs/ ipc/ mm/ scripts/
表面上 ドットで 始まるものと ”System.map” ”vmlinux”が 無くなっている
容量というか 大きさというものも 262M から 209M に 減少している
容量に ついてはあくまで 傾向であるという事で考慮しておいてください。
にゃんたろう 拝!
2007年11月21日 (水) 22:13:11 JST 作成