Hi,

I noticed that /sbin/hotplug is called by the kernel when I am doing

        fdisk -l /dev/hda

to do a "remove" and then do "add" again:

~ # fdisk -l /dev/hda
kobject_hotplug
kobject_hotplug: /sbin/hotplug block seq=574 HOME=/ PATH=/sbin:/bin:/usr/sbin:/usr/bin ACTION=remove DEVPATH=/block/hda/hda1 SUBSYSTEM=block
 hda: hda1
kobject_hotplug
kobject_hotplug: /sbin/hotplug block seq=575 HOME=/ PATH=/sbin:/bin:/usr/sbin:/usr/bin ACTION=add DEVPATH=/block/hda/hda1
SUBSYSTEM=block

Disk /dev/hda: 512 MB, 512483328 bytes
16 heads, 63 sectors/track, 993 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/hda1   *           1         993      500440+   6  FAT16


Why is it so? And what is the system suposed to do? Actually remove the device?

--
Steven

-
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to