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" <[EMAIL PROTECTED]>
To: "Vitaly Markitantov" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
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 <[EMAIL PROTECTED]>
> As Zeus said to Narcissus, "Watch yourself."
>
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-current" in the body of the message
>


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to