How to delete all partitions for a complete reinstall
Alexander Skwar
listen at alexander.skwar.name
Tue Aug 15 13:31:00 UTC 2006
Tony Arnold <tony.arnold at manchester.ac.uk>:
> Alex,
>
> On Tue, 2006-08-15 at 11:55 +0200, Alexander Skwar wrote:
>
>> With Erics command, a "huge" number of write requests is sent (512,
>> to be exact). And every time, just 1 byte is written. That's tremendously
>> slow!
>
> And possible 512 reads too, as for each byte written, dd would have to
> read the block first before writing it back again.
True.
> It could cache the
> block, of course.
Caching the 1 byte read from /dev/zero? :)
> zzalsaca at beeblebrox:~$ time dd if=/dev/zero of=zero.bs2 bs=
> $((1*1024*1024)) count=1
> 1+0 records in
> 1+0 records out
> Segmentation fault
>
> real 0m0.035s
> user 0m0.000s
> sys 0m0.020s
> zzalsaca at beeblebrox:~$ ls -l zero.bs*
> -rw-r--r-- 1 zzalsaca zzalsaca 1048576 2006-08-15 13:39 zero.bs1
> -rw-r--r-- 1 zzalsaca zzalsaca 1048576 2006-08-15 13:40 zero.bs2
>
> But I also get a segmentation fault in the middle of dd's output.
In the middle? According to your output, the dd was complete.
> Is
> this due to running the -26 kernel? or something else?
I don't know.
Alexander Skwar
--
Men say of women what pleases them; women do with men what pleases them.
-- DeSegur
More information about the ubuntu-users
mailing list