Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Sep 2015 14:12:31 +0200
From:      "Julian H. Stacey" <jhs@berklix.com>
To:        Zoran Kolic <zkolic@sbb.rs>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: fat32 question
Message-ID:  <201509201212.t8KCCVw7068917@fire.js.berklix.net>
In-Reply-To: Your message "Sun, 20 Sep 2015 18:31:23 %2B0900." <20150920183123.3c10adb789df478bfe0d3716@dec.sakura.ne.jp>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <zkolic@sbb.rs> 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.



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