Last active
September 15, 2018 14:53
-
-
Save nanpuyue/0d2fcc687d2025adcf91adddeede416a to your computer and use it in GitHub Desktop.
mount ntfs partition by ufsd
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| # file: /sbin/mount.ntfs | |
| # date: 2018-05-26 | |
| # license: GPLv3 https://www.gnu.org/licenses/gpl-3.0.txt | |
| # author: nanpuyue <[email protected]> https://blog.nanpuyue.com | |
| if modprobe -q ufsd; then | |
| exec mount -t ufsd "$@" | |
| else | |
| exec mount -t ntfs-3g "$@" | |
| fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment