freebsd-dev/sbin/growfs
Edward Tomasz Napierala 9f2d8a3834 Remove block reallocation used to make room for the cylinder group
summary structure.  From now on, when there is no room for it,
we simply allocate new one in a newly added cylinder group.

This patch removes a conditional in updcsloc(), reindents some code
there, and removes unused routines.  I decided to do it this way instead
of disabling reallocation when the filesystem is live and leaving it
as it is otherwise, because this allows for removal of lots of complicated
and hard to test code.  Also, conditionally disabling it would result
in a different layout in filesystems resized online and offline, which
would look somewhat weird.

Reviewed by:		mckusick
No objections from:	kib
Sponsored by:		The FreeBSD Foundation
2012-04-12 13:43:43 +00:00
..
debug.c Make growfs(8) mostly style compliant. No functional changes, 2012-03-05 16:37:51 +00:00
debug.h Parenthesised string literals are invalid in initialisers for character arrays. 2004-07-06 17:48:34 +00:00
growfs.8 Revert the mechanical change from 'file system' to 'filesystem', committed 2011-06-28 19:59:46 +00:00
growfs.c Remove block reallocation used to make room for the cylinder group 2012-04-12 13:43:43 +00:00
Makefile Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00