🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.archives
Article #5875

[comp.sys.sun] Securely scrubbing Sun fileserver disk

#5875
From: Howard C. Hart
Date: Mon, 08 Jan 1990 20:07
37 lines
2406 bytes
Archive-name: titan/sun-source/scrub.c
Original-posting-by: nova!hart@decwrl.dec.com (Howard C. Hart)
Original-subject: Re: Securely scrubbing Sun fileserver disk (long
Archive-site: titan.rice.edu [128.42.1.30]
Archive-directory: sun-source
Archive-files: scrub.c
Reposted-by: emv@math.lsa.umich.edu (Edward Vielmetti)

In article <3846@brazos.Rice.edu> Murky@cup.portal.com writes:
>X-Sun-Spots-Digest: Volume 8, Issue 219, message 5 of 8
>
>I need to bring a fileserver which has classified info on it out of the
>secure area.  In order to do this, the disk must be scrubbed of all data
>according to DoD guidelines.  I know Sun sells software to do this but

This works great if you can daisy chain the disk to be wiped onto a
standalone machine with its own root and swap on a local disk. ie- we used
it to wipe a SCSI disk, just daisy chained it to a standalone 3/60 and
scrubbed the raw partition. Security types usually like to see it wiped x
times with alternating ones and zeroes, so you may want customize the
buffers a little bit more to accomomodate them, or use bzero to speed up
the buffer loadins.  Also, I chose 8192 for BUFSIZE since that's the size
of the standard Sun buffer. Disk vendors have told me as high as 16K to
speed the process up.  Lastly, I don't know if you can keep this resident
in RAM along with a kernal image and wipe a single attached disk--Inever
tried it, though it should be possible. One more thing, it may or may not
write the bad partitions already labeled as such on the disk--that's up to
the controller and device drivers, but then again, it is free...:-) 

[[Ed's Note: Placed in titan archives.]]

FTP: 	Hostname : titan.rice.edu (128.42.1.30)
	Directory: sun-source
	Filename : scrub.c

Archive Server Address: archive-server@rice.edu
Archive Server Command: send sun-source scrub.c
Technical Details
Message-ID: <10573@stag.math.lsa.umich.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!usc!samsung!umich!sharkey!math.lsa.umich.edu!emv
References: <4044@brazos.Rice.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!usc!samsung!umich!sharkey!math.lsa.umich.edu!emv
From: nova!hart@decwrl.dec.com (Howard C. Hart)
Newsgroups: comp.archives
Subject: [comp.sys.sun] Securely scrubbing Sun fileserver disk
Message-ID: <10573@stag.math.lsa.umich.edu>
Date: 8 Jan 90 20:07:42 GMT
References: <4044@brazos.Rice.edu>
Sender: news@math.lsa.umich.edu
Reply-To: nova!hart@decwrl.dec.com (Howard C. Hart)
Followup-To: comp.sys.sun
Lines: 37
Approved: emv@math.lsa.umich.edu (Edward Vielmetti)