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

Dag-Erling Smørgrav des at des.no
Fri Jun 10 06:03:02 GMT 2005


"Darren Pilgrim" <dmp at bitfreak.org> 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 the following:

# /etc/rc.d/devd stop
# logger START
# sysctl debug.bootverbose=1
# sysctl -b kern.geom.conftxt >geom-before
[insert umass device, wait 10 secs]
# sysctl -b kern.geom.conftxt >geom-after
# sysctl debug.bootverbose=0
# logger STOP
# /etc/rc.d/devd start
# awk '/START/{s=1}{if(s)print}/STOP/{s=0}' /var/log/messages >geom-logs

then post the contents of geom-{before,after,logs}.

DES
-- 
Dag-Erling Smørgrav - des at des.no



More information about the freebsd-hackers mailing list