...making Linux just a little more fun!

Talkback

Talkback:156/jangir.html

[ In reference to "Writing Network Device Drivers for Linux" in LG#156 ]

Mr, Vikas (NSN - IN/Bangalore) [vikas.mr at nsn.com]


Thu, 23 Jul 2009 18:54:24 +0800

Hi,

I read this article and it was very helpful. Do you have similar articles for Broadcom Corporation NetXtreme II BCM5708 Gigabit Ethernet (rev 12) ?

Regards

Vikas


Talkback:164/lg_tips.html#1

[ In reference to "2-Cent Tips" in LG#164 ]

Paul Sephton [paul at inet.co.za]


Fri, 03 Jul 2009 23:14:47 +0200

@$# This was originally entitled: "about 2c ext2 fragmentation" - Kat $#@

On Fri, 2009-07-03 at 22:46 +0200, Carlos Baiget wrote:

> another 0.5c: If any file in the given directory has a space in his 
> name, the defragmentation script will not work. To replace all spaces 
> inside the file name, i suggest to do a
> 
>  rename 's/\ /_/g' *
> 
> previously or modify IFS environment variable to not consider space as 
> field separator.
> 
> Carlos

Ah, yes; or simply quote the file names as follows:

    fs=`echo "$line" | cut -f 1 -d':'`
    fn=`echo "$line" | cut -f 2 -d':'`
# copy the file up to 10 times, preserving permissions
    j=0;
    while [ -f "$fn" -a $j -lt 10 ]; do
    ....

IFS also makes sense. Thanks for highlighting this rather serious error. I really should have taken the trouble to test this properly first!

Paul

[ Thread continues here (10 messages/14.83kB) ]


Talkback:164/lg_tips.html

[ In reference to "2-Cent Tips" in LG#164 ]

Dan Moore [danmoore63043 at yahoo.com]


Fri, 17 Jul 2009 10:26:19 -0700 (PDT)

Re: Laptop installation problem from jack [rjmayfield at satx.rr.com] in issue #164.

Whenever I have trouble booting a distro, I disable "quiet" and "splash" options, so I can see text indicating a problem, or at least telling me how far the boot got.

On our Dell C400, I boot by adding the boot options: noapic nolapic acpi=off vga=771

I've never met a distro that can't boot the C400 with those added.

- Dan

P.S. If I sent to the wrong list, please enlighten me.



Talkback: Discuss this article with The Answer Gang

Copyright © 2009, . Released under the Open Publication License unless otherwise noted in the body of the article. Linux Gazette is not produced, sponsored, or endorsed by its prior host, SSC, Inc.

Published in Issue 165 of Linux Gazette, August 2009

Tux