Rescanning IDE devices

Hi,

Does anybody know a way to tell the QNX 6.00 devb-eide driver to “rescan”
the IDE devices,

The reason I want this is as follows.
At the moment I do the following:

  1. fdisk /dev/hd1 add -f1 QNX ALL
  2. fdisk /dev/hd1 boot QNX
  3. reboot ( this is to make the /dev/hd1t77 partition visible)
  4. dinit -hq /dev/hd1t77

Now, the problem is that I seem to need a reboot to “see” the /dev/hd1t77
partition
I am using a makefile to prepare a filesystem on a disk and would really
like to remove the requirement for a reboot.

I’ve tried rerunning devb-eide, but that introduces filesystem instability

Any information or advice appreciated.

Regards
Alan Keane
akeane@quadrics.com

akeane <akeane@quadrics.com> wrote:

Hi,

Does anybody know a way to tell the QNX 6.00 devb-eide driver to “rescan”
the IDE devices,

The reason I want this is as follows.
At the moment I do the following:

  1. fdisk /dev/hd1 add -f1 QNX ALL
  2. fdisk /dev/hd1 boot QNX
  3. reboot ( this is to make the /dev/hd1t77 partition visible)
  4. dinit -hq /dev/hd1t77

Now, the problem is that I seem to need a reboot to “see” the /dev/hd1t77
partition
I am using a makefile to prepare a filesystem on a disk and would really
like to remove the requirement for a reboot.

I’ve tried rerunning devb-eide, but that introduces filesystem instability

Any information or advice appreciated.

Regards
Alan Keane
akeane@quadrics.com

Hi Alan,

There is no way to see the new partition without a reboot in QNX 6.0. In the
upcoming release of 6.1 you will be able to see it without rebooting using
mount -e /dev/hd1

Barry