Re: Does linux locks swap file?

Fabio Olive Leite (leitinho@akira.ucpel.tche.br)
Wed, 22 Jan 1997 18:44:28 -0200 (EDT)


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... )