Date: Thu, 15 Aug 2002 00:34:00 -0700 (PDT) From: Patrick Thomas <root@utility.clubscholarship.com> To: <freebsd-hackers@freebsd.org> Subject: possible to expand a file for vn-device FS usage ? Message-ID: <20020815002812.S58763-100000@utility.clubscholarship.com>
next in thread | raw e-mail | index | archive | help
I have a 500meg file that I dd'd and have mounted as a vn-device filesystem. I would like to increase this to 1gig, however it is very time consuming to do a dump of the FS to a file, dd a new larger one, then do a restore (I have many special files in the FS, thus the need for dump). Is there a procedure wherein I can just unmount the file, expand it, then remount it ? I realize some trickery is needed as the newfs originally done on the file will then be wrong, etc. - possibly disklabel as well - but I am willing to run a new disklabel and/or newfs command on the file in addition to expanding it. Any suggestions on how to expand that file without doing the dump/restore steps ? thanks, PT To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020815002812.S58763-100000>