lkml.org 
[lkml]   [1997]   [Jan]   [23]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateWed, 22 Jan 1997 18:44:28 -0200 (EDT)
FromFabio Olive Leite <>
SubjectRe: Does linux locks swap file?
Hi!

> /proc/swaps could display the [device:inode] pair, no problem, but from
> here to creating a new file using that pair, especially that the pair IS
> STILL IN USE, is a long, hard, unportable and simply dain bramaged way to
> go.

Ouch, that's true... But it's a kind of a "deadlock" in the kernel, right?
Maybe the kernel functions need a little redefinitions...

> P.S. You could try to undelete the file, but even that is
> filesystem-specific. 

That's what I meant when I said "recreate" the file. :)

[]
Fabio
( Fabio Olive Leite                     leitinho@akira.ucpel.tche.br )
( Computer Science Student      http://akira.ucpel.tche.br/~leitinho )
(                                                                    )
( Running Linux is like running an Amiga;                            )
(               It gives you that "I don't buy Microsoft" feeling... )


\
 
 \ /
  Last update: 2005-03-22 12:38    [W:0.136 / U:0.040 seconds]
©2003-2008 Jasper Spaans