Portál AbcLinuxu, 13. května 2025 23:12
mount
a hledejte ntfs
. Najdete třeba tohle:
Mount options for ntfs iocharset=name Character set to use when returning file names. Unlike VFAT, NTFS suppresses names that contain unconvertible characters. utf8 Use UTF-8 for converting file names. uni_xlate=[0|1|2] For 0 (or `no' or `false'), do not use escape sequences for unknown Unicode characters. For 1 (or `yes' or `true') or 2, use vfat-style 4-byte escape sequences starting with ":". Here 2 give a little-endian encoding and 1 a byteswapped bigendian encoding. posix=[0|1] If enabled (posix=1), the file system distinguishes between upper and lower case. The 8.3 alias names are presented as hard links instead of being suppressed. uid=value, gid=value and umask=value Set the file permission on the filesystem. The umask value is given in octal. By default, the files are owned by root and not readable by somebody else.Pokud si vybalíte jádro a přečtete si
Documentation/filesystems/ntfs.txt
, zjistíte, že místo iocharset
má být do budoucna použito nls
. Ani manuálové stránky nejsou vždycky to nejlepší, ale pro začátek postačí. Ale vy stejně potřebujete uid, gid
a umask, fmask, dmask
. Nejméně omezující opatření (zápis všem) nastavíte takto:
mount -t ntfs -o umask=000 /dev/něco /mnt/ntfs
/mnt/win_c
(tzn. r-x pro others)
gid
. Nastavení umask
funguje jak s ovladačem k jádru, tak s ovladačem od Paragonu (ten navíc umožňuje zápis). Nejprve zkuste rovnou mount -t nfs -o umask=000 /dev/něco /mnt/něco
, potom teprve piště do /etc/fstab
.
nls
se už používá, aspoň v jádrech 2.6 určitě
iocharset
ještě funguje, ale píše to hloupé průpovídky. Za to pro FAT nefunguje nls
vůbec a musí se použít iocharset
. Ať žije bordel.
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.