hoochanlon / Free-NTFS-for-Mac

Nigate,一款支持苹果芯片的Free NTFS for Mac小工具软件。NTFS R/W for macOS. Support Intel/Apple Silicon now.
https://hoochanlon.github.io/Free-NTFS-for-Mac
zlib License
493 stars 43 forks source link

macos14 不能正常使用 似乎是脚本参数解析有误 #20

Closed ltlly closed 1 year ago

ltlly commented 1 year ago

系统版本 版本14.0 Beta版(23A5328b)

调试打印 once twice thriceCutVal三个变量依次为 /dev /dev disk4s1 疑似解析参数有误 而mount | grep ntfs返回 /dev/disk4s1 on /Volumes/D (ntfs, local, nodev, nosuid, read-only, noowners, noatime)

目前个人自用脚本 将脚本修改为

line=$(mount | grep ntfs)

# 提取disk和volume名称
disk=$(echo "$line" | awk '{split($1, a, "/"); print a[3]}')
volume=$(echo "$line" | awk '{split($3, a, "/"); print a[3]}')
echo "Disk: $disk"
echo "Volume: $volume"
sudo umount /dev/$disk
sudo -S  ntfs-3g /dev/$disk  /Volumes/$volume -olocal -oallow_other -o auto_xattr -ovolname=$volume

即解析后运行 sudo umount /dev/disk4s1 sudo -S ntfs-3g /dev/disk4s1 /Volumes/D -olocal -oallow_other -o auto_xattr -ovolname=D
可以正常使用

hoochanlon commented 1 year ago

macOS14(正式版)相关报错,解析参数格式错误。

News, support and information:  https://github.com/tuxera/ntfs-3g/
新设备: disk4s1,已可读写!
---------

新设备: disk4s1
ntfs-3g: Failed to access volume '/dev//dev': No such file or directory

ntfs-3g 2022.10.3 external FUSE 29 - Third Generation NTFS Driver
        Configuration type 1, XATTRS are on, POSIX ACLS are off

其他问题

新设备: disk4s1
Error opening '/dev': Is a directory
Failed to mount '/dev': Is a directory
新设备: disk4s1,已可读写!

catch2023-10-01 10 30 42

hoochanlon commented 1 year ago

catch2023-11-23 22 37 48