1 | fsck | * Manually resetting fsck to stopped state |
---|
2 | fsck |+ _conf_d=/etc/init.d/../conf.d |
---|
3 | fsck |+ _c=fsck |
---|
4 | fsck |+ '[' -n fsck -a fsck '!=' fsck ']' |
---|
5 | fsck |+ unset _c |
---|
6 | fsck |+ '[' -e /etc/init.d/../conf.d/fsck.default ']' |
---|
7 | fsck |+ '[' -e /etc/init.d/../conf.d/fsck ']' |
---|
8 | fsck |+ . /etc/init.d/../conf.d/fsck |
---|
9 | fsck |++ fsck_passno='=1 =2' |
---|
10 | fsck |++ fsck_shutdown=NO |
---|
11 | fsck |+ unset _conf_d |
---|
12 | fsck |+ '[' -e /etc/rc.conf ']' |
---|
13 | fsck |+ . /etc/rc.conf |
---|
14 | fsck |++ rc_parallel=YES |
---|
15 | fsck |++ rc_interactive=YES |
---|
16 | fsck |++ rc_depend_strict=YES |
---|
17 | fsck |++ rc_hotplug=YES |
---|
18 | fsck |++ rc_coldplug=YES |
---|
19 | fsck |++ rc_plug_services= |
---|
20 | fsck |++ rc_logger=YES |
---|
21 | fsck |++ unicode=YES |
---|
22 | fsck |++ net_fs_list='afs cifs coda davfs fuse gfs ncpfs nfs nfs4 ocfs2 shfs smbfs' |
---|
23 | fsck |++ rc_tty_number=12 |
---|
24 | fsck |++ rc_device_tarball=NO |
---|
25 | fsck |++ dmesg_level=1 |
---|
26 | fsck |+ '[' -n '' ']' |
---|
27 | fsck |+ . /etc/init.d/fsck |
---|
28 | fsck |++ description='Check and repair filesystems according to /etc/fstab' |
---|
29 | fsck |++ _ISF=' |
---|
30 | fsck |' |
---|
31 | fsck |+ unset _d |
---|
32 | fsck |+ unset _f |
---|
33 | fsck |+ '[' -n start ']' |
---|
34 | fsck |+ for _cmd in describe start stop '${extra_commands:-${opts}}' '${extra_started_commands}' |
---|
35 | fsck |+ '[' describe = start ']' |
---|
36 | fsck |+ for _cmd in describe start stop '${extra_commands:-${opts}}' '${extra_started_commands}' |
---|
37 | fsck |+ '[' start = start ']' |
---|
38 | fsck |++ command -v start |
---|
39 | fsck |+ '[' start = start ']' |
---|
40 | fsck |+ yesno |
---|
41 | fsck |+ '[' -z '' ']' |
---|
42 | fsck |+ return 1 |
---|
43 | fsck |+ unset _cmd |
---|
44 | fsck |++ command -v start_pre |
---|
45 | fsck |+ '[' '' = start_pre ']' |
---|
46 | fsck |+ start |
---|
47 | fsck |+ local reboot_opts= fsck_opts= p= check_extra= |
---|
48 | fsck |+ '[' -e /fastboot ']' |
---|
49 | fsck |+ '[' -e /forcefsck ']' |
---|
50 | fsck |+ '[' -n '=1 =2' ']' |
---|
51 | fsck |+ check_extra='[passno =1 =2] ' |
---|
52 | fsck |+ ebegin 'Checking local filesystems [passno =1 =2] ' |
---|
53 | fsck | * Checking local filesystems [passno =1 =2] ... |
---|
54 | fsck |+ for p in '${fsck_passno}' |
---|
55 | fsck |+ local IFS= |
---|
56 | fsck |+ case "${p}" in |
---|
57 | fsck |++ fstabinfo --passno =1 |
---|
58 | fsck |+ set -- / |
---|
59 | fsck |+ unset IFS |
---|
60 | fsck |+ for p in '${fsck_passno}' |
---|
61 | fsck |+ local IFS= |
---|
62 | fsck |+ case "${p}" in |
---|
63 | fsck |++ fstabinfo --passno =2 |
---|
64 | fsck |+ set -- / '' |
---|
65 | fsck |+ unset IFS |
---|
66 | fsck |+ '[' Linux = Linux ']' |
---|
67 | fsck |+ fsck_opts=' -C0 -T' |
---|
68 | fsck |+ '[' -z '=1 =2' ']' |
---|
69 | fsck |+ reboot_opts=-f |
---|
70 | fsck |+ trap : QUIT |
---|
71 | fsck |+ fsck -p -C0 -T / '' |
---|
72 | fsck |Usage: fsck.reiserfs [mode] [options] device |
---|
73 | fsck | |
---|
74 | fsck |Modes: |
---|
75 | fsck | --check consistency checking (default) |
---|
76 | fsck | --fix-fixable fix corruptions which can be fixed without |
---|
77 | fsck | --rebuild-tree |
---|
78 | fsck | --rebuild-sb super block checking and rebuilding if needed |
---|
79 | fsck | (may require --rebuild-tree afterwards) |
---|
80 | fsck | --rebuild-tree force fsck to rebuild filesystem from scratch |
---|
81 | fsck | (takes a long time) |
---|
82 | fsck | --clean-attributes clean garbage in reserved fields in StatDatas |
---|
83 | fsck |Options: |
---|
84 | fsck | -j | --journal device specify journal if relocated |
---|
85 | fsck | -B | --badblocks file file with list of all bad blocks on the fs |
---|
86 | fsck | -l | --logfile file make fsck to complain to specifed file |
---|
87 | fsck | -n | --nolog make fsck to not complain |
---|
88 | fsck | -z | --adjust-size fix file sizes to real size |
---|
89 | fsck | -q | --quiet no speed info |
---|
90 | fsck | -y | --yes no confirmations |
---|
91 | fsck | -V prints version and exits |
---|
92 | fsck | -a and -p some light-weight auto checks for bootup |
---|
93 | fsck | -f and -r ignored |
---|
94 | fsck |Expert options: |
---|
95 | fsck | --no-journal-available do not open nor replay journal |
---|
96 | fsck | -S | --scan-whole-partition build tree of all blocks of the device |
---|
97 | fsck | |
---|
98 | fsck |+ case $? in |
---|
99 | fsck |+ eend 0 [ ok ] |
---|
100 | fsck |+ return 0 |
---|
101 | fsck |++ command -v start_post |
---|
102 | fsck |+ '[' '' = start_post ']' |
---|
103 | fsck |+ shift |
---|
104 | fsck |+ continue 2 |
---|
105 | fsck |+ '[' -n '' ']' |
---|