Re: loading modules

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

 



Cristina Rivera wrote:
Hi!

I have some doubts with module loading. I have a char device and a module that works with it in a specific directory but I want to load the module from elsewhere in my user's directories tree, so, my question is, can I load a module being for example at /home/user/directory1 when I have created my module and I have the object file in /home/user/module_1.

I've been able to load module from anywhere by passing the complete path of the module to insmod. eg. # insmod /path/to/the/module/module1.o

unload it later by
# rmmod module1

HTH,
h
--

hinko<dot>kocevar<at>
iskramedical<dot>si
Hinko Kocevar, developer		"Aì rén"
Iskra Medical d.o.o.				[Analects XII:22]
Stegne 23, 1k LJ, SLO-EU

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[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