zero out unused HD space

2004-01-15 Thread fbsd_user
I am trying to zero out all the unused disk space in the FBSD system
Hard Drive.
Using this command
dd if=/dev/zero of=filler bs=1m

but get error message saying file system full and have file named
filler.

I don't think this commands is doing what I want.

How can I check to see if the unused space is all zeros?

Help please.


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: zero out unused HD space

2004-01-15 Thread Jonathan Chen
On Thu, Jan 15, 2004 at 08:25:27PM -0500, fbsd_user wrote:
 I am trying to zero out all the unused disk space in the FBSD system
 Hard Drive.
 Using this command
 dd if=/dev/zero of=filler bs=1m
 
 but get error message saying file system full and have file named
 filler.
 
 I don't think this commands is doing what I want.

Why not? All this means that what used to be unused disk space has now
been taken by the file filler, which happens to be full of zeros.

If you now rm filler, this frees up the disk space again; the now free
disk-space now contains mostly zeros (it won't stay that way for long
on an active system).

-- 
Jonathan Chen [EMAIL PROTECTED]
--
  Opportunity does not knock,
   it presents itself when you beat down the door - W.E. Channing
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]