The du and ls -l

2004-12-17 Thread Jagadeesh Bhaskar P
Hi, In some cases, as have been mentioned in Advanced Programming in Unix Environment, by Richard Stevens, files with holes report different sizes with du -s and ls -l. But how does the reporting of du and ls -l actually differ? What is the fundamental difference between them?? Hoping for

Re: Create files with specific sizes?

2004-12-17 Thread Simon Valiquette
SVisor a écrit : I wanted a file of garbage, not zeroes. So I tried: dd if=/dev/random of=file bs=1k count=1024 Nope I did not abort it, I just moved the mouse to generate more random numbers (with dd running in X terminal). What dd says is: 0+1024 records in 0+1024 records out You have read a

RE: zero copy issue while receiving the data (counter part of sen dfil e)

2004-12-17 Thread Dmitry Yusupov
On Fri, 2004-12-17 at 21:54 +0530, Rajat Jain, Noida wrote: > > Hi, > > Thanks for the reply. > > Actually I am developing a loadable kernel module. I agree that at the bare > minimum, I need to copy from the NIC's device buffer to kernel's allocated > sk_buff (socket buffer). What I want is to

Re: lilo boot problems with SATA and mandrake 10.1

2004-12-17 Thread Arthur Nascimento
I had that problem too a long time ago - it would show only a L but no error code. (I didn't try with GRUB.) I have no idea whatsoever of what machine it was, but I do know it had winxp on a dual boot too. I was a mere mortal back then (win user) and believed that on a crash the best thing was to r

RE: zero copy issue while receiving the data (counter part of sen dfil e)

2004-12-17 Thread Rajat Jain, Noida
Hi, Thanks for the reply. Actually I am developing a loadable kernel module. I agree that at the bare minimum, I need to copy from the NIC's device buffer to kernel's allocated sk_buff (socket buffer). What I want is to avoid FURTHER coying of data from the sk_buffs to the buffers allocated by