How to clean up /
Warner Losh
imp at bsdimp.com
Fri Nov 30 14:50:36 UTC 2012
Also, all the rescue binaries combined are 5M, not 5M each...
Warner
On Nov 29, 2012, at 6:44 PM, mbsd wrote:
> Ξ ~ → du -sh /boot/kernel
> 59M kernel
>
> Try to recompile your kernel without debug.
Or just remove the .symbols files (or better, save them on a larger partition for easier debugging in case of problems).
Warner
>
>
> On Tue, 2012-11-27 at 16:57 -0600, Efraín Déctor wrote:
>> Hello.
>>
>> I recently upgraded to 9.1-RC3, everything went fine, however the / partition its about to get full. Im really new to FreeBSD so I don’t know what files can be deleted safely.
>>
>> # find -x / -size +10000 -exec du -h {} \;
>>
>> 16M /boot/kernel/kernel
>> 60M /boot/kernel/kernel.symbols
>> 6.7M /boot/kernel/if_ath.ko.symbols
>> 6.4M /boot/kernel/vxge.ko.symbols
>> 9.4M /boot/kernel/xfs.ko.symbols
>> 15M /boot/kernel/zfs.ko.symbols
>> 15M /boot/kernel.old/kernel
>> 55M /boot/kernel.old/kernel.symbols
>> 6.7M /boot/kernel.old/if_ath.ko.symbols
>> 6.4M /boot/kernel.old/vxge.ko.symbols
>> 9.2M /boot/kernel.old/xfs.ko.symbols
>> 15M /boot/kernel.old/zfs.ko.symbols
>> 15M /boot/kernel.old1/kernel
>> 5M /rescue/rescue
>> 5M /rescue/cat
>> 5M /rescue/chflags
>> 5M /rescue/chio
>> 5M /rescue/chmod
>> 5M /rescue/cp
>> 5M /rescue/date
>> 5M /rescue/dd
>> 5M /rescue/df
>> 5M /rescue/echo
>> 5M /rescue/ed
>> 5M /rescue/red
>> 5M /rescue/expr
>> 5M /rescue/getfacl
>> 5M /rescue/hostname
>> 5M /rescue/kenv
>> 5M /rescue/kill
>> 5M /rescue/ln
>> 5M /rescue/link
>> 5M /rescue/ls
>> 5M /rescue/mkdir
>> 5M /rescue/mv
>> 5M /rescue/pkill
>> 5M /rescue/pgrep
>> 5M /rescue/ps
>> 5M /rescue/pwd
>> 5M /rescue/realpath
>> 5M /rescue/rm
>> 5M /rescue/unlink
>> 5M /rescue/rmdir
>> 5M /rescue/setfacl
>> 5M /rescue/sh
>> 5M /rescue/stty
>> 5M /rescue/sync
>> 5M /rescue/test
>> 5M /rescue/[
>> 5M /rescue/rcp
>> 5M /rescue/csh
>> 5M /rescue/tcsh
>> 5M /rescue/atacontrol
>> 5M /rescue/badsect
>> 5M /rescue/camcontrol
>> 5M /rescue/ccdconfig
>> 5M /rescue/clri
>> 5M /rescue/devfs
>> 5M /rescue/dmesg
>> 5M /rescue/dump
>> 5M /rescue/rdump
>> 5M /rescue/dumpfs
>> 5M /rescue/dumpon
>> 5M /rescue/fsck
>> 5M /rescue/fsck_ffs
>> 5M /rescue/fsck_4.2bsd
>> 5M /rescue/fsck_ufs
>> 5M /rescue/fsck_msdosfs
>> 5M /rescue/fsdb
>> 5M /rescue/fsirand
>> 5M /rescue/gbde
>> 5M /rescue/geom
>> 5M /rescue/glabel
>> 5M /rescue/gpart
>> 5M /rescue/ifconfig
>> 5M /rescue/init
>> 5M /rescue/kldconfig
>> 5M /rescue/kldload
>> 5M /rescue/kldstat
>> 5M /rescue/kldunload
>> 5M /rescue/ldconfig
>> 5M /rescue/md5
>> 5M /rescue/mdconfig
>> 5M /rescue/mdmfs
>> 5M /rescue/mknod
>> 5M /rescue/mount
>> 5M /rescue/mount_cd9660
>> 5M /rescue/mount_msdosfs
>> 5M /rescue/mount_nfs
>> 5M /rescue/mount_ntfs
>> 5M /rescue/mount_nullfs
>> 5M /rescue/mount_udf
>> 5M /rescue/mount_unionfs
>> 5M /rescue/newfs
>> 5M /rescue/newfs_msdos
>> 5M /rescue/nos-tun
>> 5M /rescue/ping
>> 5M /rescue/reboot
>> 5M /rescue/fastboot
>> 5M /rescue/halt
>> 5M /rescue/fasthalt
>> 5M /rescue/restore
>> 5M /rescue/rrestore
>> 5M /rescue/rcorder
>> 5M /rescue/route
>> 5M /rescue/routed
>> 5M /rescue/rtquery
>> 5M /rescue/rtsol
>> 5M /rescue/savecore
>> 5M /rescue/spppcontrol
>> 5M /rescue/swapon
>> 5M /rescue/sysctl
>> 5M /rescue/tunefs
>> 5M /rescue/umount
>> 5M /rescue/atmconfig
>> 5M /rescue/ping6
>> 5M /rescue/ipf
>> 5M /rescue/zfs
>> 5M /rescue/zpool
>> 5M /rescue/bsdlabel
>> 5M /rescue/disklabel
>> 5M /rescue/fdisk
>> 5M /rescue/dhclient
>> 5M /rescue/head
>> 5M /rescue/mt
>> 5M /rescue/sed
>> 5M /rescue/tail
>> 5M /rescue/tee
>> 5M /rescue/gzip
>> 5M /rescue/gunzip
>> 5M /rescue/gzcat
>> 5M /rescue/zcat
>> 5M /rescue/bzip2
>> 5M /rescue/bunzip2
>> 5M /rescue/bzcat
>> 5M /rescue/xz
>> 5M /rescue/unxz
>> 5M /rescue/lzma
>> 5M /rescue/unlzma
>> 5M /rescue/xzcat
>> 5M /rescue/lzcat
>> 5M /rescue/tar
>> 5M /rescue/vi
>> 5M /rescue/ex
>> 5M /rescue/id
>> 5M /rescue/groups
>> 5M /rescue/whoami
>> 5M /rescue/chroot
>> 5M /rescue/chown
>> 5M /rescue/chgrp
>> 5M /rescue/nc
>> 76M /compat/linux/usr/lib/locale/locale-archive.tmpl
>> 8.0M /.sujournal
>>
>> Thanks in advance.
>> _______________________________________________
>> freebsd-stable at freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
>> To unsubscribe, send any mail to "freebsd-stable-unsubscribe at freebsd.org"
>
>
> _______________________________________________
> freebsd-stable at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe at freebsd.org"
More information about the freebsd-stable
mailing list