newfs -S 4k -U /dev/da1p2 /dev/da1p2: 544268.7MB (1114662280 sectors) block size 32768, fragment size 4096 using 870 cylinder groups of 626.09MB, 20035 blks, 80256 inodes. with soft updates .... newfs -N -U /dev/da1p2 /dev/da1p2: 544268.7MB (1114662280 sectors) block size 32768, fragment size 4096 using 870 cylinder groups of 626.09MB, 20035 blks, 80256 inodes. with soft updates while the sector size always 512 (544268.7MB / 1114662280 ).But My disk' phys sector size is 4k,I want to set the ufs sector to 4k.
This doesn't really matter. By default, the minimal allocation unit ('fragment size') on FreeBSD UFS is 4K on modern systems (used to be 2K), which means it's always 4K ready regardless the underlying disk hardware.
I see.Thank you Xin. May be this message should be added to the newfs man page? (In reply to Xin LI from comment #1) > This doesn't really matter. By default, the minimal allocation unit > ('fragment size') on FreeBSD UFS is 4K on modern systems (used to be 2K), > which means it's always 4K ready regardless the underlying disk hardware.