Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Dec 2002 11:47:23 -0500
From:      "Steven Ames" <steve@virtual-voodoo.com>
To:        "Ray Kohler" <ataraxia@cox.net>, "Vitaly Markitantov" <vm@dics.com.ua>
Cc:        <current@FreeBSD.ORG>
Subject:   Re: How to update UFS1 to UFS2?
Message-ID:  <002a01c2a5eb$fc3c8f00$2bd90c42@officescape.net>
References:  <20021217092905.GA14421@dics.com.ua> <20021217115428.GA21179@arkadia.nv.cox.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On a related topic... how do you tell which of your filesystems are mounted
UFS1 -vs- UFS2? 'mount -v' just says ufs.

-Steve

----- Original Message -----
From: "Ray Kohler" <ataraxia@cox.net>
To: "Vitaly Markitantov" <vm@dics.com.ua>
Cc: <current@FreeBSD.ORG>
Sent: Tuesday, December 17, 2002 6:54 AM
Subject: Re: How to update UFS1 to UFS2?


> 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
>


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?002a01c2a5eb$fc3c8f00$2bd90c42>