RE: DazukoFS (was Re: Device file events)
"Tikka, Sami" <[email protected]>
| Newsgroups | gmane.linux.dazuko.devel |
|---|---|
| Message-ID | <[email protected]> |
>-----Original Message----- >From: [email protected] >[mailto:[email protected] >] On Behalf Of Abhishek Nayani >Sent: Wednesday, September 14, 2005 11:51 AM >To: John Ogness >Cc: [email protected] >Subject: [Dazuko-devel] DazukoFS (was Re: Device file events) > >One >way would be to either >monitor /etc/mtab || /proc/mounts to know of a mount event and >then mount dazukoFS >on it or to wrap the mount command itself. Both look messy to >me. Any solutions ? 2.6.13 kernel includes a new interface called "inotify". It can tell an application when something is umounted. Perhaps it can be persuaded to inform about mounts too? -- Sami Tikka tel. +358 9 2520 5115 senior software engineer fax. +358 9 2520 5014 mobile +358 40 7379388 F-Secure Corporation http://www.f-secure.com BE SURE