Re: Simulating the REMOVABLE media - Could any one please suggest me.

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

 



I prepared an IOCTL to simulate the removable media to the kernel.
When the applications issues IOCTL, it removes the device from the
kernel space.

when I issue #ls /mnt (mount point) ( i.e. after the application issues
the IOCTL) the CONSOLE crashes, OR it crashes when tried to unload the
module.

How did you mount it? I mean, did you try to mount some FS. If yes, which FS? I tried opening device (as in your application without mounting) and it works well i.e first time device opens and second time onward it fails to open (and system continue to be up).

Regards,
Mohanlal


--
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