Re: Determining disk device and kicking GEOM when doing automatic mounting of umass devices

2005-06-10 Thread Dag-Erling Smørgrav
"Darren Pilgrim" <[EMAIL PROTECTED]> writes: > So yeah I gueuss my fob is busted or funky. The CAM errors are "just" the > drive saying there's no media present, so maybe the device doesn't support > the commands necessary to report disk capacity? Is there a way to educate > CAM about this so the

RE: Determining disk device and kicking GEOM when doing automatic mounting of umass devices

2005-06-10 Thread Darren Pilgrim
> -Original Message- > From: "Dag-Erling Smørgrav" [mailto:[EMAIL PROTECTED] > Sent: Friday, June 10, 2005 12:16 AM > To: Darren Pilgrim > Cc: freebsd-hackers@freebsd.org > Subject: Re: Determining disk device and kicking GEOM when > doing auto

Re: Determining disk device and kicking GEOM when doing automatic mounting of umass devices

2005-06-10 Thread Dag-Erling Smørgrav
"Darren Pilgrim" <[EMAIL PROTECTED]> writes: > Attached as named above. The logs show the da0 DISK class in the GEOM > config, but no MBR class entry. Take a closer look at geom-logs. It shows a slew of CAM errors. There's something wrong with your fob, or possibly (but not likely) with the USB

RE: Determining disk device and kicking GEOM when doing automatic mounting of umass devices

2005-06-10 Thread Darren Pilgrim
From: "Dag-Erling Smørgrav" [mailto:[EMAIL PROTECTED] > "Darren Pilgrim" <[EMAIL PROTECTED]> writes: > > GEOM doesn't automatically read the partition table and create the > > slice device [...] > > Yes, it does. When the umassX provider shows up, GEOM immediately > tastes it and creates geoms f

Re: Determining disk device and kicking GEOM when doing automatic mounting of umass devices

2005-06-09 Thread Dag-Erling Smørgrav
"Darren Pilgrim" <[EMAIL PROTECTED]> writes: > GEOM doesn't automatically read the partition table and create the > slice device [...] Yes, it does. When the umassX provider shows up, GEOM immediately tastes it and creates geoms for the individual slices. If it really doesn't on your system, try

Re: Determining disk device and kicking GEOM when doing automatic mounting of umass devices

2005-06-09 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> "Darren Pilgrim" <[EMAIL PROTECTED]> writes: : These tricks are ridiculous, IMO. There has to be a more intelligent means : of going about this. How do I get the scsi disk device name created for a : umass device as soon as it's created? How do I infor

Determining disk device and kicking GEOM when doing automatic mounting of umass devices

2005-06-09 Thread Darren Pilgrim
I want to have a devd entry that automatically mounts umass devices when they get attached. The problem is figuring out which device to mount and then getting the correct devices created. For example, the entry for my thumbdrive: attach 1000 { device-name "umass[0-9]+"; match "ve