Bruce Dubbs wrote:
Can we give the user a choice of which volume type works properly? I
have no problem with either as a default if we can offer a choice.
Yes. Add iocharset to floppies/zips/jaz and get vfat working and ext2
not even mountable. Don't add iocharset and get both mountable but vfat
working only for pure ASCII filenames. Randy's reply about "codepage" is
irrelevant, because it's the "iocharset" parameter that creates trouble.
Alternative plans are below.
1) We can recommend rebuilding the kernel and setting
CONFIG_FAT_DEFAULT_CODEPAGE, CONFIG_FAT_DEFAULT_IOCHARSET,
CONFIG_NLS_DEFAULT so that vfat mounts properly without the need to
specify iocharset and codepage.
This, however, certainly doesn't help with NTFS and I am not sure if
this helps with UDF and ISO9660 (but both take iocharset as a mount
option, so CD-ROMs don't create a problem). And I find less confusing
(at least without HAL) to always specify iocharset and codepage in fstab
for filesystems that accept them, and use different mount points for
ext2 and vfat floppies.
2) Recommend that static mount points are defined (i.e.: HAL gets out of
the way) for media where HAL cannot determine the fs type when creating
the fstab entry (i.e. everything except USB flashes, USB hard disks and
IEEE1394 disks) and mount options for different filesystems conflict
(since mount options for udf and iso9660 don't conflict, this whitelists
CD-ROMs). Recommend that a separate mount point should be defined for
each conflicting fs type for the same device (i.e., /media/floppy for
vfat floppies, /media/ext2floppy for ext2 floppies).
BTW, Randy, if you are going to put my example in the book where it
looks for "storage.drive_type" and "volume.fstype", could you please
extend it for USB card readers? I cannot do this myself because I don't
have such device.
--
Alexander E. Patrakov
Don't mail to [EMAIL PROTECTED]: the server is off until 2006-01-11
Use my GMail or linuxfromscratch address instead
--
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page