Re: [arch-general] Super weird dd problem.

2013-06-10 Thread Anatol Pomozov
Hi On Mon, Jun 10, 2013 at 1:22 AM, Thomas Bächler wrote: > Am 10.06.2013 05:18, schrieb Anatol Pomozov: > > "sync" is not a workaround, it is a right solution. > > You are wrong. > > > Under the hood copying in linux works following way. Every time you read > > something from disk the file infor

Re: [arch-general] Super weird dd problem.

2013-06-10 Thread Alfredo Palhares
Hello, > It would be good to know which usb drive we are talking about, if it has > any "features" such as U3 or if it was an offer and came with publicity > materials or something like that. It an old arse pen drive, but I tried with several devices, the problem is common to them. > On another

Re: [arch-general] Super weird dd problem.

2013-06-10 Thread Mauro Santos
On 09-06-2013 22:23, Alfredo Palhares wrote: > Hello, > > So I was creating a archlinux usb bootable drive: > > [root@masterkorp-laptop Downloads]# dd bs=4M if=archlinux-2013.06.01-dual.iso > of=/dev/sdb > 130+1 records in > 130+1 records out > 548405248 bytes (548 MB) copied, 0.964976 s, 568 MB

Re: [arch-general] Super weird dd problem.

2013-06-10 Thread Alfredo Palhares
Excerpts from Pedro Emílio Machado de Brito's message of Mon Jun 10 02:53:22 +0200 2013: > I've been having this sort of problems with removable storage lately > (copying multiple GBs of songs in a few seconds, except not really). > The workaround I found out is to run the sync command after copyi

Re: [arch-general] Super weird dd problem.

2013-06-10 Thread Joerg Schilling
Thomas Bächler wrote: > Am 10.06.2013 05:18, schrieb Anatol Pomozov: > > "sync" is not a workaround, it is a right solution. > > You are wrong. > > > Under the hood copying in linux works following way. Every time you read > > something from disk the file information will stay cached in memory re

Re: [arch-general] Super weird dd problem.

2013-06-10 Thread Bjoern Franke
Hi, > I always unmount my devices before unplugging, but I found out that > after writing a lot of data to a slow device (SD card in my case), > umount or udiskie-umount would block for a long time, then exit with > some weird error message and the data would have not been correctly > written. >

Re: [arch-general] Super weird dd problem.

2013-06-10 Thread Thomas Bächler
Am 10.06.2013 05:18, schrieb Anatol Pomozov: > "sync" is not a workaround, it is a right solution. You are wrong. > Under the hood copying in linux works following way. Every time you read > something from disk the file information will stay cached in memory region > called "buffer cache". That

Re: [arch-general] Super weird dd problem.

2013-06-09 Thread Anatol Pomozov
Hi On Sun, Jun 9, 2013 at 8:47 PM, Pedro Emílio Machado de Brito < pedroembr...@gmail.com> wrote: > 2013/6/10 Anatol Pomozov : > > > > "sync" is not a workaround, it is a right solution. > > > > Under the hood copying in linux works following way. Every time you read > > something from disk the

Re: [arch-general] Super weird dd problem.

2013-06-09 Thread Pedro Emílio Machado de Brito
2013/6/10 Anatol Pomozov : > > "sync" is not a workaround, it is a right solution. > > Under the hood copying in linux works following way. Every time you read > something from disk the file information will stay cached in memory region > called "buffer cache". Next time you read the same informati

Re: [arch-general] Super weird dd problem.

2013-06-09 Thread Karol Blazewicz
On Mon, Jun 10, 2013 at 5:18 AM, Anatol Pomozov wrote: > Hi > > > On Sun, Jun 9, 2013 at 5:53 PM, Pedro Emílio Machado de Brito < > pedroembr...@gmail.com> wrote: > >> 2013/6/9 Alfredo Palhares : >> > Hello, >> > >> > So I was creating a archlinux usb bootable drive: >> > >> > [root@masterkorp-lap

Re: [arch-general] Super weird dd problem.

2013-06-09 Thread Anatol Pomozov
Hi On Sun, Jun 9, 2013 at 5:53 PM, Pedro Emílio Machado de Brito < pedroembr...@gmail.com> wrote: > 2013/6/9 Alfredo Palhares : > > Hello, > > > > So I was creating a archlinux usb bootable drive: > > > > [root@masterkorp-laptop Downloads]# dd bs=4M > if=archlinux-2013.06.01-dual.iso of=/dev/sdb

Re: [arch-general] Super weird dd problem.

2013-06-09 Thread Pedro Emílio Machado de Brito
2013/6/9 Alfredo Palhares : > Hello, > > So I was creating a archlinux usb bootable drive: > > [root@masterkorp-laptop Downloads]# dd bs=4M if=archlinux-2013.06.01-dual.iso > of=/dev/sdb > 130+1 records in > 130+1 records out > 548405248 bytes (548 MB) copied, 0.964976 s, 568 MB/s > > I was like W

Re: [arch-general] Super weird dd problem.

2013-06-09 Thread Toyam Cox
On Sun, Jun 9, 2013 at 5:23 PM, Alfredo Palhares wrote: Hello, So I was creating a archlinux usb bootable drive: [root@masterkorp-laptop Downloads]# dd bs=4M if=archlinux-2013.06.01-dual.iso of=/dev/sdb 130+1 records in 130+1 records out 548405248 bytes (548 MB) copied, 0.964976 s, 568 MB/s I wa

[arch-general] Super weird dd problem.

2013-06-09 Thread Alfredo Palhares
Hello, So I was creating a archlinux usb bootable drive: [root@masterkorp-laptop Downloads]# dd bs=4M if=archlinux-2013.06.01-dual.iso of=/dev/sdb 130+1 records in 130+1 records out 548405248 bytes (548 MB) copied, 0.964976 s, 568 MB/s I was like WOW, this was too fast! But nothing ever gets wr