From owner-freebsd-bugs@FreeBSD.ORG Sun May 27 23:00:07 2012 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C2B96106566B for ; Sun, 27 May 2012 23:00:07 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 787B78FC19 for ; Sun, 27 May 2012 23:00:07 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q4RN077H052518 for ; Sun, 27 May 2012 23:00:07 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q4RN072W052517; Sun, 27 May 2012 23:00:07 GMT (envelope-from gnats) Resent-Date: Sun, 27 May 2012 23:00:07 GMT Resent-Message-Id: <201205272300.q4RN072W052517@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "Ronald F.Guilmette" Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D5F42106566B for ; Sun, 27 May 2012 22:54:07 +0000 (UTC) (envelope-from rfg@tristatelogic.com) Received: from outgoing.tristatelogic.com (segfault.tristatelogic.com [69.62.255.118]) by mx1.freebsd.org (Postfix) with ESMTP id B0FFE8FC12 for ; Sun, 27 May 2012 22:54:07 +0000 (UTC) Received: by segfault.tristatelogic.com (Postfix, from userid 1237) id E642B5081F; Sun, 27 May 2012 15:48:31 -0700 (PDT) Message-Id: <20120527224831.E642B5081F@segfault.tristatelogic.com> Date: Sun, 27 May 2012 15:48:31 -0700 (PDT) From: "Ronald F.Guilmette" To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: bin/168397: cpio --quiet fails to suppress "unnscessary" messages X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "Ronald F.Guilmette" List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 May 2012 23:00:07 -0000 >Number: 168397 >Category: bin >Synopsis: cpio --quiet fails to suppress "unnscessary" messages >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun May 27 23:00:07 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Ronald F. Guilmette >Release: FreeBSD 8.3-RELEASE amd64 >Organization: entropy >Environment: System: FreeBSD segfault.tristatelogic.com 8.3-RELEASE FreeBSD 8.3-RELEASE #0: Mon Apr 9 21:23:18 UTC 2012 root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 >Description: The man page for cpio sez: --quiet Suppress unnecessary messages. yet despite using this option, when I am using the -l option (to make sure that hard links are used, when possible, on the destination volume) I am still getting lots and lots of annoying warnings like: Can't create '/my/path/name': Cross-device link cpio: Copying file instead These errors & warnings are clearly "unnecessary" in every sense, because after all, the file _did_ get copied. It just was not created at the destination as a hard link to the original source file. So given that these meessages are really and truly "unnecessary", according to the documentation (man page) of cpio, the --quiet option should suppress them, but it doesn't. >How-To-Repeat: Try using the -l option and the -quiet options together as you use cpio to copy a file from one filesystem onto another different one. >Fix: Dunno. I haven't looked at the code, but it ought to be pretty simple. This is like the old doctor joke... Patient: "Doctor! Doctor! It hurts when I do this!" Doctor: "Don't do that!" It ought to be pretty simple to just NOT produce these unnecessary messages when --quiet is in effect. >Release-Note: >Audit-Trail: >Unformatted: