From owner-freebsd-hackers Fri Jun 25 19: 6:51 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from allegro.lemis.com (allegro.lemis.com [192.109.197.134]) by hub.freebsd.org (Postfix) with ESMTP id 2D8B91530E for ; Fri, 25 Jun 1999 19:06:42 -0700 (PDT) (envelope-from grog@freebie.lemis.com) Received: from freebie.lemis.com (freebie.lemis.com [192.109.197.137]) by allegro.lemis.com (8.9.1/8.9.0) with ESMTP id LAA07238; Sat, 26 Jun 1999 11:36:39 +0930 (CST) Received: (from grog@localhost) by freebie.lemis.com (8.9.3/8.9.0) id LAA14823; Sat, 26 Jun 1999 11:36:35 +0930 (CST) Date: Sat, 26 Jun 1999 11:36:35 +0930 From: Greg Lehey To: "Jordan K. Hubbard" Cc: Matthew Dillon , Aaron Smith , freebsd-hackers@FreeBSD.ORG Subject: Re: ufs/ffs resize? Message-ID: <19990626113635.Y427@freebie.lemis.com> References: <199906252115.OAA95464@apollo.backplane.com> <68859.930360139@zippy.cdrom.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4i In-Reply-To: <68859.930360139@zippy.cdrom.com>; from Jordan K. Hubbard on Fri, Jun 25, 1999 at 06:22:19PM -0700 WWW-Home-Page: http://www.lemis.com/~grog X-PGP-Fingerprint: 6B 7B C3 8C 61 CD 54 AF 13 24 52 F8 6D A4 95 EF Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG [Format recovered--see http://www.lemis.com/email/email-format.html] On Friday, 25 June 1999 at 18:22:19 -0700, Jordan K. Hubbard wrote: >> 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. > > To add to this, I'd also be inclined to see this done in the larger > context of writing at least a simplistic volume manager to contain > arbitrary filesystems, then extending UFS to support the concept of > dynamic resizing. I agree with the approach. But why write a simplistic volume manager when we already have vinum? > That way you could extend (the most common request) a ufs partition > much more flexibly across multiple partitions or disks, that being > what people are *really* asking for when they cry for a resizable > UFS. :-) Correct. That's why, as Julian observes, I'm collecting code. If somebody else wants to work on this, feel free to contact me. I don't see myself doing it in the very near future. Greg -- See complete headers for address, home page and phone numbers finger grog@lemis.com for PGP public key To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message