[Bug 119900] Improve default mount options
https://bugzilla.novell.com/show_bug.cgi?id=119900 ------- Comment #32 from sbrabec@novell.com 2007-04-03 11:05 MST ------- I have just discussed the winnt problem. Summary: - Devices using only 8+3 uppercase. We want them all-lowercase, no vfat records. I name these as msdos, but we can mount most of them as vfat, but with "lower" option without risk of file system breakage. - Devices using long filenames. We want "winnt" option and vfat records. It is not easy to discriminate between these cases. There are few ideas: - Guess: Check file system root. If there is no vfat item, guess as msdos, otherwise vfat. Will fail if file system root was created on vfat, but all files and directories were 8+3 all-uppercase. Will fail for just formatted card. - Guess + ask user: Guess. If there is no vfat entry, ask user "File system seems to use only 8+3 uppercase file names. Do you want to support long file names and/or use simple case conversion?" - Guess + ask user + remember: Remember USB ID or flash serial number and not as again. - USB ID list: If you are mounting USB device known to not support vfat (most cameras, some MP3 players,...), use msdos. - Camera DCIM list: Mount ro as vfat, look at DCIM/dcim, look at 100*, compare it with camera default names. If it is owned by 8+3 device, unmount and mount as msdos, otherwise remount rw. - Format stamp list: Check format stamp. If card was formatted on known 8+3 device, use msdos, otherwise vfat. - Optionally allow to store correct options on a (hidden) file in the file system root. There is one unwanted consequence of winnt flag: If you are copying a lowercase file from computer back to former MSDOS-only medium, it creates two entries in the file system structure - one uppercase MSDOS entry and one lowercase vfat entry. Some embedded systems may not accept it. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
participants (1)
-
bugzilla_noreply@novell.com