On Wed, 7 May 2003, Kirk McKusick wrote: > At one time I had the suggested change that you made in bin/51619 > in the FreeBSD-5.0 newfs program. The problem with that change is > that the bootstrap on some architectures now exceeds 8K which means > that instead of zeroing an old superblock you destroy the boot code. > So, I removed the zeroing of the old UFS1 superblock area. A possible > alternative would be to check for a UFS1 magic number at the old > location (and also at the 16K first backup location) and zero out > just those fields if they are found. While it is possible that a > bootstrap might just have that number at that offset, it is highly > unlikely. Thanks for the historical perspective. I am not sure how big of a problem my situation is, since it will only apply to people trying to run a releng_4 fsck on a ufs2 filesystem under the special circumstances you described. However, if it's something we can prevent with relative ease, I think it's worthwhile to do so. No sense loading the foot-shooting gun with more bullets than absolutely necessary. Doug -- This .signature sanitized for your protectionReceived on Wed May 07 2003 - 20:56:38 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:06 UTC