Date: Mon, 17 May 1999 17:07:54 -0600 From: Oscar Bonilla <obonilla@fisicc-ufm.edu> To: Zhihui Zhang <zzhang@cs.binghamton.edu> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Newfs on an existing filesystem Message-ID: <19990517170754.L388@fisicc-ufm.edu> In-Reply-To: <Pine.GSO.3.96.990517171620.27557B-100000@sol.cs.binghamton.edu>; from Zhihui Zhang on Mon, May 17, 1999 at 05:21:42PM -0400 References: <Pine.GSO.3.96.990517171620.27557B-100000@sol.cs.binghamton.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, May 17, 1999 at 05:21:42PM -0400, Zhihui Zhang wrote: > > Just for curiosity, if I newfs on an existing filesystem, will the > contents of the old filesystem be erased completely? I guess that the > existing filesystem must be unmounted before doing so. If using same > parameters in newfs as in the old filesystem, the contents of the old > filesystem will be saved (I have to do a fsck though). Am I right? > you're wrong. when you do a newfs you rewrite the inode table thus deleting the info of how to get to your files. regards, -Oscar -- For PGP Public Key: finger obonilla@fisicc-ufm.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990517170754.L388>