From owner-svn-src-all@FreeBSD.ORG Sun May 20 11:10:11 2012 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2D2401065674; Sun, 20 May 2012 11:10:11 +0000 (UTC) (envelope-from pawel@dawidek.net) Received: from mail.dawidek.net (60.wheelsystems.com [83.12.187.60]) by mx1.freebsd.org (Postfix) with ESMTP id E3A318FC0A; Sun, 20 May 2012 11:10:05 +0000 (UTC) Received: from localhost (89-73-195-149.dynamic.chello.pl [89.73.195.149]) by mail.dawidek.net (Postfix) with ESMTPSA id 1C3FE436; Sun, 20 May 2012 13:09:58 +0200 (CEST) Date: Sun, 20 May 2012 13:08:15 +0200 From: Pawel Jakub Dawidek To: Andriy Gapon Message-ID: <20120520110815.GB1442@garage.freebsd.pl> References: <201205151707.q4FH7UDU096834@svn.freebsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="H1spWtNR+x+ondvy" Content-Disposition: inline In-Reply-To: <201205151707.q4FH7UDU096834@svn.freebsd.org> X-OS: FreeBSD 10.0-CURRENT amd64 User-Agent: Mutt/1.5.21 (2010-09-15) Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r235478 - head/cddl/contrib/opensolaris/cmd/zpool X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 May 2012 11:10:11 -0000 --H1spWtNR+x+ondvy Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, May 15, 2012 at 05:07:30PM +0000, Andriy Gapon wrote: > Author: avg > Date: Tue May 15 17:07:29 2012 > New Revision: 235478 > URL: http://svn.freebsd.org/changeset/base/235478 >=20 > Log: > zpool_do_import: use /dev instead of /dev/dsk as a default > =20 > This affects behavior of zpool import without -d option. How does it affect 'zpool import' behaviour? On FreeBSD when -d is not given we should not scan entire /dev/, but take all available GEOM providers from the GEOM. > Reported by: Bruce Cran > Submitted by: Fabian Keil > MFC after: 2 weeks >=20 > Modified: > head/cddl/contrib/opensolaris/cmd/zpool/zpool_main.c >=20 > Modified: head/cddl/contrib/opensolaris/cmd/zpool/zpool_main.c > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D > --- head/cddl/contrib/opensolaris/cmd/zpool/zpool_main.c Tue May 15 16:17= :30 2012 (r235477) > +++ head/cddl/contrib/opensolaris/cmd/zpool/zpool_main.c Tue May 15 17:07= :29 2012 (r235478) > @@ -1909,7 +1909,7 @@ zpool_do_import(int argc, char **argv) > =20 > if (searchdirs =3D=3D NULL) { > searchdirs =3D safe_malloc(sizeof (char *)); > - searchdirs[0] =3D "/dev/dsk"; > + searchdirs[0] =3D "/dev"; > nsearch =3D 1; > } > =20 --=20 Pawel Jakub Dawidek http://www.wheelsystems.com FreeBSD committer http://www.FreeBSD.org Am I Evil? Yes, I Am! http://tupytaj.pl --H1spWtNR+x+ondvy Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAk+40J8ACgkQForvXbEpPzSXTACcC0daM1NfstkhhgBZ/vgysnCR msIAnRvbehJca4LAwyzQ7b3Zh+K1xdZZ =4l9w -----END PGP SIGNATURE----- --H1spWtNR+x+ondvy--