From owner-freebsd-current@FreeBSD.ORG Wed Oct 20 04:38:52 2010 Return-Path: Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D9AE4106566B for ; Wed, 20 Oct 2010 04:38:52 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from forward2.mail.yandex.net (forward2.mail.yandex.net [77.88.46.7]) by mx1.freebsd.org (Postfix) with ESMTP id 8347D8FC0C for ; Wed, 20 Oct 2010 04:38:52 +0000 (UTC) Received: from smtp2.mail.yandex.net (smtp2.mail.yandex.net [77.88.46.102]) by forward2.mail.yandex.net (Yandex) with ESMTP id C149538A86D8; Wed, 20 Oct 2010 08:38:50 +0400 (MSD) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1287549530; bh=jOIlvLsx0ywbzYabBuaxQWqytv3qRfBA/AhZ3lhlWc0=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type; b=CbRy0ZVUt941VRL/iyap3JcgJppS2UErgWSUJ838vXWJOMGryVfObx9lPgko+zoqJ 0m58EnSu4WccQ3cdSjTkz9ZXAoqRJRuckh1VsODnIro5nUJblI0b8AAVT8hi9b8up/ cUpQ261VYUHDjk/qZVsS8BgsBnfa9ht8SuKlHhwk= Received: from [127.0.0.1] (ns.kirov.so-cdu.ru [77.72.136.145]) by smtp2.mail.yandex.net (Yandex) with ESMTPSA id 7994A52809A; Wed, 20 Oct 2010 08:38:50 +0400 (MSD) Message-ID: <4CBE7254.5060502@yandex.ru> Date: Wed, 20 Oct 2010 08:38:44 +0400 From: "Andrey V. Elsukov" User-Agent: Mozilla Thunderbird 1.5 (FreeBSD/20051231) MIME-Version: 1.0 To: Marcel Moolenaar References: <4CBCDD3A.9070404@delphij.net> <4CBD26B4.2020205@yandex.ru> <4CBDB17C.4040607@yandex.ru> <44B33168-C432-4AA0-A765-8222DB4C048D@mac.com> <4CBE0BE5.2060708@delphij.net> <023E61D3-7E4C-4793-95A0-088ABCD0F92F@mac.com> In-Reply-To: <023E61D3-7E4C-4793-95A0-088ABCD0F92F@mac.com> X-Enigmail-Version: 1.1.1 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig210543F6031B07D81115EFDD" X-Yandex-TimeMark: 1287549530 X-Yandex-Spam: 1 X-Yandex-Front: smtp2.mail.yandex.net Cc: FreeBSD Current , d@delphij.net Subject: Re: [zfs] Mounting from (...) failed with error 19 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Oct 2010 04:38:52 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig210543F6031B07D81115EFDD Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable On 20.10.2010 2:33, Marcel Moolenaar wrote: >> What about the attached patch? I'm going to give it a swirl soon. Th= e >> difference is that it tests whether dev begins with /dev/. >=20 > Interesting. I've been thinking about this too, but isn't > exactly fool-proof. When devfs is the root file system, > you can use "ufs:da0s1a" to refer to the device special > file. It seems inconsistent to have "ufs:da0s1" fail when > ufs:/dev/da0s1" works (a real scenario with USB based mass > storage devices -- root mount is unheld as soon as umass > is created, but before daX exists for it). >=20 > This patch at least covers the problem cases with a single > strstr(), and we may get away with the inconsistency given > above by documenting it properly. >=20 > Andrey: any thoughts? Currently usage information in parse_dir_ask() says that device should be specified with "/dev/". But conf0 does not use "/dev/". Also, Marcel,= do you have any plans write some documentation with examples about using of new features? --=20 WBR, Andrey V. Elsukov --------------enig210543F6031B07D81115EFDD Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) iQEcBAEBAgAGBQJMvnJZAAoJEAHF6gQQyKF6q3MIAIk2x7atebcX/PrMJ7bByyWC tlES0gH8EUoKMwbuuSENj+2H3u5+MdOS/PFfdert9O4W8PASt7cjjNk86BseW6dN 1WKoXj7nGlhI9K3PcLzQGvfshjTeowPShzL8MmzlAPyeH2CFaUggYe2fgBMiH16R O2TbxT6oVFm+ctOETANlF+MNfK+uNrNXgCl2AwzmluxAoCzBg55S2/hqw+w21ej/ P1bP6mww5aEKz9pzNSvJmCo+271Y24uwZqpvkt+h5EofrTXumGmbTIKYMho95oJ2 ICG3WIvH7sO9w+B2bNi9znFjki+QIAO6NDBFNNrWI0Qi0gwWAFbKw7+EoEx4H5s= =PzCL -----END PGP SIGNATURE----- --------------enig210543F6031B07D81115EFDD--