免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 3120 | 回复: 0

谁来解释一下如何确定目录数据块的结束? [复制链接]

论坛徽章:
0
发表于 2006-09-03 15:07 |显示全部楼层
root@VM_SunOS_8 # od -b /\r\n002 000 000 000 014 000 001 000 056 000 000 000                                                                 .\r\n002 000 000 000 014 000 002 000 056 056 000 000                                                                 ..\r\n003 000 000 000 024 000 012 000 154 157 163 164 053 146 157 165 156 144 000 000 lost+found\r\n200 025 000 000 020 000 006 000 145 170 160 157 162 164 000 000                 export\r\n200 100 000 000 014 000 003 000 166 141 162 000                                         var\r\n000 002 001 000 014 000 003 000 165 163 162 000                                         usr\r\n200 031 002 000 014 000 003 000 145 164 143 000                                                 etc\r\n010 014 006 000 020 000 004 000 142 157 157 164 000 000 000 000                 boot\r\n007 067 006 000 020 000 006 000 153 145 162 156 145 154 000 000                         kernel\r\n006 053 000 000 024 000 010 000 160 154 141 164 146 157 162 155 000 000 000 000 platform\r\n016 000 000 000 014 000 003 000 142 151 156 000                                                 bin\r\n230 033 003 000 014 000 003 000 144 145 166 000                                                 dev\r\n027 134 003 000 020 000 007 000 144 145 166 151 143 145 163 000                 devices\r\n020 000 000 000 014 000 003 000 154 151 142 000                                                 lib\r\n213 234 003 000 014 000 003 000 155 156 164 000                                                 mnt\r\n233 307 003 000 014 000 003 000 157 160 164 000                                                 opt\r\n035 335 003 000 020 000 004 000 160 162 157 143 000 000 000 000                 proc\r\n214 362 003 000 020 000 004 000 163 142 151 156 000 000 000 000                 sbin\r\n213 035 004 000 014 000 003 000 164 155 160 000                                         tmp\r\n124 126 000 000 014 000 003 000 156 145 164 000                                         net\r\n215 057 002 000 020 000 004 000 150 157 155 145 000 000 000 000         home\r\n114 154 000 000 014 000 003 000 170 146 156 000                                         xfn\r\n316 331 001 000 014 000 003 000 166 157 154 000                                         vol\r\n130 032 002 000 020 000 005 000 143 144 162 157 155 000 000 000         cdrom\r\n320 262 003 000 020 000 005 000 124 124 137 104 102 000 000 000         TT_DB\r\n105 306 002 000 014 000 003 000 056 144 164 000                                 .dt\r\n165 000 000 000 024 000 012 000 056 144 164 160 162 157 146 151 154 145 000 000 .dtprofile\r\n375 000 000 000 020 000 004 000 154 151 163 164 000 000 000 000         list\r\n200 001 000 000 024 000 013 000 056 163 150 137 150 151 163 164 157 162 171 000 .sh_history\r\n210 001 000 000 024 000 013 000 056 130 141 165 164 150 157 162 151 164 171 000 .Xauthority\r\n376 000 000 000 024 000 010 000 056 160 162 157 146 151 154 145 000 000 000 000         .profile\r\n224 001 000 000 030 000 014 000 056 124 124 141 165 164 150 157 162 151 164 171 000 000 000 000  .TTautority\r\n175 001 000 000 034 000 004 000 143 157 162 145 000 000 000 000 151 164 171 055 143 000 000 000 055 143 000 000 core\r\n171 001 000 000 030 000 015 000 056 142 141 163 150 137 150 151 163 164 157 162 171 000 000 000         .bash_history\r\n257 060 002 000 024 000 011 000 056 156 145 164 163 143 141 160 145 000 000 000                                 .netscape\r\n232 037 004 000 024 000 010 000 056 130 154 157 143 141 154 145 000 000 000 000                                 .Xlocale\r\n137 001 000 000 030 000 017 000 056 163 155 143 056 160 162 157 160 145 162 164 151 145 163 000                 .smc.properties\r\n041 071 006 000 020 000 006 000 156 163 155 141 151 154 000 000                                                 nsmail\r\n176 001 000 000 030 000 014 000 056 160 162 157 146 151 154 145 055 105 111 123 000 000 000 000                 .profile-EIS\r\n324 265 004 000 020 000 004 000 164 145 155 160 000 000 000 000                                                 temp\r\n174 001 000 000 024 000 013 000 144 145 141 144 056 154 145 164 164 145 162 000                                 dead.letter        380\r\n002 364 003 000 134 001005 000 056 151 151 151 155 000 000 000                                                 .iiim\r\n                000 000 000 000 114 001 010 000 056 153 144 155 \r\n164 145 163 164 000 000 000 000 055 143 000 000 000 000 000 000 \r\n064 001 016 000 056 124 124 141 165 164 150 157 162 151 164 171 \r\n055 154 000 000 000 000 000 000 034 001 016 000 056 124 124 141 \r\n165 164 150 157 162 151 164 171 055 156 000 000 010 001 016 000 \r\n056 124 124 141 165 164 150 157 162 151 164 171 055 156 000 000 \r\n000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 \r\nroot@VM_SunOS_8 # ls -lia /\r\ntotal 3167\r\n         2 drwxr-xr-x  29 root     root        1024  9月  3 13:51 .\r\n         2 drwxr-xr-x  29 root     root        1024  9月  3 13:51 ..\r\n       404 -rw-------   1 root     other        746  9月  2 11:20 .TTauthority\r\n       392 -rw-------   1 root     other       1103  9月  2 11:20 .Xauthority\r\n    270234 drwxr-xr-x   2 root     other        512  4月 29  2004 .Xlocale\r\n       377 -rw-------   1 root     other       8640  9月  3 12:45 .bash_history\r\n    181829 drwxr-xr-x  11 root     other        512  9月  2 11:20 .dt\r\n       117 -rwxr-xr-x   1 root     other       5111  1月  6  2004 .dtprofile\r\n    259074 drwxr-xr-x   3 root     other        512  7月 21  2004 .iiim\r\n    143535 drwx------   5 root     other        512  8月 23 19:39 .netscape\r\n       254 -rw-r--r--   1 root     other        143  5月 15  2004 .profile\r\n       382 -r--r--r--   1 root     root        5355  1月 16  2004 .profile-EIS\r\n       384 -rw-------   1 root     other       2290  9月  3 13:51 .sh_history\r\n       351 -rw-r--r--   1 root     other       1214  5月 13  2004 .smc.properties\r\n    242384 drwxr-xr-x   2 root     root         512  1月  6  2004 TT_DB\r\n        14 lrwxrwxrwx   1 root     root           9  1月  6  2004 bin -> ./usr/bin\r\n    396296 drwxr-xr-x   4 root     sys          512  1月  6  2004 boot\r\n    137816 drwxr-xr-x  15 root     nobody       512  9月  3 13:20 cdrom\r\n       381 -rw-------   1 root     other    1470560  4月 16  2004 core\r\n       380 -rw-------   1 root     other         36  5月 17  2004 dead.letter\r\n    203672 drwxr-xr-x  15 root     sys         4096  9月  3 13:50 dev\r\n    220183 drwxr-xr-x   5 root     sys          512  1月  6  2004 devices\r\n    137600 drwxr-xr-x  41 root     sys         4096  9月  3 13:51 etc\r\n      5504 drwxr-xr-x   3 root     sys          512  1月  6  2004 export\r\n    143245 dr-xr-xr-x   1 root     root           1  9月  3 13:51 home\r\n    407303 drwxr-xr-x  11 root     sys          512  1月  6  2004 kernel\r\n        16 lrwxrwxrwx   1 root     root           9  1月  6  2004 lib -> ./usr/lib\r\n       253 -rw-r--r--   1 root     other        136  2月 16  2004 list\r\n         3 drwx------   4 root     root        8192  1月  6  2004 lost+found\r\n    236683 drwxr-xr-x   2 root     sys          512  1月  6  2004 mnt\r\n     22100 dr-xr-xr-x   1 root     root           1  9月  3 13:51 net\r\n    407841 drwx------   2 root     other        512  5月 13  2004 nsmail\r\n    247707 drwxr-xr-x  10 root     sys          512  8月 25 17:56 opt\r\n     11014 drwxr-xr-x   4 root     sys          512  1月  6  2004 platform\r\n    253213 dr-xr-xr-x  24 root     root       61120  9月  3 13:51 proc\r\n    258700 drwxr-xr-x   2 root     sys         1024  1月  7  2004 sbin\r\n    308692 drwxr-xr-x   3 root     other        512  6月 10  2004 temp\r\n    269707 drwxrwxrwt   2 root     sys          150  9月  3 13:51 tmp\r\n     66048 drwxr-xr-x  36 root     sys         1024  1月  7  2004 usr\r\n     16512 drwxr-xr-x  31 root     sys          512  5月 14  2004 var\r\n    121294 drwxr-xr-x   2 root     root         512  1月  6  2004 vol\r\n     27724 dr-xr-xr-x   1 root     root           1  9月  3 13:51 xfn\r\n\r\n\r\n谁来解释一下红色标明的部分这个值为什么会是这么大?\r\n\r\ncore的那一项好像也有些问题?\r\n\r\n目录块的结束如何确定?\n\n[ 本帖最后由 sunsroad 于 2006-9-3 15:15 编辑 ]
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP