From owner-freebsd-ports@FreeBSD.ORG Thu Feb 5 21:39:33 2015 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1CA79A9D for ; Thu, 5 Feb 2015 21:39:33 +0000 (UTC) Received: from ipmail06.adl6.internode.on.net (ipmail06.adl6.internode.on.net [150.101.137.145]) by mx1.freebsd.org (Postfix) with ESMTP id A5782FA7 for ; Thu, 5 Feb 2015 21:39:31 +0000 (UTC) Received: from ppp118-210-197-72.lns20.adl6.internode.on.net (HELO midget.dons.net.au) ([118.210.197.72]) by ipmail06.adl6.internode.on.net with ESMTP; 06 Feb 2015 08:09:24 +1030 Received: from auxxoconnd1m1.dons.net.au (AUXXOCONND1M1.dons.net.au [10.0.2.104]) (authenticated bits=0) by midget.dons.net.au (8.15.1/8.14.9) with ESMTPSA id t15LdKpu018617 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 6 Feb 2015 08:09:23 +1030 (CST) (envelope-from darius@dons.net.au) Subject: Re: How to use mkntfs, I get "not a block device" Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2070.6\)) Content-Type: text/plain; charset=us-ascii From: "O'Connor, Daniel" In-Reply-To: <859719.90543.bm@smtp118.sbc.mail.ne1.yahoo.com> Date: Fri, 6 Feb 2015 08:09:20 +1030 Content-Transfer-Encoding: quoted-printable Message-Id: References: <859719.90543.bm@smtp118.sbc.mail.ne1.yahoo.com> To: Thomas Mueller X-Mailer: Apple Mail (2.2070.6) X-Spam-Score: -2.91 () ALL_TRUSTED,BAYES_00,T_RP_MATCHES_RCVD X-Scanned-By: MIMEDefang 2.75 on 10.0.2.1 Cc: freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Feb 2015 21:39:33 -0000 > On 6 Feb 2015, at 06:03, Thomas Mueller = wrote: >=20 > In running=20 > mkntfs -F /dev/gpt/SeaExp1-03 >=20 > I got (do I need to be concerned?) >=20 > root@amelia:/usr/ports # mkntfs -F /dev/gpt/SeaExp1-03 > /dev/gpt/SeaExp1-03 is not a block device. > mkntfs forced anyway. > The partition start sector was not specified for /dev/gpt/SeaExp1-03 = and it could not be obtained automatically. It has been set to 0. > The number of sectors per track was not specified for = /dev/gpt/SeaExp1-03 and it could not be obtained automatically. It has = been set to 0. > The number of heads was not specified for /dev/gpt/SeaExp1-03 and it = could not be obtained automatically. It has been set to 0. > Cluster size has been automatically set to 4096 bytes. > To boot from a device, Windows needs the 'partition start sector', the = 'sectors per track' and the 'number of heads' to be set. > Windows will not be able to boot from this device. > Initializing device with zeroes: 0%=20 > 100% - Done. > Creating NTFS volume structures. > mkntfs completed successfully. Have a nice day. > root@amelia:/usr/ports #=20 So long as you don't want to do boot Windows from it, it should be fine. I imagine the port could be fixed to fetch those but I guess no one has = bothered. > It took many hours, partition size was 500 GB, I let it run while I = was in bed. I forgot - it does a full format (i.e. zeroes every sector) by default - = if you pass -f it will do a quick format instead (see the man page) -- Daniel O'Connor "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C