UFS Filesystem direct over slice

I suppose there is no problem doing:

dd if=/dev/zero of=/dev/da1 bs=1k count=1
fdisk -BI da0
newfs -O 1 /dev/da0s1
mount /dev/da0s1 /mnt

Am I right?

This partition, without label, is recognised by OpenBSD as /dev/sd0i, although there is no label.

Unfortunately, OpenBSD did not recognise a bsdlabel directly on disk (without slice), althogh disklabel in OpenBSD did read the label.

Note that OpenBSD disklabel counts sectors from the beginning of disk, regardless of how the BIOS partition looks like, but FreeBSD begins to count from the slice.

In any case
 
Back
Top