Article View: comp.sys.next.sysadmin
Article #1555Re: tricking dump to not dump files
From: Scott S. Bertilson
Date: Fri, 16 Oct 1992 22:50
Date: Fri, 16 Oct 1992 22:50
13 lines
1391 bytes
1391 bytes
Well, there *is* a way, but it is really sleazy. It turns out that NeXT has added a hack to "dump" which causes it to look at the list of swap files in "/etc/swaptab" and leave them out of the backup. I just tested it to be sure and found that I could just tack my list of files to be excluded onto the end of the file (no special formatting needed) and they were left off the backup. I suppose it could be rather unfortunate if that list of files is still there when you boot and "mach_swapon" runs - I don't know whether it will try to use them without the extra sugar. Perhaps if you use this, you should add a little hack to "/etc/rc" to guarantee that the gunk is eliminated before "mach_swapon" runs. --
Technical Details
Message-ID:
<1992Oct16.225002.12431@news2.cis.umn.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!kithrup!stanford.edu!agate!ames!haven.umd.edu!darwin.sura.net!zaphod.mps.ohio-state.edu!uwm.edu!daffy!uwvax!zazen!doug.cae.wisc.edu!umn.edu!pascal.geom.umn.edu!scottReferences:
<1992Oct16.194343.24190@Princeton.EDU>Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.next.sysadmin,comp.sys.next.programmer Path: arc1-ca.pugleaf.net!sparky!uunet!kithrup!stanford.edu!agate!ames!haven.umd.edu!darwin.sura.net!zaphod.mps.ohio-state.edu!uwm.edu!daffy!uwvax!zazen!doug.cae.wisc.edu!umn.edu!pascal.geom.umn.edu!scott From: scott@pascal.geom.umn.edu (Scott S. Bertilson) Subject: Re: tricking dump to not dump files Message-ID: <1992Oct16.225002.12431@news2.cis.umn.edu> Sender: news@news2.cis.umn.edu (Usenet News Administration) Nntp-Posting-Host: pascal.geom.umn.edu Organization: Geometry Center, University of Minnesota References: <1992Oct16.194343.24190@Princeton.EDU> Date: Fri, 16 Oct 1992 22:50:02 GMT Lines: 13