[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090710214407.GC30322@shareable.org>
Date: Fri, 10 Jul 2009 22:44:07 +0100
From: Jamie Lokier <jamie@...reable.org>
To: tridge@...ba.org
Cc: Jan Engelhardt <jengelh@...ozas.de>,
OGAWA Hirofumi <hirofumi@...l.parknet.co.jp>,
Theodore Tso <tytso@....edu>,
Alan Cox <alan@...rguk.ukuu.org.uk>,
Rusty Russell <rusty@...tcorp.com.au>,
Pavel Machek <pavel@....cz>, john.lanza@...ux.com,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
linux-fsdevel@...r.kernel.org,
Dave Kleikamp <shaggy@...ux.vnet.ibm.com>, corbet@....net,
jcm@...masters.org
Subject: Re: CONFIG_VFAT_FS_DUALNAMES regressions
tridge@...ba.org wrote:
> Hi Jamie,
>
> > I think it's ok to break that compatibility if dualnames is off,
> > because that's unfortunately the best available compromise.
>
> You probably noticed this, but the patch that has been put in only
> changes the shortname setting when dualnames is off.
Yes, I noticed.
What I mean is if I do this, with your patch active:
mount /dev/sdb -t vfat -o shortname=mixed
(or shortname=lower, or shortname=win95), then it's wrong to override
my shortname request "shortname=mixed", because my request means "I
need lower-case names to _appear_ lower-case on something with Windows
95-like behaviour.
When dual names cannot be created, if I specify any shortname= option
except shortname=winnt, I'd rather create a long name entry for
lower-case 8.3 names than a short name.
That's why dualnames off should change the *default* to
shortname=winnt, but not override an explicit shortname= option.
With dualnames on, the default should be shortname=mixed because that
has wider compatibility, and it's like the old Linux default when
creating names.
-- Jamie
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists