This script manages to shoot off all other processes. Because this 
happens the very first time devfsd tuns (in rc.sysinit) it kills 
rc.sysinit ... you get an idea :-)

My /etc/fstab:

/dev/hdb5 / reiserfs notail 1 1
none /dev/pts devpts mode=0620 0 0
none /dev/shm tmpfs defaults 0 0
/dev/hdc /mnt/cdrom auto 
user,iocharset=koi8-r,umask=0,exec,codepage=866,ro,noauto 0 0
/dev/scd0 /mnt/cdrom2 auto 
user,iocharset=koi8-r,umask=0,exec,codepage=866,ro,noauto 0 0
/dev/fd0 /mnt/floppy auto 
user,iocharset=koi8-r,umask=0,sync,exec,codepage=866,noauto 0 0
/dev/sda4 /mnt/hd ext2 noauto 0 0
/dev/hda1 /mnt/win_c vfat iocharset=koi8-r,umask=0,codepage=866 0 0
/dev/hda5 /mnt/win_d vfat iocharset=koi8-r,umask=0,codepage=866 0 0
none /proc proc defaults 0 0
/dev/hdb6 swap swap defaults 0 0
/dev/hdb7 /mnt/hdb7 reiserfs notail 1 1
/dev/VG/1 /lvm reiserfs notail,noauto 0 0

my /etc/modules

scsi_hostadapter
i2c-i801
w83781d

my /etc/modules.conf

pre-install pcmcia_core CARDMGR_OPTS=-f /etc/rc.d/init.d/pcmcia start
alias usb-interface usb-uhci
alias sound-slot-0 emu10k1
alias scsi_hostadapter ppa
alias scsi_hostadapter1 ide-scsi

probeall scsi_hostadapter ppa ide-scsi


/dec/scd0 is supposed to be the CD-RW that is ide-scsi'd. What I get 
running devfsd:

359   execve("/etc/dynamic/scripts/part.script", 
["/etc/dynamic/scripts/part.script"..., "add", 
"/dev/ide/host0/bus0/target0/lun0"...], [/* 26 vars */]) = 0
360   execve("/bin/rm", ["rm", "-f", "/etc/fstab.dynamic"], [/* 25 vars 
*/]) = 0
361   execve("/usr/sbin/updfstab", ["/usr/sbin/updfstab", "-t"], [/* 25 
vars */]
362   execve("/usr/bin/diff", ["diff", "-c", "/etc/fstab", 
"/etc/fstab.dynamic"], [/* 25 vars */]) = 0
364   execve("/bin/grep", ["grep", "dev"], [/* 25 vars */]) = 0
... (several times grep)
367   execve("/sbin/fuser", ["fuser", "-skm", "/mnt/cdrom2"], [/* 25 
vars */]) = 0

Oops! /mnt/cdrom2 is at this moment still on root, of course. That means

367   kill(1, SIGKILL)                  = 0
367   kill(3, SIGKILL)                  = 0
367   kill(4, SIGKILL)                  = 0
367   kill(5, SIGKILL)                  = 0
367   kill(6, SIGKILL)                  = 0
367   kill(7, SIGKILL)                  = 0
367   kill(8, SIGKILL)                  = 0
367   kill(9, SIGKILL)                  = 0
367   kill(10, SIGKILL)                 = 0
367   kill(13, SIGKILL)                 = 0
367   kill(320, SIGKILL)                = 0
367   kill(321, SIGKILL)                = 0
367   kill(322, SIGKILL)                = 0
367   kill(323, SIGKILL)                = 0
367   kill(324, SIGKILL)                = 0
367   kill(325, SIGKILL)                = 0


nice, is not it? This is repeated for every partition. I am happy to 
provide strace on request (to not clutter list).

-andrej






Reply via email to