Mount msdosfs with longnames support by default.
The old behavior depended on the FAT version and on what files were in the
root directory. "mount_msdosfs -o shortnames" is still supported.
Paths
| Differential D8018 Authored by asomers on Sep 23 2016, 4:55 PM.
Details Summary Mount msdosfs with longnames support by default. The old behavior depended on the FAT version and on what files were in the Test Plan Create short and long filenames in a subdirectory on FAT12, 16, and 32
Diff Detail
Event Timelineasomers updated this object. Herald added a reviewer: manpages. · View Herald TranscriptSep 23 2016, 4:55 PM2016-09-23 16:55:19 (UTC+0) Herald edited edge metadata. · View Herald TranscriptSep 23 2016, 4:59 PM2016-09-23 16:59:03 (UTC+0) Comment Actions There's no reason not to support Win95 long file names ("LFN") by default. Long names are purely backwards compatible with shortname-only filesystems. Pre-win95 Microsoft systems w/out LFN support can even mount and browse filesystems with LFN entries, due to the fallback 8.3 encoding. If they mount r/w and modify directories, they might destroy the LFN names, but I do not think this is our problem. This revision is now accepted and ready to land.Sep 23 2016, 5:51 PM2016-09-23 17:51:54 (UTC+0) Closed by commit rS306276: Mount msdosfs with longnames support by default. (authored by asomers). · Explain WhySep 23 2016, 7:05 PM2016-09-23 19:05:32 (UTC+0) This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 20650 sbin/mount_msdosfs/mount_msdosfs.8
sys/fs/msdosfs/denode.h
sys/fs/msdosfs/msdosfs_lookup.c
sys/fs/msdosfs/msdosfs_vfsops.c
|
Oh, COMMENT also needs ?=.