I think I may have found a bug in dd or else something is wrong with amanda

Joi Ellis joi at aravox.com
Tue Sep 12 20:11:32 PDT 2000


Jim Dennis wrote:
> 

> 
>   Note: you could dd the data (from the tape) to a raw partition
>   on your Linux system (of=/dev/[hs]d[abcd...][12345...]).  That
>   could act as a temporary storage area if you can't use a pipe
>   for some reason.  I think Linux' 'restore' can use a raw device
>   and I know GNU tar can do so.
> 
>   (I've created 6Gb backup files on raw partitions -- and I've
>   tested that it will not over-write any other partitions on the
>   same physical device, it will give an error if you try to write
>   too much into the partition.  I've also use tar to extract from
>   such raw disk partitions.  To do this just pick a partition and
>   DON'T do a mkfs nor a 'mount' on it).

!!!UNIX NEWBIE WARNING!!!

Do not try this with disk which has real data on it!  Do not try
using /proc or your swap partitions, either!  Doing this with
a live disk will OVERWRITE everything important on that disk!
If it shows up in /etc/fstab or "mount", you can't use it!

Unless you've installed a disk partition specifically for this 
purpose, it's a safe bet you don't have a free partition handy 
to use for this.

Be extremely careful typing this command, if you get it wrong you 
stand a good chance of trashing your system!

!!!UNIX NEWBIE WARNING!!!

I'm sure most of us know better, but I think this just has to be
said.  Not every linux user understands what dd really does.

--
Joi Ellis                    Software Engineer
Aravox Technologies          joi at aravox.com, gyles19 at visi.com

No matter what we think of Linux versus FreeBSD, etc., the one thing I
really like about Linux is that it has Microsoft worried.  Anything
that kicks a monopoly in the pants has got to be good for something.
           - Chris Johnson


More information about the Linux mailing list