Hi,

On Wed, Jan 26, 2022 at 05:41:30PM +0100, Tilo Stritzky wrote:
>              If neither -s nor -l are given, mount_msdos searches the root
>              directory of the file system to be mounted for any existing
>              Windows 95/98 long filenames.  If no such entries are found, -s
>              is the default.  Otherwise -l is assumed.

For a moment I couldn't find that text. Well, turns out this passage was
removed in November 2021 (in version 1.32 of mount_msdos.c):

http://cvsweb.openbsd.org/src/sbin/mount_msdos/mount_msdos.8

kn@ did the work, so I'm CCing them.

> The way I read this whole thing is that ``Force'' refers to turning
> off the auto-detection and enforce the long mode. See also the
> description of the -s flag further down.

Just to double check, on OpenBSD I created a new filesystem, and explicitly
mounted it with `-l`, created files called `A` and `LONGLONGLONG`. Then on
Linux (with default mount options), I see `a` and `LONGLONGLONG`.

So it's clear that OpenBSD doesn't always create long filenames, even if you
mount explicitly with `-l`. And `-l` does really appear to be default.

> Have you tried enforcing short (old scool) mode by using -s?

WELL THAT WOULD WORK, BUT ALL OF MY FILENA~1 WOULD BE TRUNCA~1 ;)

kn@, what do you think? Should `-l` *always* (really always) create long
filenames?

Cheers

-- 
Best Regards
Edd Barrett

https://www.theunixzoo.co.uk

Reply via email to