lkml.org 
[lkml]   [1997]   [Jan]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
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 13:38    [W:0.083 / U:0.264 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site