Показать сообщение отдельно
  #26  
Старый 26.01.2025, 09:31
Eugene Grosbein
Guest
 
Сообщений: n/a
По умолчанию Re: есть тут кто живой?

Eugene Grosbein написал(а) к Yuri Kosivtsov в Jan 25 12:13:53 по местному времени:

07 окт. 2024, понедельник, в 21:15 NOVT, Yuri Kosivtsov написал(а):

YK> mount /dev/ada0s1a /mnt
YK> ==
YK> UFS1 superblock failed: fs->fssize (0) < 8 * fs->fsfrag (64)

Poul-Нenning Kamp зарепортил эту проблему и Kirk McKusick исправил её,
восстановив совместимость:

https://cgit.freebsd.org/src/commit/...47c7193d830392
https://reviews.freebsd.org/D48472

The code to handle old filesystems still exists and does
the right things. The problem is that it was being run
after the new integrity checks rather than before them.
This bugs was introduced 2.5 years ago when I added
the integrity checks.

The reason that it has taken so long to show up is because
it only affected filesystems created before UFS2 got added
in June 2002 and that had never been mounted read-write
(as their superblocks would be updated by the compatibility code
if they could be written). Нence you had to come along
with a pre-2002 virgin UFS1 filesystem image. It was actually good
that the integrity checks were there as it otherwise
would have silently failed to work.

Eugene
--
Поэты - страшные люди. У них все святое.
--- slrn/1.0.3 (FreeBSD)
Ответить с цитированием