* docs/grub.texi (Internationalisation/Filesystems): Add precisions

mentioning possible problems with non-ASCII (non-compliant) ISOs.
	Mention case-insensitive AFFS, SFS and JFS.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2012-05-21 22:12:45 +02:00
parent a4469c8806
commit 37ed2c9b7e
2 changed files with 21 additions and 7 deletions

View file

@ -1,3 +1,9 @@
2012-05-21 Vladimir Serbinenko <phcoder@gmail.com>
* docs/grub.texi (Internationalisation/Filesystems): Add precisions
mentioning possible problems with non-ASCII (non-compliant) ISOs.
MEntion case-insensitive AFFS, SFS and JFS.
2012-05-21 Vladimir Serbinenko <phcoder@gmail.com> 2012-05-21 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/fs/affs.c (grub_affs_mtime): Add missing grub_dl_ref. * grub-core/fs/affs.c (grub_affs_mtime): Add missing grub_dl_ref.

View file

@ -3941,18 +3941,26 @@ NTFS, JFS, UDF, HFS+, exFAT, long filenames in FAT, Joliet part of
ISO9660 are treated as UTF-16 as per specification. AFS and BFS are read ISO9660 are treated as UTF-16 as per specification. AFS and BFS are read
as UTF-8, again according to specification. BtrFS, cpio, tar, squash4, minix, as UTF-8, again according to specification. BtrFS, cpio, tar, squash4, minix,
minix2, minix3, ROMFS, ReiserFS, XFS, ext2, ext3, ext4, FAT (short names), minix2, minix3, ROMFS, ReiserFS, XFS, ext2, ext3, ext4, FAT (short names),
ISO9660 (plain and RockRidge), nilfs2, UFS1, UFS2 and ZFS are assumed RockRidge part of ISO9660, nilfs2, UFS1, UFS2 and ZFS are assumed
to be UTF-8. This might be false on systems configured with legacy charset to be UTF-8. This might be false on systems configured with legacy charset
but as long as the charset used is superset of ASCII you should be able to but as long as the charset used is superset of ASCII you should be able to
access ASCII-named files. And it's recommended to configure your system to use access ASCII-named files. And it's recommended to configure your system to use
UTF-8 to access the filesystem, convmv may help with migration. AFFS, SFS UTF-8 to access the filesystem, convmv may help with migration. ISO9660 (plain)
and HFS never use unicode and GRUB assumes them to be in Latin1, Latin1 filenames are specified as being ASCII or being described with unspecified
and MacRoman respectively. GRUB handles filesystem case-insensitivity however escape sequences. GRUB assumes that the ISO9660 names are UTF-8 (since
no attempt is performed at case conversion of international characters any ASCII is valid UTF-8). There are some old CD-ROMs which use CP437
in non-compliant way. You're still able to access files with names containing
only ASCII characters on such filesystems though. You're also able to access
any file if the filesystem contains valid Joliet (UTF-16) or RockRidge (UTF-8).
AFFS, SFS and HFS never use unicode and GRUB assumes them to be in Latin1,
Latin1 and MacRoman respectively. GRUB handles filesystem case-insensitivity
however no attempt is performed at case conversion of international characters
so e.g. a file named lowercase greek alpha is treated as different from so e.g. a file named lowercase greek alpha is treated as different from
the one named as uppercase alpha. The filesystems in questions are the one named as uppercase alpha. The filesystems in questions are
NTFS (except POSIX namespace), HFS+ (by default), FAT, exFAT and NTFS (except POSIX namespace), HFS+ (configurable at mkfs time, default
ZFS (configurable on per-subvolume basis by property ``casesensitivity'', insensitive), SFS (configurable at mkfs time, default insensitive),
JFS (configurable at mkfs time, default sensitive), HFS, AFFS, FAT, exFAT
and ZFS (configurable on per-subvolume basis by property ``casesensitivity'',
default sensitive). On ZFS subvolumes marked as case insensitive files default sensitive). On ZFS subvolumes marked as case insensitive files
containing lowercase international characters are inaccessible. containing lowercase international characters are inaccessible.
Also like all supported filesystems except HFS+ and ZFS (configurable on Also like all supported filesystems except HFS+ and ZFS (configurable on