lkml.org 
[lkml]   [1999]   [May]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectKernel Traps
I'm trying to build a simple file system and keep access transparent to
the user.
I want to trap commands like open, close, read, write and seek. For
example,
when a open command is performed on a file beginning with a certain
prefix,
I want to run my code, otherwise the normal code. Is there a 'nice' way
of doing this?
Any information/example would be very helpful.
Cheers.



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:51    [W:0.033 / U:2.392 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site