-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Monday 23 August 2004 12:41 pm, Bernd Walter wrote: > On Mon, Aug 23, 2004 at 12:31:22PM -0400, Anish Mistry wrote: > > -----BEGIN PGP SIGNED MESSAGE----- > > Hash: SHA1 > > > > On Monday 23 August 2004 06:57 am, Bernd Walter wrote: > > > On Sun, Aug 22, 2004 at 04:06:36PM -0400, Anish Mistry wrote: > > > > -----BEGIN PGP SIGNED MESSAGE----- > > > > Hash: SHA1 > > > > > > > > Since I don't use my 6-in-1 drive very much (yesterday was the first > > > > time in months) I noticed that some of old functionality seems to be > > > > gone or broken. Before I was able to insert the drive with no disks, > > > > then put in a disk, issue the camcontrol rescan all, and the disk > > > > would be picked up and a new device node connected, or start with the > > > > disk in and remove is, rescan and the device node disappears. As of > > > > a recent CURRENT this doesn't seem to work and I have to remove the > > > > drive from the usb slot to get it to pickup the new device states. > > > > Is this a known regression, or am I missing something? > > > > > > What is your problem? > > > So far I just see "Medium not present" related errors, which are > > > expected unless a media is physically present. > > > > I guess I should have been a bit more stright forward. > > The problem is that "camcontrol rescan all" isn't picking up a disk when > > I insert it into the drive and issues that command like it used to. > > Before: > > 1) Plugin in drive with no disks > > - Device nodes are created (/dev/da0-3) > > 2) Insert Disk > > 3) issue "camcontrol rescan all" > > - A new device node for that disk appears (ie. /dev/da3s1) > > That's not the purpose of camcontrol and never has been. > camcontrol scans for drives and not media, as the drives are already > there nothing changes. > > > Now: > > 1) Plugin in drive with no disks > > - Device nodes are created (/dev/da0-3) > > 2) Insert Disk > > 3) issue "camcontrol rescan all" > > - Nothing, device node isn't created > > You need GEOM to rescan the medias layout: > cat /dev/null > /dev/da0 > etc... Ok, thanks this works. So is this the official way to rescan the GEOM layout? - -- Anish Mistry -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFBKikzxqA5ziudZT0RAqX6AJwPG5sB9YpbAS94ZRH3ktgTJgCXtgCeIe3q X5pIcDMn0chhaz+vBJsvc7g= =jNWh -----END PGP SIGNATURE-----Received on Mon Aug 23 2004 - 15:27:00 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:07 UTC