[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

fsck (Re: MacOS + NetBSD (Re: fsck (Re: 601 support?)))



>                                            千葉市中央区長洲
>                                                    藤原  誠
makoto> MacOS と共存している区画を fsck すると、何かまずいことが起き
makoto> ているような気がします。

boot hd:,ofwboot.elf hd:12
で起動して、/dev/wd0a を newfs した後、/mnt に mount して、
*.tgz を全て開けて、すぐその後で
fsck -fn を何回かやって見ます。すると、一回毎に言うことが変って
来ます。実行例は次のようなものです。
(sync はしませんでしたが、良かったかな)
手写しですので、字はそれほど確かではありません。
---
(藤原)
fsck -f /dev/wd0a
** /dev/rwd0a
** File system is already clean
** Last mounted on /mnt
** Phase 1 - Check Blocks and Sizes
INCORRECT BLOCK COUNT I=85392 (2 should be 9)
CORRECT [yn] n

PARTIALLY ALLOCATED INODE I=258502
CLEAR [yn] n

** Phase 2 - Check Pathnames
DIRECTORY CORRUPTED I=257985  OWNER=root MODE=40755
SIZE=23040 MTIME=Aug 20 17:02 2000
DIR=/usr/share/man/man3

SALVAGE? [yn] n

I OUT OF RANGE I=855638024
NAME=?

REMOVE? [yn] n

BAD INODE NUMBER FOR '.' I=374913  OWNER=root MODE=40755
SIZE=512 MTIME=Jun  7 16:46 2000
DIR=/usr/share/ms

FIX? [yn] n

** Phase 3 - Check Connectivity
** Phase 4 - Check Reference Counts
LINK COUNT FILE I=248958  OWNER=root MODE=10044
SIZE=2981 MTIME=Jun 22 04:29 2000 1 SHOULD BE 2
ADJUST? [yn] n

LINK COUNT FILE I=258042  OWNER=root MODE=10044
SIZE=7082 MTIME=Jun 22 04:111 2000 5  SHOULD BE 4
ADJUST? [yn] n

LINK COUNT ... (合計 x8)

** Phase 5 - Check Cyl groups
FREE BLK COUNT(S) WRONG IN SUPERBLK

SALVAGE? [yn] n
SUMMARY INFORMATION BAD
SALVAGE? [yn] n

BLK(S) MISSING IN BIT MAPS
SALVAGE? [yn] n
fsck -fn /dev/wd0a
** /dev/rwd0a
** File system is already clean
** Last mounted on /mnt
** Phase 1 - Check Blocks and Sizes

PARTIALLY ALLOCATED INODE I=265564
CLEAR? no

** Phase 2 - Check Pathnames
UNALLOCATED I=265554 OWNER=root MODE=10444
SIZE=608 MTIME=Jun 22 04:41 2000
FILE=/usr/share/man/man4/ss.4

REMOVE? no

** Phase 3 - Check Connectivity
** Phase 4 - Check Reference Counts
** Phase 5 - Check Cyl groups
FREE BLK COUNT(S) WRONG IN SUPERBLK
SALVAGE? no

SUMMARY INFORMATION BAD
SALVAGE? [yn] n

BLK(S) MISSING IN BIT MAPS
SALVAGE? [yn] n