forked from ports/contrib
17 lines
928 B
Plaintext
17 lines
928 B
Plaintext
Kernel Configuration
|
|
Linux 5.15.55 and later come with robust read/write support for NTFS
|
|
partitions. If the ntfs3 driver has been built as a module, then it should
|
|
appear under /lib/modules/$(uname -r)/kernel/fs; if built into a monolithic
|
|
kernel, it should be listed under /proc/filesystems. Mounting and copying
|
|
to/from an NTFS partition can be accomplished with the kernel driver alone,
|
|
but by installing this port you get additional userspace tools for fsck,
|
|
mkfs, wiping, and resizing NTFS partitions.
|
|
|
|
Alternative to the (probably unsafe) `chmod 4755 /usr/bin/ntfs-3g`
|
|
To allow ordinary users to mount NTFS partitions, you can either set ntfs-3g
|
|
with the root user ID, or list the filesystem in /etc/fstab with the
|
|
rw,noauto,uid,gid options (assuming you compiled the ntfs3 driver with
|
|
your kernel). Example /etc/fstab line:
|
|
|
|
/dev/sdb1 /media/ntfs ntfs3 rw,uid=1000,gid=1000,noauto
|