lkml.org 
[lkml]   [2010]   [Sep]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: ldd scull_load question
On Sun, Sep 05, 2010 at 08:35:14AM +0800, runcoderen wrote:
> hi all:
> I am reading ldd(3rd).
> when I read the scull_load part.
> I can't understand some special sentences in the scripts as follows:
>
> /sbin/insmod ./$module.ko $* || exit 1
>
> why we add $* and || exit 1 after /sbin/insmod ./$module.ko?
> can anyone help me to understand?

Hey,

The '$*' means bash variables. I believe it is a question not related to
Linux kernel. See

http://tldp.org/LDP/abs/html/othertypesv.html

/Adam

> runcoderen
>
> --
>
> /****************************************
> http://runcoderen.wordpress.com
> ****************************************/
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/


\
 
 \ /
  Last update: 2010-09-05 05:21    [W:0.393 / U:0.192 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site