passing command line arguments to kernel module

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hi all,
          > in user program we pass command line parameters in my case
           >for example :   i pass 1st arguement as script and other arguements
           > $ ../Bin/Readdata id20 normal 32496 8192
          >tis wil execute the scripts which contains test cases

         >now i am porting user code to kernel module.i should pass command line
     >arguments using insmod. ex insmod ../Bin/Readdata id20 normal 32496 8192
       >whether the module will invoke the script?
      >in user cde we use main( int argc,char  *argv[  ])
       >i should replace main with init in kernel module.

thanks ,
hari

Send instant messages to your online friends http://uk.messenger.yahoo.com


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux