Pete French <[email protected]> wrote:

> > Why may it hurt ? How may it hurt ? Which sector is written to
> > by this 'gpart' command ?
> >
> > As far as I understand, GPT writes some stuff at the beginning
> > and the end of the harddisk.
>
> Yup, this is true.
>
> > How/why will the newfs overwrite those parts ?
>
> Because you are also giving it the whole hard disc to write to,
> instead of a partition within the hard disc, so you will end up
> scribbling on what you wrote with the gpart command.

Certainly the _correct_ thing to do is to create a partition, and
newfs that.  However, it's not entirely clear why the OP is not
getting by with this mistake, because newfs (for a UFS filesystem)
doesn't write anything ahead of the superblock -- unless asked to
install bootblocks.
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[email protected]"

Reply via email to