Ulrich Spoerlein wrote:
 > btw, how hard would it be to write a shrinkfs and perhaps movefs tool?

movefs shouldn't be very difficult, but shrinkfs is more
complex, because you have to relocate files and metadata
within the filesystem.  The shrink operation can fail if
there isn't enough space in the new size for all data
(and you need to take into account that not only data
space is reduced, but also the number of inodes).  Snap-
shots will make it even more complicated.

But then again, harddisks tend to get bigger, so there is
probably not much need for a shrinkfs tool.

Best regards
   Oliver

-- 
Oliver Fromme,  secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing
Dienstleistungen mit Schwerpunkt FreeBSD: http://www.secnetix.de/bsd
Any opinions expressed in this message may be personal to the author
and may not necessarily reflect the opinions of secnetix in any way.

We're sysadmins.  To us, data is a protocol-overhead.
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to