Randy McMurchy wrote:
Alexander E. Patrakov wrote these words on 01/03/06 00:18 CST:
Rationale: it is impossible to have one static fstab line with the
"auto" filesystem type and proper mount options for both vfat and ext2.
You will have to understand the the codepage stuff is not going
to be in fstab. You must understand this. It is imperative.
OK, let's lose the codepage. The text below is written under the
assumption that we never set the codepage.
The iocharset stuff *will* be in fstab.
Good. So let's consider the following testcases:
1) CD-ROMs: The fs type cannot be probed in advance. Valid cases are
iso9660 and udf, both need the iocharset parameter and don't take
codepage. HAL should insert the line with iocharset specified, and with
the fs type set to "auto".
2) Floppies: they can be vfat or (very rare) ext2. VFAT needs iocharset,
ext2 doesn't accept it. So only one of these two cases can be made to
work with a siggle fstab line. Let it be vfat, so we need to insert
iocharset.
3) USB disks and flashes. They can be vfat, ntfs and ext2. For this type
of storage, it is possible to look at the actual FS type in HAL when the
hotplug event arrives, and thus fstype-specific mount options can be
added. Ext2: none, vfat and ntfs: iocharset.
--
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