From owner-freebsd-questions@freebsd.org Fri Mar 17 21:21:34 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 18F2FD10698 for ; Fri, 17 Mar 2017 21:21:34 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "wonkity.com", Issuer "wonkity.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id E0B4B14B2 for ; Fri, 17 Mar 2017 21:21:33 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.15.2/8.15.2) with ESMTPS id v2HLLSZO027739 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 17 Mar 2017 15:21:28 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.15.2/8.15.2/Submit) with ESMTP id v2HLLSau027736; Fri, 17 Mar 2017 15:21:28 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Fri, 17 Mar 2017 15:21:28 -0600 (MDT) From: Warren Block To: Bertram Scharpf cc: freebsd-questions@freebsd.org Subject: Re: Second severe crash in six weeks In-Reply-To: <20170317202959.GA1249@becker.bs.l> Message-ID: References: <20170315222221.GA18691@becker.bs.l> <20170317195043.GA5295@becker.bs.l> <20170317202959.GA1249@becker.bs.l> User-Agent: Alpine 2.20 (BSF 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.6.2 (wonkity.com [127.0.0.1]); Fri, 17 Mar 2017 15:21:28 -0600 (MDT) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Mar 2017 21:21:34 -0000 On Fri, 17 Mar 2017, Bertram Scharpf wrote: > On Friday, 17. Mar 2017, 13:56:54 -0600, Warren Block wrote: >> On Fri, 17 Mar 2017, Bertram Scharpf wrote: >> >>> On Thursday, 16. Mar 2017, 08:59:44 +0000, Matthew Seaman wrote: >>>> On 15/03/2017 22:22, Bertram Scharpf wrote: >>> >>> # dd if=/dev/zero of=usbstick.img bs=1M count=7552 >> >> A count should not be necessary, it will stop when it runs out of input. > > The file name is "usbstick.img" but it is still a file. The > count is the length of the USB stick I'm planning to dd to. This is still not needed. Either it will run out of file and end, or try to go past the end of a too-small memory stick and end. Come to that, I'm not sure what it does when the bs and count are larger than the size of the file. Probably just end when it runs out of input.