> :anybody done any work on a utility for growing ufs filesystems? > : > :aaron > > It has been brought up a couple of times but nobody has tried > to do actually it. Personally, I think it would be a doable > project if someone wanted to have a go at it - to allow a filesystem > to be grown or shrunk on a cylinder-by-cylinder basis. The only real > complexity occurs when you are shrinking a filesystem - you have to locate > the inodes & indirect blocks associated with allocated data blocks > in the cylinder you are trying to remove in order to move the blocks.
the latter would be the task for a "packer" utility. Myself, I have desired more often to be able to shring a FS than extend one (i mean, barring black magic that would put on a disk more stuff than its capacity). cheers luigi -----------------------------------+------------------------------------- Luigi RIZZO, lu...@iet.unipi.it . Dip. di Ing. dell'Informazione http://www.iet.unipi.it/~luigi/ . Universita` di Pisa TEL/FAX: +39-050-568.533/522 . via Diotisalvi 2, 56126 PISA (Italy) http://www.iet.unipi.it/~luigi/ngc99/ ==== First International Workshop on Networked Group Communication ==== -----------------------------------+------------------------------------- To Unsubscribe: send mail to majord...@freebsd.org with "unsubscribe freebsd-hackers" in the body of the message