Skip to content

Instantly share code, notes, and snippets.

@takidog
Last active December 25, 2024 14:52
Show Gist options
  • Save takidog/a028b6a59461a18cc74de6acff0576d9 to your computer and use it in GitHub Desktop.
Save takidog/a028b6a59461a18cc74de6acff0576d9 to your computer and use it in GitHub Desktop.
AMA S780 S860 MacOS下無法讀取的解決方式。

AMA S780 / S860 MacOS and Linx 讀取方式

這是一篇行車記錄器在MacOS和Linux 讀取檔案的方式

網路上大多人誤以為是因為NTFS導致無法讀取,我也沒看到AMA或其他人有提出解法


用Windows讀取可以發現,檔案系統是使用FAT32

那... FAT32照理來講MacOS應該可以無痛讀取才是?

我測試下: 是,但有點機率,MacOS會誤以為他是NTFS

可能是AMA在做格式化的時候,其中有疏漏,或是MacOS對FAT32過敏。


這裡範例只有給MacOS,使用Linux只有disk要自己查詢/dev/disk2s1位置

1. 查詢disk編號

在MacOS 下,沒辦法透過diskutil獲取正確的資訊,So.. 我不能肯定的告訴你尋找disk編號的方式

可以在沒有接入讀卡機之前使用diskutil list

再接入讀卡機在使用一次diskutil list

比對出其中差異像是以下資訊

/dev/disk2 (external, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:     FDisk_partition_scheme                        *63.9 GB    disk2
   1:               Windows_NTFS                         63.8 GB    disk2s1

(可以發現diskutil 誤以為是NTFS了。)

我們這裡就是要找到NTFS #1的 IDENTIFIER

請記住disk2s1位置上的資訊 , 如果你有接其他硬碟,也可能是disk3s1 disk4s1...

2. mount disk

打開Terminal

cd ~/Desktop
mkdir temp

開啟到桌面,新建一個temp資料夾

sudo mount -t msdos /dev/disk2s1 temp

這裡請更改自己的/dev/disk2s1

到這步驟就已經可以讀取了。

3. 不使用了 unmount

要移除讀卡機之前,你可能需要unmount

cd ~/Desktop
sudo umount temp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment