From owner-freebsd-stable@FreeBSD.ORG Sun Jul 8 06:08:59 2012 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8AFFC106564A for ; Sun, 8 Jul 2012 06:08:59 +0000 (UTC) (envelope-from jhellenthal@dataix.net) Received: from mail-ob0-f182.google.com (mail-ob0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 024648FC16 for ; Sun, 8 Jul 2012 06:08:58 +0000 (UTC) Received: by obbun3 with SMTP id un3so22164628obb.13 for ; Sat, 07 Jul 2012 23:08:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dataix.net; s=rsa; h=date:from:to:cc:subject:message-id:reply-to:mime-version :content-type:content-disposition; bh=eI3IBevTuT2/45BJO+zD8YDUNztJuT/jAv4qMMI+b60=; b=NWJbCbG4grhQ+wnr2+JxQ8O1rMnCTbHKe+YFM3bDOCsu2+SZgrqhZVa8W/gTeMSCAo ZBSf/vGUZ8gox1UINOtKICSXNr73hAx+VYbUWTeBPe1pBWvOyuLtdGiUSUthU+IU4GP4 4Gk67zfspptmvFTO67qkw4Y0FF9fIlG84DXMo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=date:from:to:cc:subject:message-id:reply-to:mime-version :content-type:content-disposition:x-gm-message-state; bh=eI3IBevTuT2/45BJO+zD8YDUNztJuT/jAv4qMMI+b60=; b=EBz+FHlUtXXVAByS8wvXvu6Ar1y2Kb8Vftw05RjzdbixZiD5U4/gZ6KpY4gPD9kSYk 9KD+/lAuwv1NoQR1b5+YQqh1Elg+PK6DinzmHixK/kpHi8eMi4kWJtV7/CmIHjuYRcBf Cpv0NSUNNHAutzGi0DMsZgAK5Kfp1l7saBNYb9VGTkF8i5RpH4olQss60JB+7/gXQRKh ul3UCo2+B8FZ5abCw2nVGkdnB3dcJkJ6WQZwhirlFjyUtlOLt3hmmWVxWtB2XVxsl4f3 qOj0HhV3Qvc9Bf2D9y9qoBBFECRqQ/tOuEVn5Mxh0AXyxZJqxTRBrQP0lMvFcMsbeNTZ YlNg== Received: by 10.50.40.193 with SMTP id z1mr5937303igk.0.1341727738298; Sat, 07 Jul 2012 23:08:58 -0700 (PDT) Received: from DataIX.net ([99.109.126.183]) by mx.google.com with ESMTPS id k6sm6269783igz.9.2012.07.07.23.08.57 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 07 Jul 2012 23:08:57 -0700 (PDT) Received: from DataIX.net (localhost [127.0.0.1]) by DataIX.net (8.14.5/8.14.5) with ESMTP id q6868rr7048878 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 8 Jul 2012 02:08:54 -0400 (EDT) (envelope-from jhellenthal@DataIX.net) Received: (from jh@localhost) by DataIX.net (8.14.5/8.14.5/Submit) id q6868rUm048877; Sun, 8 Jul 2012 02:08:53 -0400 (EDT) (envelope-from jhellenthal@DataIX.net) Date: Sun, 8 Jul 2012 02:08:53 -0400 From: Jason Hellenthal To: stable@freebsd.org Message-ID: <20120708060853.GA44046@DataIX.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="uAKRQypu60I7Lcqm" Content-Disposition: inline X-Gm-Message-State: ALoCoQkfEqFX5fAYWYr2LwC6QbEWC0zoWKGCqMwALIQ3tHjft3jM8U7fUa3sfqxgkHx/dw0V8q9v Cc: hackers@freebsd.org Subject: mtree(8) reservation of 16 -1 char[] in mtree files... X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: stable@freebsd.org List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Jul 2012 06:08:59 -0000 --uAKRQypu60I7Lcqm Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable I was just going through mtree(8) and happen to notice that mtree while populating a mtree file by the following [1] reference that it suffixes spaces as some sort of way to either reserve or pad the result for every value. Has anyone else see this behavior in Xterm or cons2* terminals from stable/8 i386 @ r238072 ? I tested this with /bin/sh /bin/csh /bin/bash /bin/ksh on cons25 cons50 xterm logged in directly as either a user or root through ssh and local. I looked over the mtree files in /etc/mtree and they do not exhibit the same thing so it now has me curious if something snuck in that would have changed this behavior. I have not had time to see if this repeats on other arch's 1). mtree -c -d -i -n -k uname,gname,mode,nochange >mtree.out Thanks to anyone that hits me with the clue bat if I have missed something. --=20 - (2^(N-1)) --uAKRQypu60I7Lcqm Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJP+SP1AAoJEBSh2Dr1DU7WI3IH/0XyxmqX94g1KRj1kjRjIsIO fSyjIvMMEb3DTDfZWXdAuS4JXINjHG13XQhwqM7YJxGe9Ibp8TjUm/AbLWQGFjp7 ZeKzXZC3//F03fq1/wM15LC2y48IMXnDC+dm3CdGAoLUBs8OdfKsYW/zDy4rnaes DhCYnPNuEWPRQTcp/6AePyp3Gtd6U+9yXA/T3sfEI+uULTKxCywPywfg+VRrrp0b wGSWmlhkl//cdOjxKEzS+EDTB9i8ShSNo/b4J96yyBFGAIusJ+bPCtgR6ESqdy8D PrmVPFp3WgG7x9FK0L6iTdN/kLAMHbym7IpwsQdOmJgRm2aDfwk+B0JLYvIAte8= =khoY -----END PGP SIGNATURE----- --uAKRQypu60I7Lcqm--