Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Jun 2005 08:02:55 +0200
From:      des@des.no (=?iso-8859-1?q?Dag-Erling_Sm=F8rgrav?=)
To:        "Darren Pilgrim" <dmp@bitfreak.org>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Determining disk device and kicking GEOM when doing automatic mounting of umass devices
Message-ID:  <86ekba4uls.fsf@xps.des.no>
In-Reply-To: <000001c56d5f$efe5c260$0a2a15ac@SMILEY> (Darren Pilgrim's message of "Thu, 9 Jun 2005 18:58:44 -0700")
References:  <000001c56d5f$efe5c260$0a2a15ac@SMILEY>

next in thread | previous in thread | raw e-mail | index | archive | help
"Darren Pilgrim" <dmp@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=3D1
# sysctl -b kern.geom.conftxt >geom-before
[insert umass device, wait 10 secs]
# sysctl -b kern.geom.conftxt >geom-after
# sysctl debug.bootverbose=3D0
# logger STOP
# /etc/rc.d/devd start
# awk '/START/{s=3D1}{if(s)print}/STOP/{s=3D0}' /var/log/messages >geom-logs

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

DES
--=20
Dag-Erling Sm=F8rgrav - des@des.no




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86ekba4uls.fsf>