Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Nov 2012 08:51:44 -0600
From:      Dan Nelson <dnelson@allantgroup.com>
To:        Thomas Mueller <mueller23@insightbb.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: dd command: BSD analog of conv=fsync?
Message-ID:  <20121118145144.GA45483@dan.emsphone.com>
In-Reply-To: <40.75.25607.E78C8A05@smtp02.insight.synacor.com>
References:  <40.75.25607.E78C8A05@smtp02.insight.synacor.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20121118145144.GA45483>