From owner-freebsd-questions@FreeBSD.ORG Sun Nov 18 14:51:53 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0F192858 for ; Sun, 18 Nov 2012 14:51:53 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from email2.allantgroup.com (email2.emsphone.com [199.67.51.116]) by mx1.freebsd.org (Postfix) with ESMTP id BEF5F8FC08 for ; Sun, 18 Nov 2012 14:51:52 +0000 (UTC) Received: from dan.emsphone.com (dan.emsphone.com [172.17.17.101]) by email2.allantgroup.com (8.14.5/8.14.5) with ESMTP id qAIEpiiB088953 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 18 Nov 2012 08:51:44 -0600 (CST) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (smmsp@localhost [127.0.0.1]) by dan.emsphone.com (8.14.5/8.14.5) with ESMTP id qAIEpipC003208 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 18 Nov 2012 08:51:44 -0600 (CST) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.14.5/8.14.5/Submit) id qAIEpira003207; Sun, 18 Nov 2012 08:51:44 -0600 (CST) (envelope-from dan) Date: Sun, 18 Nov 2012 08:51:44 -0600 From: Dan Nelson To: Thomas Mueller Subject: Re: dd command: BSD analog of conv=fsync? Message-ID: <20121118145144.GA45483@dan.emsphone.com> References: <40.75.25607.E78C8A05@smtp02.insight.synacor.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <40.75.25607.E78C8A05@smtp02.insight.synacor.com> X-OS: FreeBSD 8.3-STABLE User-Agent: Mutt/1.5.21 (2010-09-15) X-Virus-Scanned: clamav-milter 0.97.6 at email2.allantgroup.com X-Virus-Status: Clean X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (email2.allantgroup.com [172.17.19.78]); Sun, 18 Nov 2012 08:51:45 -0600 (CST) X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00, RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on email2.allantgroup.com X-Scanned-By: MIMEDefang 2.73 Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Nov 2012 14:51:53 -0000 In the last episode (Nov 18), Thomas Mueller said: > What is the (Free)BSD counterpart of conv=fsync in dd command? > > Command in question is > > dd if=GNOME-3.6.0.iso of=/dev/DRIVE bs=8M conv=fsync > > This is for writing to a USB stick, and of course DRIVE is replaced by the > actual device node; also I believe bs=8M, good for Linux, would be bs=8m > in FreeBSD. > > I don't really know if "conv=fsync" is necessary, but that's what was > advised in the GNOME test-drive download page. It isn't. Writing to raw devices in FreeBSD immediately writes to the physical media. No flushing is needed. -- Dan Nelson dnelson@allantgroup.com