Toto je starší verze dokumentu!
Vše, co se tu dá číst se může používat na vlastné nebezpečí.
Ntfs-3g používá projekt FUSE a přes něj umí číst a zapisovat do partition NTFS (Widloidní partition).
Driver závisí na sys-fs/fuse a portage je automaticky přihraje. V kernelu je třeba mít FUSE zakázané, protože se fuse řeší samostatným ebuildem.
emerge sys-fs/ntfs3g
The fuse kernel module must be prepared for loading into the kernel (the ntfs-3g driver will load it automatically if needed): # modules-update [edit] Usage examples
Replace /dev/hda1 with your NTFS volume and /mnt/windows with your mountpoint. [edit] Mount a volume manually
Full access to all users, permission free: # ntfs-3g /dev/hda1 /mnt/windows [edit] Mount at boot (combine the options provided in the following examples into one single line of /etc/fstab ):
Modify /etc/fstab: # echo „/dev/hda1 /mnt/windows ntfs-3g 0 0“ » /etc/fstab
Locale support( in the following examples it's used locale=en_US.utf8, replace with yours):
Modify /etc/fstab: # echo „/dev/hda1 /mnt/windows ntfs-3g locale=en_US.utf8 0 0“ » /etc/fstab
Access for non Root-Users(make ntfs partitions mountable for a normal user, unmountable for everyone else):
Set the suid flag for the ntfs-3g binary and then re-emerge it: # echo sys-fs/ntfs3g suid» /etc/portage/package.use # emerge sys-fs/ntfs3g -1
Modify /etc/fstab: /dev/hda1 /mnt/windows ntfs-3g users 0 0
To make a user/group own everything on the ntfs drive:
Modify /etc/fstab: /dev/hda1 /mnt/windows ntfs-3g users,uid=THE_ID_OF_THE_OWNER,gid=THE_ID_OF_THE_GROUP 0 0
A User's ID and GID can be found with: $ id username
If you don't want the drive to be automounted at boot: /dev/hda1 /mnt/windows ntfs-3g noauto 0 0
One single line doing all these things: /dev/hda1 /mnt/windows ntfs-3g users,locale=en_US.utf8,uid=THE_ID_OF_THE_OWNER,gid=THE_ID_OF_THE_GROUP,noauto 0 0
Now you can mount the drive as a normal user: $ mount /mnt/windows
For more detailed options and explanations see this document and the manual page: $ man ntfs-3g [edit] Kernel upgrade issues
If your driver stops working after you have upgraded your kernel then you should reinstall fuse. # emerge -1 sys-fs/fuse # modules-update [edit] Disclaimer
The author of this document isn't responsible for any damage or loss of data that the software could cause, use at your own risk.