Welcher Prozess schreibt

Florian Lohoff flo at rfc822.org
Tue Oct 17 11:03:36 CEST 2006


On Mon, Oct 16, 2006 at 09:20:58PM +0200, joerg jungermann wrote:
> Ich habe also versucht mit lsof / herauszufinden, was Schmerzen macht.
> Der wirft mir aber nur libs und CWDs auf / aus. Was einem remount,ro
> nicht im Wege stehen sollte.

Ich meine in erinnerung zu haben das selbst "device special files" nicht
writeable geoeffnet werden koenen auf read-only disks.

Scheint aber zumindest mit ext3 zu gehen:

touch:/tmp# dd if=/dev/zero of=file bs=1M count=2
touch:/tmp# mke2fs file
touch:/tmp# mount -o loop file /mnt/
touch:/tmp# cd /mnt
touch:/mnt# MAKEDEV null
touch:/mnt# cd
touch:~# yes >/mnt/null

[2te console]
touch:~# mount -o remount,ro /mnt
touch:~# mount | grep file
/tmp/file on /mnt type ext2 (ro,loop=/dev/loop/0)

> Wie kann ich weiter vorgehen um das Symptom zu bekaempfen, also heraus
> finden was den remount,ro unmoeglich macht ?

read-write files ;)

lsof zeigt hinter dem FD einen buchstaben an - manpage von lsof sagt "u"
ist fuer read/write geoffnet, w fuer write.

Ich habe tonnenweise files in /tmp die read/write geoeffnet sind. X
Sockets, ICE, orbit, gconf.

Du hast /tmp nach /var/tmp gelinkt oder ?

Flo
-- 
Florian Lohoff                  flo at rfc822.org             +49-171-2280134
                        Heisenberg may have been here.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lug-owl.de/pipermail/linux/attachments/20061017/e42f456e/attachment.sig>


More information about the Linux mailing list