tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: [HEADS-UP] growfs port for ffs2 and ffs1

> Can you estimate how much work it would be to add shrinking to
> growfs?

Unless something surprising and unusual was done in either ffsv2 or
growfs, it would be roughly as hard as building a shrink tool starting
with an empty file instead of growfs.  Growing is very easy compared to
shrinking - compare the amount of code in resize_ffs for growing vs
shrinking.  Indeed, resize_ffs was originally going to be just a shrink
tool, but after writing that it became obvious that growing was
basically a trivial add-on to the shrinker.

/~\ The ASCII                             Mouse
\ / Ribbon Campaign
 X  Against HTML      
/ \ Email!           7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B

Home | Main Index | Thread Index | Old Index