From mboxrd@z Thu Jan 1 00:00:00 1970 From: Steffen Sledz Date: Mon, 15 Aug 2011 11:09:05 +0000 Subject: When does the kernel emits add events? Message-Id: <4E48FE51.4060706@dresearch-fe.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit To: linux-hotplug@vger.kernel.org Hi udev-Team, just a short question for my understanding. When does the kernel emits add events for block devices? With 'udevadm monitor' i've seen something that is confusing me: 1. I've an unmounted vfat partition. After running 'fsck.vfat -a /dev/sdb1' an add event occurs, but not after 'fsck.vfat -V /dev/sdb1'? 2. We have an embedded device based on an OXE810 platform. When loading the related kernel module the kernel emits an add event for the disk itself (e.g. /dev/sdb) and for all partitions on it (/dev/sdb1, ...). But then the kernel continues to send add events for the disk itself until *all* partitions on it are mounted. Is this an intended behaviour? Or a bug inside the kernel module? Regards, Steffen Sledz -- DResearch Fahrzeugelektronik GmbH Otto-Schmirgal-Str. 3, 10319 Berlin, Germany Tel: +49 30 515932-237 mailto:sledz@dresearch-fe.de Fax: +49 30 515932-299 Geschäftsführer: Dr. Michael Weber, Werner Mögle; Amtsgericht Berlin Charlottenburg; HRB 130120 B; Ust.-IDNr. DE273952058