无法在 FreeBSD 上挂载 USB:参数无效

nal*_*zok 2 freebsd usb mount usb-drive macintosh

我正在尝试在 FreeBSD 上安装 USB 记忆棒。结果camcontrol devlist是:

root@machine0:~ # camcontrol devlist
<APPLE SSD SM0128G BXW1JA0Q>       at scbus0 target 0 lun 0 (ada0,pass0)
< USB DISK 1100>                   at scbus1 target 0 lun 0 (da0,pass1)
<APPLE SD Card Reader 3.00>        at scbus2 target 0 lun 0 (da1,pass2)
Run Code Online (Sandbox Code Playgroud)

我做了

root@machine0:~ # mount /dev/da0 /mnt
mount: /dev/da0: Invalid argument
Run Code Online (Sandbox Code Playgroud)

指定文件系统也无济于事:

root@machine0:~ # mount -t fat /dev/da0 /mnt
mount: /dev/da0: Operation not supported by device
Run Code Online (Sandbox Code Playgroud)

的输出gpart show da0

=>      34  15730621  da0  GPT  (7.5G)
        34         6       - free -  (3.0K)
        40    409600    1  efi  (200M)
    409640      2008       - free -  (1.0M)
    411648  15316992    2  ms-basic-data  (7.3G)
  15728640      2015       - free -  (1.0M)
Run Code Online (Sandbox Code Playgroud)

dia*_*tch 5

您必须安装特定分区,而不是整个驱动器。您可以尝试类似的操作da0x,其中 x 替换为所需的分区 ID。您可以查看/dev以找到分区 ID da0