Thank you; I'll investigate using hotplug/udev. It's already installed, I'd just have to write a udev rule and the script.
But if hotplug gets triggered when I attach a dasd why is it only some dasd addresses get automatically enabled and appear as /dev/dasd? after I attach one while Linux is running? Is the hotplug action limited to only the dasd addresses defined on the kernel parameter line, like dasd=200-20F ? -------------------------------------------------------- This e-mail, including any attachments, may be confidential, privileged or otherwise legally protected. It is intended only for the addressee. If you received this e-mail in error or from someone who was not authorized to send it to you, do not disseminate, copy or otherwise use this e-mail or its attachments. Please notify the sender immediately by reply e-mail and delete the e-mail from your system. -----Original Message----- From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of Christian Borntraeger Sent: Wednesday, September 06, 2006 9:57 AM To: LINUX-390@VM.MARIST.EDU Subject: Re: How to signal a Linux guest from z/VM? On Wednesday 06 September 2006 15:33, Romanowski, John (OFT) wrote: > I was thinking I could use the hotplug system but I don't think hotplug > gets triggered when I attach/define a device to the guest. Hotplug (or udev) gets triggered when you define/attach/detach a device. Although it is not the nicest way of signalling, yes you could abuse hotplug or udev to trigger an action (e.g. by defining a virtual ctc device and intercepting this with hotplug or udev). -- Mit freundlichen Grüßen / Best Regards Christian Borntraeger Linux Software Engineer zSeries Linux & Virtualization ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390