Date: Tue, 17 Dec 2002 06:54:28 -0500 From: Ray Kohler <ataraxia@cox.net> To: Vitaly Markitantov <vm@dics.com.ua> Cc: current@FreeBSD.ORG Subject: Re: How to update UFS1 to UFS2? Message-ID: <20021217115428.GA21179@arkadia.nv.cox.net> In-Reply-To: <20021217092905.GA14421@dics.com.ua> References: <20021217092905.GA14421@dics.com.ua>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Dec 17, 2002 at 11:29:05AM +0200, Vitaly Markitantov wrote: > Have an existing partition with UFS1 on it. How can i update/convert it > to UFS2? > It is safe make it that way: > dump -0 -f /store/arch.usr /usr > shutdown now > umount -a /usr > mount / > mount /store > newfs -O2 /dev/ad0s2e > restore -f /store/arch.usr About right, but I'd do it just a little differently: shutdown now umount /usr dump 0af /store/arch.usr /dev/ad0s2e newfs -O 2 -U /dev/ad0s2e mount /usr cd /usr restore rf /store/arch.usr -- Ray Kohler <ataraxia@cox.net> As Zeus said to Narcissus, "Watch yourself." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021217115428.GA21179>