Gentoo Archives: gentoo-user

From: Dale <rdalek1967@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Testing a used hard drive to make SURE it is good.
Date: Tue, 23 Jun 2020 04:18:36
Message-Id: 914a9d55-03f8-7791-be53-db13335706ff@gmail.com
In Reply to: Re: [gentoo-user] Testing a used hard drive to make SURE it is good. by David Haller
1 David Haller wrote:
2 > Hello,
3 >
4 > On Mon, 22 Jun 2020, Dale wrote:
5 >> David Haller wrote:
6 >>> On Thu, 18 Jun 2020, Dale wrote:
7 >>>> David Haller wrote:
8 > [..]
9 >>>>> ./ones | dd of=/dev/null bs=8M count=1000 iflag=fullblock
10 >>> [..]
11 >>>> I got it to compile, at least it created a file named ones anyway.  What
12 >>>> I'm unclear about, where is the if= for dd in the command?  All the
13 >>>> commands I've seen before has a if= and a of=.  The if for input and of
14 >>>> for output or target.
15 >>> ==== man 1 dd ====
16 >>> if=FILE
17 >>> read from FILE instead of stdin
18 >>> [..]
19 >>> of=FILE
20 >>> write to FILE instead of stdout
21 >>> ====
22 >>>
23 >>> note the stuff after 'instead' ;)
24 >> So it is piped in with the | thingy?  Got it. 
25 > Exactly. Hm. Maybe 'dev_one' might be a better name for the program...
26 > Or something ;)
27 >
28 > [..]
29 >> Thanks much.
30 > You're welcome.
31 >
32 > -dnh
33 >
34
35
36 That name makes sense.  Later on, I might look at that file and say,
37 what is that for?  Hit delete and down the rabbit hole it goes.  I think
38 I'll go do that and also edit my notes as well.  Before I forget it.  ;-)
39
40 Now I have a way to write ones to a drive or file.  Yeppie! 
41
42 Dale
43
44 :-)  :-) 
45
46 P. S. I hope the new glasses, when they come in, helps my memory.  Never
47 hurts to hope right?