From owner-freebsd-stable@freebsd.org Sun Sep 20 12:12:54 2015 Return-Path: Delivered-To: freebsd-stable@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 73DF2A01D63 for ; Sun, 20 Sep 2015 12:12:54 +0000 (UTC) (envelope-from jhs@berklix.com) Received: from slim.berklix.org (slim.berklix.org [94.185.90.68]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id EFA0D15DA for ; Sun, 20 Sep 2015 12:12:52 +0000 (UTC) (envelope-from jhs@berklix.com) Received: from mart.js.berklix.net (p5083C34F.dip0.t-ipconnect.de [80.131.195.79]) (authenticated bits=128) by slim.berklix.org (8.14.5/8.14.5) with ESMTP id t8KCCEd5093681; Sun, 20 Sep 2015 14:12:14 +0200 (CEST) (envelope-from jhs@berklix.com) Received: from fire.js.berklix.net (fire.js.berklix.net [192.168.91.41]) by mart.js.berklix.net (8.14.3/8.14.3) with ESMTP id t8KCCnBI098157; Sun, 20 Sep 2015 14:12:49 +0200 (CEST) (envelope-from jhs@berklix.com) Received: from fire.js.berklix.net (localhost [127.0.0.1]) by fire.js.berklix.net (8.14.7/8.14.7) with ESMTP id t8KCCVw7068917; Sun, 20 Sep 2015 14:12:43 +0200 (CEST) (envelope-from jhs@berklix.com) Message-Id: <201509201212.t8KCCVw7068917@fire.js.berklix.net> To: Zoran Kolic cc: freebsd-stable@freebsd.org Subject: Re: fat32 question From: "Julian H. Stacey" Organization: http://berklix.com BSD Unix Linux Consultants, Munich Germany User-agent: EXMH on FreeBSD http://berklix.com/free/ X-URL: http://www.berklix.com In-reply-to: Your message "Sun, 20 Sep 2015 18:31:23 +0900." <20150920183123.3c10adb789df478bfe0d3716@dec.sakura.ne.jp> Date: Sun, 20 Sep 2015 14:12:31 +0200 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Sep 2015 12:12:54 -0000 Tomoaki AOKI wrote: > According to "Real Hardware Gotchas" section in [1], FAT32 fs creation > of FreeBSD seems to have some problems. > > Try formatting by the hardware you're going to transfer files from > FreeBSD, if available. Once formatted by other OS, read/write/delete > files in FAT32 formatted media would be OK with FreeBSD. > > If not, and if the file you want to transfer is small enough, partition > the media and use FAT16. (The safest maximum is 32MB, but maybe under > 2GB would be OK.) > > [1] https://wiki.freebsd.org/UEFI Zoran, re Brandon's "won't understand it any more." Dont despair & discard stick, you can rebuild the MBR: man fdisk from memory start with fdisk -i -B /dev/da0 sometimes I then remove & reinsert or even reboot, to make certain the OS has the new numbers. I don't recall I've needed to reduce from FAT32 to FAT16. Ive not read the uefi page as happily no boxes are uefi here, but I've often created FAT32 partitions, my notes at http://www.berklix.com/~jhs/src/bsd/fixes/FreeBSD/src/jhs/etc/devd/berklix.conf The advice about letting the other native MS FAT device format if it will, is quickest solution though. PS Max size of FAT32 = 2TB https://en.wikipedia.org/wiki/File_Allocation_Table#FAT32 > > > On Sun, 20 Sep 2015 06:55:19 +0200 > Zoran Kolic wrote: > > > I have a device to which I'd like to connect otg cable > > and insert 16gb usb stick. Tried "newfs_msdos -F32 /dev/da0". > > Mounted, copied files. The device does not see the file > > system at all. > > Any idea what to do further? Another option might be extfs. > > Best regards > > > > Zoran Cheers, Julian -- Julian Stacey, BSD Linux Unix C Sys Eng Consultant Munich http://berklix.com Reply after previous text, like a play - Not before, which looses context. Indent previous text with "> " Insert new lines before 80 chars. Send plain text, Not quoted-printable, Not HTML, Not ms.doc, Not base64.