Figure 7: An inode refuses to clear
# fsck
/dev/dsk/0s1
File System: Volume:
** Phase 1 - Check Blocks and Sizes
POSSIBLE FILE SIZE ERROR I=2317
** Phase 2 - Check Pathnames
** Phase 3 - Check Connectivity
** Phase 4 - Check Reference Counts
UNREF FILE I=2317 OWNER=0 MODE=020666
SIZE=0 MTIME=Apr 10 12:11 1994
CLEAR? y
** Phase 5 - Check Free List
2866 files 67540 blocks 41402 free
#
# fsck
/dev/dsk/0s1
File System: Volume:
** Phase 1 - Check Blocks and Sizes
POSSIBLE FILE SIZE ERROR I=2317
** Phase 2 - Check Pathnames
** Phase 3 - Check Connectivity
** Phase 4 - Check Reference Counts
UNREF FILE I=2317 OWNER=0 MODE=020666
SIZE=0 MTIME=Apr 10 12:11 1994
CLEAR? y
** Phase 5 - Check Free List
2866 files 67540 blocks 41402 free
#
# ncheck -i 2317
/dev/dsk/0s1:
2317 /dev/console
2317 /dev/syscon
2317 /dev/systty
2317 /dev/ttyb
#
# rm /dev/console /dev/syscon /dev/systty /dev/ttyb
#
# ncheck -i 2317
/dev/dsk/0s1:
2317 /dev/console
#
# rm /dev/console
#
# ncheck -i 2317
/dev/dsk/0s1:
2317 /dev/console
#
# clri /dev/dsk/0s1 2317
#
# ncheck -i 2317
/dev/dsk/0s1:
#
# mknod console c 0 1
# ln console ttyb
# ln console syscon
# ln console systty
#
# fsck
/dev/dsk/0s1
File System: Volume:
** Phase 1 - Check Blocks and Sizes
** Phase 2 - Check Pathnames
** Phase 3 - Check Connectivity
** Phase 4 - Check Reference Counts
** Phase 5 - Check Free List
2866 files 67540 blocks 41402 free
#
|