At 01:56 AM 12/10/2000 -0600, Peter Samuelson wrote:

>[David Feuer]
> > Perhaps it would be good to put a check in unlink to make sure that
> > this is not the last link to a swapfile.
>
>Much better to add code to /sbin/swapon and /sbin/swapoff to set and
>clear immutable bit.  Sure it only works on ext2 but how far do you
>want to take this thing?

In a private email, [EMAIL PROTECTED]  wrote:

>No; we should add some more magic-symlink /proc entries, like
>/proc/<pid>/fd/<n> for swap files.  Then they can be accessed
>by swapoff even if they're deleted.

Seems like a good idea to me...

--
This message has been brought to you by the letter alpha and the number pi.
Open Source: Think locally; act globally.
David Feuer
[EMAIL PROTECTED]

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/

Reply via email to