From owner-freebsd-stable@FreeBSD.ORG Fri Aug 1 14:45:09 2014 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id AC4EF97B for ; Fri, 1 Aug 2014 14:45:09 +0000 (UTC) Received: from mx0.gentlemail.de (mx0.gentlemail.de [IPv6:2a00:e10:2800::a130]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 38EF8295B for ; Fri, 1 Aug 2014 14:45:09 +0000 (UTC) Received: from mh0.gentlemail.de (mh0.gentlemail.de [IPv6:2a00:e10:2800::a135]) by mx0.gentlemail.de (8.14.5/8.14.5) with ESMTP id s71Ej5Ht064664 for ; Fri, 1 Aug 2014 16:45:05 +0200 (CEST) (envelope-from h.schmalzbauer@omnilan.de) Received: from titan.inop.mo1.omnilan.net (titan.inop.mo1.omnilan.net [IPv6:2001:a60:f0bb:1::3:1]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mh0.gentlemail.de (Postfix) with ESMTPSA id 8A45A38A2; Fri, 1 Aug 2014 16:45:05 +0200 (CEST) Message-ID: <53DBA7F0.90502@omnilan.de> Date: Fri, 01 Aug 2014 16:45:04 +0200 From: Harald Schmalzbauer Organization: OmniLAN User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; de-DE; rv:1.9.2.8) Gecko/20100906 Lightning/1.0b2 Thunderbird/3.1.2 MIME-Version: 1.0 To: "freebsd-stable@freebsd.org" Subject: 'zfs snapshot' interfering with make_dev() 63 character limit X-Enigmail-Version: 1.1.2 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig7C4D2C1D51B74B152187CF41" X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (mx0.gentlemail.de [IPv6:2a00:e10:2800::a130]); Fri, 01 Aug 2014 16:45:05 +0200 (CEST) X-Milter: Spamilter (Reciever: mx0.gentlemail.de; Sender-ip: ; Sender-helo: mh0.gentlemail.de; ) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Aug 2014 14:45:09 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig7C4D2C1D51B74B152187CF41 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hello, doing 'zfs snapshot' allows me a snapname length longer than make_dev_p() accepts (63 past /dev/). This leads to the situation that I can create a snashot of a zvol, but afterwards it's not accessable because there's no dev available: g_dev_taste: make_dev_p() failed (gp->name=3Dzvol/=E2=80=A6@test63limit, = error=3D63) Is it desirable to allow longer dev names or limit snapshot names for zfs volumes? I haven't looked what zfs limits are, but I frequently have zfs names longer than 63 characters=E2=80=A6 Bad choosen? Or do others too have the= need for longer dev names? Thanks, -Harry --------------enig7C4D2C1D51B74B152187CF41 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (FreeBSD) iEYEARECAAYFAlPbp/EACgkQLDqVQ9VXb8grJwCfXArYE9njAOA8UDiRqELipLus MSoAoLqF4q7SsZucnZPRj5/PBWsg/ck6 =C9T7 -----END PGP SIGNATURE----- --------------enig7C4D2C1D51B74B152187CF41--