mount_msdosfs and longnames

Rainer Hurling rhurlin at gwdg.de
Fri Nov 18 09:50:53 PST 2005


My newest build of FreeBSD 7.0-CURRENT from today (11/18/2005) shows a 
behaviour on MSDOS mounted drives that I never saw before:

As always I mounted my FAT32 partitions like this:

# mount_msdosfs /dev/ad0s5 /WINDAT

In the past I got full access on long formatted names for directories 
and files. With my newest build there are only short names in 8.3 
convention, all in small letters.


The option '-o longnames' (as described in manpage mount_msdosfs) gives 
the following error:

# mount_msdosfs: /dev/ad0s5: Invalid argument

Option '-o longname' (without ending 's') does the mount, but names 
remain in 8.3 convention.


Looking in /usr/src/sys/fs/msdosfs/msdosfs_vfsops.c [Version 1.147 from 
2005/10/31 15:41:20] there is a naming discrepancy against the manpage: 
supported options are 'shortname' and 'longname' without s. I hope I did 
not misunderstood this.


FYI: The mount and access on my NTFS formatted drives seems to function 
normal.

Has anybody else observed this behaviour? Any ideas?


Thanks in advance,
Rainer Hurling


More information about the freebsd-current mailing list