[comp.sources.wanted] Optimizing a file system

zeeff@b-tech.UUCP (Jon Zeeff) (11/25/86)

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.  
-- 
------------------------------------------------------------------
- Jon Zeeff			ihnp4!umich!b-tech!zeeff
  Branch Technology		Jon_Zeeff%um.cc.umich.edu
  Ann Arbor, MI

jrw@hropus.UUCP (Jim Webb) (12/09/86)

> 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..."