I
iic2
Guest
What is the meaning of bs=1m or count=2 or count=10? Are there others? Which is the fastest or slowest and why?
Are there others that you know of that can 0 + 1 + X the disk far beyond data recover?
The reason why is I have four installs of FBSD and plan to avoid going to single usr mode to do things. Mainly for zero_FILLING of each partition indivually and than restoring back-up files from where I am (FBSD-1).
FBSD-1 is my home base for testing and building things for FBSD-2 and FBSD-3 ... FBSD-4 is where my final install will live and will be copied to other machines of particular use. Pretty cool umm. Well, that my goal.
I messed a lot of things up over the pass few days but I pick up a lot of information about FreeBSD (what it will do and not do). but now I'm ready for my main test and I need to make sure I get it right and understand dd to its fullest. I am tired of screwing-up and starting over again and again.
F1 FreeBSD
F2 FreeBSD
F3 FreeBSD
F4 FreeBSD
I boot to F1. I mount the usr partition of F2 -- ad4s2f as _2f. Actually I don't have to mount anything because I got got them listed in fstab as 2 2 (Dump - Pass#).
Which can I do safely and insure that I zero_FILL only ad4s2f and why?
or
or
or
So far I only tried the following code but it never remove everything. It's strange to me that ad4s2 has LIVE files that should be dead when booting ad4s1. All of my installs has their OWN root partition. It was my very first shocking experience. I did not expect this.
Bottom line, in the end when I get it right I expect all out-side partitions to be DEAD until I boot to that particular SLICE.
Lots of questions and ideas. I'm only half way there. I appreciate what you have as time moves on.
Thanks in advance
Are there others that you know of that can 0 + 1 + X the disk far beyond data recover?
Code:
dd if=/dev/random of=/dev/ad0s1a bs=1m
Code:
dd if=/dev/zero of=/dev/ad1 count=2
Code:
dd if=/dev/zero of=/dev/whatever bs=1M count=10
The reason why is I have four installs of FBSD and plan to avoid going to single usr mode to do things. Mainly for zero_FILLING of each partition indivually and than restoring back-up files from where I am (FBSD-1).
FBSD-1 is my home base for testing and building things for FBSD-2 and FBSD-3 ... FBSD-4 is where my final install will live and will be copied to other machines of particular use. Pretty cool umm. Well, that my goal.
I messed a lot of things up over the pass few days but I pick up a lot of information about FreeBSD (what it will do and not do). but now I'm ready for my main test and I need to make sure I get it right and understand dd to its fullest. I am tired of screwing-up and starting over again and again.
F1 FreeBSD
F2 FreeBSD
F3 FreeBSD
F4 FreeBSD
I boot to F1. I mount the usr partition of F2 -- ad4s2f as _2f. Actually I don't have to mount anything because I got got them listed in fstab as 2 2 (Dump - Pass#).
Which can I do safely and insure that I zero_FILL only ad4s2f and why?
Code:
dd if=/dev/random of=/dev/ad4s2f bs=1m
Code:
dd if=/dev/random of=/_2f bs=1m
Code:
dd if=/dev/zero of=/dev/ad4s2f bs=1M count=10
Code:
dd if=/dev/zero of=/dev/_2f bs=1M count=10
So far I only tried the following code but it never remove everything. It's strange to me that ad4s2 has LIVE files that should be dead when booting ad4s1. All of my installs has their OWN root partition. It was my very first shocking experience. I did not expect this.
Bottom line, in the end when I get it right I expect all out-side partitions to be DEAD until I boot to that particular SLICE.
Code:
rm -rPfv /_2f
Lots of questions and ideas. I'm only half way there. I appreciate what you have as time moves on.
Thanks in advance