Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
ltlly opened this issue Aug 25, 2023 · 2 comments
Closed

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

ltlly opened this issue Aug 25, 2023 · 2 comments

Comments

@ltlly
Copy link
Collaborator

ltlly commented Aug 25, 2023

系统版本 版本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
Copy link
Owner

hoochanlon commented Sep 29, 2023

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,已可读写!
  • 基本已解决 (9.30 1:30)
  • 多块U盘调试 (9.30-10-1)

catch2023-10-01 10 30 42

@hoochanlon hoochanlon pinned this issue Sep 29, 2023
@hoochanlon
Copy link
Owner

  • Other

catch2023-11-23 22 37 48

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants