Giter VIP home page Giter VIP logo

Comments (2)

hoochanlon avatar hoochanlon commented on August 22, 2024

macOS与Windows图标设置是独立的,只能在所在的对应系统显示,而且由于Mac平台下NTFS的特殊性,配置图标操作尤为有限。不能直接配置在/Volumes/根目录,图标配置不当会导致挂载功能紊乱。解决办法:再安装一个同类的NTFS for Mac,只要不卸载,挂载功能紊乱,就不出继续出现。还想成当初的样子,得重装系统了。

配置NTFS磁盘图标缺陷颇多,在 /Library/Filesystems/以包内容显示macfuse.fs,可替换对应图标。

通过 sudo ntfs-3g /dev/disk4s1 ~/Desktop/mnt 挂载可出现效果,可这样挂载忽略显示了NTFS已有文件,再复制同名到U盘会报错。

from ezntfs.

lezgomatt avatar lezgomatt commented on August 22, 2024

I have not tested this myself, but you might want to try the volicon option of macFUSE.

Something like sudo ntfs-3g -o volicon=/Users/chanlonhoo/downloads/Volume.icns /dev/disk4s1 ~/Desktop/mnt might work. You'll want to add a few additional options as well, see:

ezntfs/ezntfs/ezntfs.py

Lines 138 to 148 in b1413c8

return [
NTFS_3G_PATH,
"-o", f"volname={volume.name}",
"-o", "local",
"-o", "allow_other",
"-o", xattr_option,
"-o", f"uid={user_id}",
"-o", f"gid={group_id}",
"-o", "windows_names",
volume.node, path,
]

Hope that helps 😃

from ezntfs.

Related Issues (11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.