Re: how to acheive the synchronization in between the How to acheive the synchronization between existing driver and new kernel module.
- From: "sudip05@xxxxxxxxxxxx" <sudip05@xxxxxxxxxxxx>
- Date: 22 Nov 2006 22:12:33 -0800
Nutty wrote:
Hello to all !!!!
I m working on the Hard disk drive on the linux - 2.4.20. I would like
to do raw read and write form the Hard disk. For that i have written
the small kernel module. My existing block driver is there. But now the
main concern is how to acheive the synchronization in between the
existing driver and my new kernel module.
Like all other applications accessing the sector for read/write gose
through the existing driver while my application goes through the my
new module. In that case suppose i m accessing the perticular sector
from my application, then i want that no other application can access
the same sector.
Is there any way to acheive the same??
Thanks and Regards,
-NUTTY
This is tricky...try to find out whats the lock its used to access the
sector and then u can use it in ur module. Havent worked on disk
drivers earlier, so culdnt give more insight..
Ciao
.
- Follow-Ups:
- References:
- Prev by Date: Re: UMS iRiver Clix and Debian
- Next by Date: Re: cannot ping/telnet from linux to storage (DS300 TotalStorage).
- Previous by thread: how to acheive the synchronization in between the How to acheive the synchronization between existing driver and new kernel module.
- Next by thread: Re: how to acheive the synchronization in between the How to acheive the synchronization between existing driver and new kernel module.
- Index(es):
Relevant Pages
|