悲剧,绝对的悲剧,悲剧中的悲剧。
分类:
2011-01-11 17:50:31
fsck -y |
对所有文件进行检测,对所有提问都用yes回答 无须人工干预,自动修复文件系统 |
fsck -n |
对所有文件进行检测,对所有提问都用no回答 只检测文件系统,不进行修复,只报告 |
fsck -D |
通知fsck 额外检查系统的一致性 |
# ** /dev/rdsk/c0d0s0 ** Currently Mounted on / ** Phase 1 - Check Blocks and Sizes ** Phase 2 - Check Pathnames ** Phase 3 - Check Connectivity ** Phase 4 - Check Reference Counts ** Phase 5 - Check Cyl groups 164363 files, 7339667 used, 4713569 free (95961 frags, 577201 blocks, 0.8% fragmentation) |
# fsck /dev/rdsk/c0d0s0 -m ** /dev/rdsk/c0d0s0 ** Currently Mounted on / ** Phase 1 - Check Blocks and Sizes ** Phase 2 - Check Pathnames ** Phase 3 - Check Connectivity ** Phase 4 - Check Reference Counts ** Phase 5 - Check Cyl groups 164363 files, 7339667 used, 4713569 free (95961 frags, 577201 blocks, 0.8% fragmentation) fsck: operation not applicable to FSType nfs |
# fsck –m ** /dev/rdsk/c0d0s0 ufs fsck: sanity check:/dev/rdsk/c0d0s0 already mounted read/write |
# fsck /dev/rdsk/c0d0s0 -m ** /dev/rdsk/c0d0s0 ** Currently Mounted on / ** Phase 1 - Check Blocks and Sizes ** Phase 2 - Check Pathnames ** Phase 3 - Check Connectivity ** Phase 4 - Check Reference Counts ** Phase 5 - Check Cyl groups 164363 files, 7339667 used, 4713569 free (95961 frags, 577201 blocks, 0.8% fragmentation) fsck: operation not applicable to FSType nfs |
[root@localhost vsftpd]# ls –a . |
删掉即可 [root@localhost vsftpd]#rm |