Optimizing a file system

Jim Webb jrw at hropus.UUCP
Tue Dec 9 12:38:35 AEST 1986


> I'm looking for software to optimize Unix (sys V.2) file systems.  I 
> can gain some benefit by backing up and restoring, but in my 
> situation, it would be more automated if I could umount a file system 
> and run a program on it.  I realize that there are commercial programs 
> available, but would prefer something less expensive.  
> 
> It appears that the Sys V dcopy might do what I want, but it's not 
> clear that it can copy back to the same file system.  

dcopy will do the trick, but is slow...  You need a spare pack to copy the
filesystem to, you can then use volcopy or dd to copy it back.  If you
want to optimize the free list, you can use fsck with the -s (or -S) option.
This is fairly quick and if done frequently, quite effective.
-- 
Jim Webb             "Out of phase--get help"          ...!ihnp4!hropus!jrw
    "Make sure comments and code agree.  If not, write a man page..."



More information about the Comp.unix.questions mailing list