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
When I mount a FAT32 fs, it is /dev/daXs1, where X is 0, 1, etc. I would not expect to see /dev/da0.>From my fstab file:/dev/da0s1 /usb_flash msdosfs rw,noauto 0 0 /dev/da1s1 /usb_flash2 msdosfs rw,noauto 0 0 FWIW, this is 10.0 STABLE. Bruce On Sun, Sep 20, 2015 at 06:55:19AM +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 > > _______________________________________________ > freebsd-stable at freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe at freebsd.org"-- ------------------------------------------------------------------------ "I like bad!" Bruce Burden Austin, TX. - Thuganlitha The Power and the Prophet Robert Don Hughes
On Sun, Sep 20, 2015 at 12:55 AM, Zoran Kolic <zkolic at 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". >This was probably a mistake; USB sticks are partitioned, and you wiped out the partition table by using da0 instead of e.g. da0s1. Most other systems --- and automount utilities even for FreeBSD --- won't understand it any more. -- brandon s allbery kf8nh sine nomine associates allbery.b at gmail.com ballbery at sinenomine.net unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net
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 On Sun, 20 Sep 2015 06:55:19 +0200 Zoran Kolic <zkolic at 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 > > _______________________________________________ > freebsd-stable at freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe at freebsd.org" >-- Tomoaki AOKI junchoon at dec.sakura.ne.jp