On Sun, Jan 23, 2005 at 09:57:03PM -0800, Pete Carah wrote: > Geom doesn't feed node-creations to devd in 5.3. This would be VERY useful > for letting ordinary non-programmer users access pen drives, among > other things (floppies come to mind too...). > (or mount e.g. a pen drive as part of an authentication system where no-one is > yet logged in, so can't manually mount...) > > umass0 comes in to devd, but this isn't useful for use in "mount". One > needs the disk device nodes. I suppose one *could* parse dmesg for > the info (or maybe sysctl) but that smacks of a serious kluge. (not to > mention that the slice table isn't represented in dmesg anyhow, and > practically nothing is in sysctl...) As a workaround you can parse the camcontrol devlist -v output: scbus2 on umass-sim1 bus 1: <General Flash Disk Drive 2.05> at scbus2 target 0 lun 0 (pass1,da0) <General Flash Disk Drive 2.05> at scbus2 target 0 lun 1 (pass2,da1) <General Flash Disk Drive 2.05> at scbus2 target 0 lun 2 (pass3,da2) umass-sim1 is the sim from umass1. -- B.Walter BWCT http://www.bwct.de bernd_at_bwct.de info_at_bwct.deReceived on Mon Jan 24 2005 - 11:32:58 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:26 UTC