Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Jan 2019 08:52:02 +0000
From:      dianahopkins@webmarketingvendors.com
To:        svn-src-all@freebsd.org
Subject:   Re: gcu.info: Increase Your Open Rates!!
Message-ID:  <0000000000002f0bce058094e8b0@google.com>

Next in thread | Raw E-Mail | Index | Archive | Help
SGVsbG8gZ2N1LmluZm8sDQoNCk15IG5hbWUgaXMgRGlhbmEgSG9wa2lucywgYW5kIEknbSBhIFNF
TyBTcGVjaWFsaXN0Lg0KDQoNCkkgdmlzaXRlZCB5b3VyIHdlYnNpdGUgYW5kIGZvdW5kIHRoYXQg
eW91ciB3ZWJzaXRlIGhhcyBiZWVuIGRpYWdub3NlZCB3aXRoICANCm1hbnkgY29kaW5nIGlzc3Vl
cywgd2hpY2ggYWZmZWN0cyB5b3VyIHJhbmtpbmcuDQoNClByb21vdGUgeW91ciB3ZWJzaXRlIG9u
bGluZSBhbmQgaW5jcmVhc2Ugc2FsZXMgYnkgcHV0dGluZyB5b3VyIHdlYnNpdGUgdG9wICANCmlu
IGFsbCBzZWFyY2ggZW5naW5lcy4NCg0KQXMgcGVyIHRoZSB0cmVuZHMgaW4geW91ciBpbmR1c3Ry
eSDigJMgb3ZlciA4MCUgb2YgcGVvcGxlIHNlYXJjaCBmb3IgeW91ciAgDQpwcm9kdWN0cy9zZXJ2
aWNlcyBvbmxpbmUgYW5kIGJ1eSB0aGUgc2FtZS4gVGhlc2UgcmFua2luZ3MgYWxzbyBpbmZsdWVu
Y2UgIA0Kb3RoZXIgY2hhbm5lbHMgb2Ygc2FsZXMgYXMgd2VsbC4NCg0KSXQgaXMgc2ltcGxlIG1h
dGjigJR0aGUgbW9yZSBwZW9wbGUgd2hvIGNvbWUgdG8geW91ciB3ZWJzaXRlLCB0aGUgbW9yZSAg
DQpwb3RlbnRpYWwgY3VzdG9tZXJzIHlvdSBhdHRyYWN0LiBEb24ndCB3YWl0IGFub3RoZXIgbW9t
ZW50IHRvIGRyaXZlIG1vcmUgIA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BtZW50IE1hbmFnZXINCg0KLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t
LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tDQoNCk5vdGU6IFJlcGx5IGJhY2sgd2l0aCB1
cyAiSW50ZXJlc3RlZCIgb3IgYWxsb3cgbWUgdG8gc2VudCB5b3UgTm8gT2JsaWdhdGlvbiAgDQpB
dWRpdCBSZXBvcnQgZm9yIHlvdXIgd2Vic2l0ZS4NCg==
From owner-svn-src-all@freebsd.org  Tue Jan 29 10:21:43 2019
Return-Path: <owner-svn-src-all@freebsd.org>
Delivered-To: svn-src-all@mailman.ysv.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1])
 by mailman.ysv.freebsd.org (Postfix) with ESMTP id D398414B5F6D;
 Tue, 29 Jan 2019 10:21:42 +0000 (UTC)
 (envelope-from marck@FreeBSD.org)
Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org
 [IPv6:2610:1c1:1:606c::19:3])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 server-signature RSA-PSS (4096 bits)
 client-signature RSA-PSS (4096 bits) client-digest SHA256)
 (Client CN "mxrelay.nyi.freebsd.org",
 Issuer "Let's Encrypt Authority X3" (verified OK))
 by mx1.freebsd.org (Postfix) with ESMTPS id 732C176F8E;
 Tue, 29 Jan 2019 10:21:42 +0000 (UTC)
 (envelope-from marck@FreeBSD.org)
Received: from repo.freebsd.org (repo.freebsd.org
 [IPv6:2610:1c1:1:6068::e6a:0])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client did not present a certificate)
 by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 63B7A6329;
 Tue, 29 Jan 2019 10:21:42 +0000 (UTC)
 (envelope-from marck@FreeBSD.org)
Received: from repo.freebsd.org ([127.0.1.37])
 by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x0TALgPh075993;
 Tue, 29 Jan 2019 10:21:42 GMT (envelope-from marck@FreeBSD.org)
Received: (from marck@localhost)
 by repo.freebsd.org (8.15.2/8.15.2/Submit) id x0TALf5d075989;
 Tue, 29 Jan 2019 10:21:41 GMT (envelope-from marck@FreeBSD.org)
Message-Id: <201901291021.x0TALf5d075989@repo.freebsd.org>
X-Authentication-Warning: repo.freebsd.org: marck set sender to
 marck@FreeBSD.org using -f
From: Dmitry Morozovsky <marck@FreeBSD.org>
Date: Tue, 29 Jan 2019 10:21:41 +0000 (UTC)
To: src-committers@freebsd.org, svn-src-all@freebsd.org,
 svn-src-head@freebsd.org
Subject: svn commit: r343548 - in head/sbin: newfs tunefs
X-SVN-Group: head
X-SVN-Commit-Author: marck
X-SVN-Commit-Paths: in head/sbin: newfs tunefs
X-SVN-Commit-Revision: 343548
X-SVN-Commit-Repository: base
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Rspamd-Queue-Id: 732C176F8E
X-Spamd-Bar: --
Authentication-Results: mx1.freebsd.org
X-Spamd-Result: default: False [-2.97 / 15.00];
 local_wl_from(0.00)[FreeBSD.org];
 NEURAL_HAM_MEDIUM(-1.00)[-0.998,0];
 NEURAL_HAM_SHORT(-0.98)[-0.976,0];
 ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US];
 NEURAL_HAM_LONG(-1.00)[-1.000,0]
X-BeenThere: svn-src-all@freebsd.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "SVN commit messages for the entire src tree \(except for &quot;
 user&quot; and &quot; projects&quot; \)" <svn-src-all.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/svn-src-all>,
 <mailto:svn-src-all-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/svn-src-all/>;
List-Post: <mailto:svn-src-all@freebsd.org>
List-Help: <mailto:svn-src-all-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/svn-src-all>,
 <mailto:svn-src-all-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 29 Jan 2019 10:21:43 -0000

Author: marck (doc committer)
Date: Tue Jan 29 10:21:41 2019
New Revision: 343548
URL: https://svnweb.freebsd.org/changeset/base/343548

Log:
  Allow dashes as a valid character in UFS labels.
  
  Reviewed by:	mckusick, imp, 0mp
  MFC after:	2 weeks
  Differential Revision:	D18991

Modified:
  head/sbin/newfs/newfs.8
  head/sbin/newfs/newfs.c
  head/sbin/tunefs/tunefs.8
  head/sbin/tunefs/tunefs.c

Modified: head/sbin/newfs/newfs.8
==============================================================================
--- head/sbin/newfs/newfs.8	Tue Jan 29 09:22:20 2019	(r343547)
+++ head/sbin/newfs/newfs.8	Tue Jan 29 10:21:41 2019	(r343548)
@@ -28,7 +28,7 @@
 .\"     @(#)newfs.8	8.6 (Berkeley) 5/3/95
 .\" $FreeBSD$
 .\"
-.Dd July 7, 2017
+.Dd January 29, 2019
 .Dt NEWFS 8
 .Os
 .Sh NAME
@@ -89,7 +89,7 @@ See
 for details.
 .It Fl L Ar volname
 Add a volume label to the new file system.
-Legal characters are alphanumerics and underscores.
+Legal characters are alphanumerics, dashes, and underscores.
 .It Fl N
 Cause the file system parameters to be printed out
 without really creating the file system.

Modified: head/sbin/newfs/newfs.c
==============================================================================
--- head/sbin/newfs/newfs.c	Tue Jan 29 09:22:20 2019	(r343547)
+++ head/sbin/newfs/newfs.c	Tue Jan 29 10:21:41 2019	(r343548)
@@ -153,10 +153,10 @@ main(int argc, char *argv[])
 			volumelabel = optarg;
 			i = -1;
 			while (isalnum(volumelabel[++i]) ||
-			    volumelabel[i] == '_');
+			    volumelabel[i] == '_' || volumelabel[i] == '-');
 			if (volumelabel[i] != '\0') {
 				errx(1, "bad volume label. Valid characters "
-				    "are alphanumerics and underscores.");
+				    "are alphanumerics, dashes, and underscores.");
 			}
 			if (strlen(volumelabel) >= MAXVOLLEN) {
 				errx(1, "bad volume label. Length is longer than %d.",

Modified: head/sbin/tunefs/tunefs.8
==============================================================================
--- head/sbin/tunefs/tunefs.8	Tue Jan 29 09:22:20 2019	(r343547)
+++ head/sbin/tunefs/tunefs.8	Tue Jan 29 10:21:41 2019	(r343548)
@@ -28,7 +28,7 @@
 .\"     @(#)tunefs.8	8.2 (Berkeley) 12/11/93
 .\" $FreeBSD$
 .\"
-.Dd April 19, 2016
+.Dd January 29, 2019
 .Dt TUNEFS 8
 .Os
 .Sh NAME
@@ -112,7 +112,7 @@ By default
 sets it to half of the space reserved to minfree.
 .It Fl L Ar volname
 Add/modify an optional file system volume label.
-Legal characters are alphanumerics and underscores.
+Legal characters are alphanumerics, dashes, and underscores.
 .It Fl l Cm enable | disable
 Turn on/off MAC multilabel flag.
 .It Fl m Ar minfree

Modified: head/sbin/tunefs/tunefs.c
==============================================================================
--- head/sbin/tunefs/tunefs.c	Tue Jan 29 09:22:20 2019	(r343547)
+++ head/sbin/tunefs/tunefs.c	Tue Jan 29 10:21:41 2019	(r343548)
@@ -189,10 +189,13 @@ main(int argc, char *argv[])
 			name = "volume label";
 			Lvalue = optarg;
 			i = -1;
-			while (isalnum(Lvalue[++i]) || Lvalue[i] == '_');
+			while (isalnum(Lvalue[++i]) || Lvalue[i] == '_' ||
+			    Lvalue[i] == '-')
+				;
 			if (Lvalue[i] != '\0') {
 				errx(10, "bad %s. Valid characters are "
-				    "alphanumerics and underscores.", name);
+				    "alphanumerics, dashes, and underscores.",
+				    name);
 			}
 			if (strlen(Lvalue) >= MAXVOLLEN) {
 				errx(10, "bad %s. Length is longer than %d.",



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?0000000000002f0bce058094e8b0>