home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Usenet 1994 October
/
usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso
/
misc
/
volume1
/
8707
/
32
/
README
< prev
next >
Wrap
Text File
|
1990-07-13
|
2KB
|
39 lines
fsfilt - filesystem filter for find (System V).
This program is intended for machines without a -mount option
on their find(1) command. We use this program for doing backups,
when we do not want find to cross mountpoints in the directory
structure. This program will pick up the current working
directory, read the mount table (/etc/mnttab on system V machines)
and build a list of directories that should NOT be backed up.
This program is inteneded to have find(1) output piped into it.
Each filename is examined, and if it does not contain references
to any of the children filesystems of the current filesystem, if
any, then the filename is printed on standard output, otherwise
it is trashed.
An example command would be:
find . -print | fsfilt | cpio -ocB > /dev/rmt1
In addition to children filesystems, the tmp directory in both /
and /usr are not backed up. This dependancy is hardcoded into the
source.
An example of how this program is used is given in the file
./backup. This is the shell script which we use to backup
our machine each week.
This source is copyright (c) 1987 by Mark H. Colburn.
Permission is hereby given to use or modify this program for
any non-commercial purpose. No gaurentee of fitness, or
suitability for any purpose is expressed, or implied.
(There, have I covered my butt sufficiently? :-)
Please send any enhancements, comments or bugs to the author.
Mark H. Colburn
EMS/McGraw-Hill
(mark@ems.mn.org)