linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* hotplug event on fdisk?
@ 2005-07-12 15:57 Steven Scholz
  2005-07-16 17:24 ` Sergey Vlasov
  0 siblings, 1 reply; 3+ messages in thread
From: Steven Scholz @ 2005-07-12 15:57 UTC (permalink / raw)
  To: linux-ide

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-07-18  6:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-12 15:57 hotplug event on fdisk? Steven Scholz
2005-07-16 17:24 ` Sergey Vlasov
2005-07-18  6:49   ` Steven Scholz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).