Re: size of /usr/src
[EMAIL PROTECTED] (Joerg Wunsch) wrote: > j@uriah 57% df -k /usr/src > Filesystem 1K-blocks UsedAvail Capacity Mounted on > /dev/vinum/src 595455 434778 11304179%/usr/src > > That is -current as of around christmas. Bakul got back to me and questioned that number -- he was right. :) The above filesystem doesn't only contain a checked out copy of the src/ stuff but also of doc/, which adds another 60+ MB to it. -- cheers, J"org .-.-. --... ...-- -.. . DL8DTL http://www.sax.de/~joerg/NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-) To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: size of /usr/src
Bakul Shah <[EMAIL PROTECTED]> wrote: > On a -CURRENT: > $ du -s /usr/src > 389637/usr/src > > FFS likes to have about 10% free space + add a few more (may > be 4%) for the inodes space. So you need a partition of at > least 450MB. j@uriah 57% df -k /usr/src Filesystem 1K-blocks UsedAvail Capacity Mounted on /dev/vinum/src 595455 434778 11304179%/usr/src That is -current as of around christmas. There's a stale /sys/i386/compile directory in it, but that doesn't contribute much to the above since there are no .o files in it. The file system is a 1 KB fsize/8 KB bsize one; if you use larger block sizes, waste of space might be more. -- cheers, J"org .-.-. --... ...-- -.. . DL8DTL http://www.sax.de/~joerg/NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-) To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: size of /usr/src
Your questions belong to freebsd-questions! > I created a separate partition for /usr/src (around 420MB) and cvsup ran > out of space. Can someone give me a rough idea of how big it is? Also, > I should be able to use growfs (after booting off of a floppy) to increase > the size of the partition (if the slice has space), right? How about moving > partitions - is there an easier way than creating a partition at the end > of the slice and copying partitions down? Are you creating a 5.0-CURRENT or a 4-STABLE /usr/src? On a -STABLE: $ du -s /usr/src 355799 /usr/src On a -CURRENT: $ du -s /usr/src 389637 /usr/src FFS likes to have about 10% free space + add a few more (may be 4%) for the inodes space. So you need a partition of at least 450MB. You need to leave another 20% ~ 50% free for future source fat (second law of computer thermodynamics). A partition of 1GB wouldn't hurt! You need another 40MB or more for each kernel on whichever partition you build them. More if you turn debugging on. Instead of building kernels in /usr/src/sys/compile, you can do cd /usr/src make buildkernel KERNCONF= to build them in /usr/obj/usr/src/sys/. You don't need to boot from a floppy -- just unmount the partition. In case of the root partition you can growfs if you boot in single user. I believe initially the root partition is mounted read-only so growfs change are safe. I would reboot immediately afterwards though. For moving partitions I would use dump/restore to/from a networked machine rather than copying them around. For that you may need to boot from a floppy. Or you can just install released kernels and do something worthwhile (like build some furniture) in the time you will save :-) To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: size of /usr/src
On Wed, Jan 16, 2002 at 01:02:31AM -0800, Joel M. Baldwin wrote: > > My current /usr/src is 524M. That include 83M of kernel > object files in /usr/src/sys/i386/compile from a couple > of different kernel builds. /usr/obj which holds the > object files from a buildworld is 460M. If you're going > to do a full cvs repository then /home/ncvs on my system > is 1391M. Hmmm... $ du -kd 0 /export/stable/src 315854 /export/stable/src $ du -kd 0 /export/stable/src 383116 /export/stable/src $ du -kd 0 /export/ncvs 1248390 /export/ncvs -- "It's always funny until someone gets hurt. Then it's hilarious." Crist J. Clark | [EMAIL PROTECTED] | [EMAIL PROTECTED] http://people.freebsd.org/~cjc/| [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: size of /usr/src
My current /usr/src is 524M. That include 83M of kernel object files in /usr/src/sys/i386/compile from a couple of different kernel builds. /usr/obj which holds the object files from a buildworld is 460M. If you're going to do a full cvs repository then /home/ncvs on my system is 1391M. --On Tuesday, January 15, 2002 11:38 PM -0800 Arvind Srivaths <[EMAIL PROTECTED]> wrote: > > Hi, > > I created a separate partition for /usr/src (around 420MB) and cvsup > ran out of space. Can someone give me a rough idea of how big it is? > Also, I should be able to use growfs (after booting off of a floppy) > to increase the size of the partition (if the slice has space), > right? How about moving partitions - is there an easier way than > creating a partition at the end of the slice and copying partitions > down? > > Thanks, > > Arvind > > To Unsubscribe: send mail to [EMAIL PROTECTED] > with "unsubscribe freebsd-current" in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
size of /usr/src
Hi, I created a separate partition for /usr/src (around 420MB) and cvsup ran out of space. Can someone give me a rough idea of how big it is? Also, I should be able to use growfs (after booting off of a floppy) to increase the size of the partition (if the slice has space), right? How about moving partitions - is there an easier way than creating a partition at the end of the slice and copying partitions down? Thanks, Arvind To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message