Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!columbia!rutgers!clyde!cuae2!ihnp4!houxm!hropus!jrw From: jrw@hropus.UUCP (Jim Webb) Newsgroups: comp.unix.questions,comp.sources.wanted Subject: Re: Optimizing a file system Message-ID: <817@hropus.UUCP> Date: Mon, 8-Dec-86 21:38:35 EST Article-I.D.: hropus.817 Posted: Mon Dec 8 21:38:35 1986 Date-Received: Tue, 9-Dec-86 06:16:54 EST References: <1447@b-tech.UUCP> Organization: Bell Labs, Holmdel, NJ Lines: 16 Xref: mnetor comp.unix.questions:293 comp.sources.wanted:141 > 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..."