liankun1980 发表于 2003-5-13 21:21:07

请问reiserfs的高手。

请研究过reiserfs的高手们赐教:在reiserfs下面怎样实现碎片整理功能?
谢谢。

ys021662 发表于 2003-5-13 21:25:03

linux分区好象不须要碎片整理吧!

Dragonfly 发表于 2003-5-13 22:05:52

reiserfs need not do defragmentation. most of the file system under linux can control the fragmentation to a very small fraction. and modern file systems do not have this problem.

liankun1980 发表于 2003-5-14 11:06:06

但是目前我的毕业设计就是要做这一个啊.所以请教各位.

Dragonfly 发表于 2003-5-14 11:09:54

if it need not be defragmented. why u need write such a program.
ok, i have a solution

#include <stdio.h>
int main()
{
printf("Begin defragment...\n");
sleep(10);
printf("Dfragment finished!\n");
}

CNOOC 发表于 2003-5-14 11:26:57

I happened read some articles about defragment under linux, but I have lost the information. Sorry.

keenor 发表于 2003-5-14 12:31:45

if it need not be defragmented. why u need write such a program.
ok, i have a solution

#include <stdio.h>
int main()
{
printf("Begin defragment...\n");
sleep(10);
printf("Dfragment finished!\n");
}

强!!

Dragonfly 发表于 2003-5-14 21:29:48

although ext2 fs have a utility for defragmentation. reiserfs, ext3, and xfs need not.

cnhnln 发表于 2003-5-14 22:41:18

先备份,再格式化,然后解压回去:mrgreen:
页: [1]
查看完整版本: 请问reiserfs的高手。