<html>
<head>
</head>
<body class='hmmessage'><div dir='ltr'>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:΢ÈíÑźÚ
}
--></style>
<div dir="ltr"><div><pre><span style="font-size: 12pt; ">></span><span style="font-family: ΢ÈíÑźÚ, sans-serif; font-size: 12pt; ">> I want to travese(find out) all opened file struct</span></pre></div><div><pre> <br>>Actually, no, you don't.<br> Ok,are there no list to manage all file struct,it is really not convenience.<br>>> i want to find out all process that have open that file.<br> <br>>>Hint: There's probably a faster way to do it than checking *all* open files.<br> <br>>>You can probably do even better if you explain *why* you want to find<br>all processes. If you find them, what do you intend to do? (Again, depending</pre><pre> I just want to print process info whitch have open a specific file£¨inode£©. Then if i want to delete a file in use,i can just kill the process one by one.<br>>>on what you're trying to do, there's probably an easier way).<br></pre>Are there a easier way in this scene?<br>_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies</div></div>
                                           </div></body>
</html>