the remount problem [2.4.0] kind of solved [patch]

2001-01-21 Thread Bernd Eckenfels
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

Re: the remount problem [2.4.0] kind of solved [patch]

2001-01-21 Thread Goswin Brederlow
> " " == 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-

Re: the remount problem [2.4.0] kind of solved [patch]

2001-01-22 Thread Bernd Eckenfels
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

Re: the remount problem [2.4.0] kind of solved [patch]

2001-01-22 Thread Goswin Brederlow
> " " == 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

Re: the remount problem [2.4.0] kind of solved [patch]

2001-01-26 Thread Wichert Akkerman
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. --

Re: the remount problem [2.4.0] kind of solved [patch]

2001-01-27 Thread Albert D. Cahalan
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