I recently acquired a cool usb stick with usb type c on one end and usb type a on the other;
I figured I could use it to conveniently copy some files from my phone to bsd;
I have fusefs loaded:
It looked like everything was in order so I tried to mount the partition:
Originally, I tried to format the drive using gpart manually:
but the phone wasn't able to mount the partition, so I wiped the drive and the phone automatically formatted it.
Am I missing something obvious here like fat32lba not being supported on freebsd , or something?
I figured I could use it to conveniently copy some files from my phone to bsd;
Code:
sudo pkg install exfat-utils fusefs-exfat fusefs-ntfs
I have fusefs loaded:
Code:
sudo kldstat
Id Refs Address Size Name
1 129 0xffffffff80200000 1d34598 kernel
2 1 0xffffffff81f35000 5d51c8 zfs.ko
3 1 0xffffffff8250c000 1c3a8 geom_eli.ko
4 1 0xffffffff833f9000 11e630 nvidia-modeset.ko
5 1 0xffffffff83600000 33a5358 nvidia.ko
6 2 0xffffffff83518000 31a10 linux.ko
7 6 0xffffffff8354a000 be70 linux_common.ko
8 1 0xffffffff83556000 3390 acpi_wmi.ko
9 1 0xffffffff8355a000 3250 ichsmb.ko
10 1 0xffffffff8355e000 2178 smbus.ko
11 1 0xffffffff83561000 93260 if_iwlwifi.ko
12 1 0xffffffff835f5000 5f00 ig4.ko
13 1 0xffffffff869a6000 2dc30 linux64.ko
14 1 0xffffffff835fb000 2278 pty.ko
15 1 0xffffffff869d4000 3558 fdescfs.ko
16 1 0xffffffff869d8000 73c0 linprocfs.ko
17 1 0xffffffff869e0000 440c linsysfs.ko
18 1 0xffffffff869e5000 3360 uhid.ko
19 1 0xffffffff869e9000 4364 ums.ko
20 1 0xffffffff869ee000 33c0 usbhid.ko
21 6 0xffffffff869f2000 3380 hidbus.ko
22 1 0xffffffff869f6000 e5ac snd_uaudio.ko
23 1 0xffffffff86a05000 3360 wmt.ko
24 1 0xffffffff86a09000 4d20 ng_ubt.ko
25 3 0xffffffff86a0e000 abb8 netgraph.ko
26 2 0xffffffff86a19000 a250 ng_hci.ko
27 2 0xffffffff86a24000 2670 ng_bluetooth.ko
28 1 0xffffffff86a27000 3218 iichid.ko
29 1 0xffffffff86a2b000 21e8 hms.ko
30 1 0xffffffff86a2e000 30a8 hidmap.ko
31 1 0xffffffff86a32000 3355 hmt.ko
32 1 0xffffffff86a36000 22cc hconf.ko
33 1 0xffffffff86a39000 12e08 fusefs.ko
Code:
gpart show /dev/da0
=> 63 120176577 da0 MBR (57G)
63 1985 - free - (993K)
2048 120174559 1 fat32lba (57G)
120176607 33 - free - (17K)
It looked like everything was in order so I tried to mount the partition:
Code:
sudo mount -v -t vfat /dev/da0s1 ./mnt
mount: /dev/da0s1: Invalid fstype: Invalid argument
zroot/ROOT/default on / (zfs, local, noatime, nfsv4acls, fsid af253d1ade9720a3, vnodes: count 243017 )
Code:
sudo mount -v -t msdos /dev/da0s1 ./mnt
mount_msdosfs: /dev/da0s1: Invalid argument
zroot/ROOT/default on / (zfs, local, noatime, nfsv4acls, fsid af253d1ade9720a3, vnodes: count 243017 )
Code:
sudo mount -v -t msdosfs /dev/da0s1 ./mnt
mount_msdosfs: /dev/da0s1: Invalid argument
zroot/ROOT/default on / (zfs, local, noatime, nfsv4acls, fsid af253d1ade9720a3, vnodes: count 243018 )
Originally, I tried to format the drive using gpart manually:
Code:
sudo gpart create -s mbr /dev/da0
sudo gpart add -t fat32 -a 1m -s 10G /dev/da0
but the phone wasn't able to mount the partition, so I wiped the drive and the phone automatically formatted it.
Am I missing something obvious here like fat32lba not being supported on freebsd , or something?