Hello,
the following patch against 2.4.0 will allow the kernel to write a message
to the kernel log in case files are open for write or delete on a partition
which should be remounted.
I run my System with Read-Only /usr File System and this works fairly well.
I have a script to remount the diff
> " " == Bernd Eckenfels <[EMAIL PROTECTED]> writes:
> Hello, the following patch against 2.4.0 will allow the kernel
> to write a message to the kernel log in case files are open for
> write or delete on a partition which should be remounted.
> I run my System with Read-
Hello,
for Short: I had a mail exchange with Vic Abell, the lsof Author, and in the
next Version of lsof the open shared libs will be detected. So my Kernel
Patch is no longer needed:
# ~root/rw
# rm /usr/lib/jabber/jsm/libjsm.so
# ~root/ro
mount: /usr busy
# lsof_4.55A.linux/lsof -a +L1 /usr
CO
> " " == Bernd Eckenfels <[EMAIL PROTECTED]> writes:
>> Why in hell are library open for write? But it doesn't seem to
>> be only libraries:
> They are not open for write. They are open for mmaped read. The
> Problem with this is, that as long as the files are open, the
Previously Goswin Brederlow wrote:
> Maybe the kernel coud swap in the deleted libraries and keep it in
> memory or real swap from then on instead of blocking the fs.
No, you have no idea how large the file might grow and you need to
keep that data somewhere.
Wichert.
--
Wichert Akkerman writes:
> Previously Goswin Brederlow wrote:
>> Maybe the kernel coud swap in the deleted libraries and keep it in
>> memory or real swap from then on instead of blocking the fs.
>
> No, you have no idea how large the file might grow and you need to
> keep that data somewhere.
G
6 matches
Mail list logo