From owner-freebsd-current@FreeBSD.ORG Sat Nov 19 16:31:34 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 60F1616A427 for ; Sat, 19 Nov 2005 16:31:34 +0000 (GMT) (envelope-from rhurlin@gwdg.de) Received: from mailer.gwdg.de (mailer.gwdg.de [134.76.10.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id D9F1843D72 for ; Sat, 19 Nov 2005 16:31:26 +0000 (GMT) (envelope-from rhurlin@gwdg.de) Received: from p213.54.67.149.tisdip.tiscali.de ([213.54.67.149] helo=[192.168.1.111]) by mailer.gwdg.de with esmtpsa (TLSv1:RC4-MD5:128) (Exim 4.54) id 1EdVcP-00022O-W3; Sat, 19 Nov 2005 17:31:18 +0100 Message-ID: <437F5351.6070305@gwdg.de> Date: Sat, 19 Nov 2005 17:31:13 +0100 From: Rainer Hurling User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051106) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Craig Rodrigues References: <437E1477.7030902@gwdg.de> <20051118190448.GA6870@crodrigues.org> <437E542C.5070602@gwdg.de> <20051118224317.GA8018@crodrigues.org> <437EEBBF.5040601@gwdg.de> <20051119134855.GA17536@crodrigues.org> In-Reply-To: <20051119134855.GA17536@crodrigues.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Level: +++ X-Spam-Report: Content analysis: 3.3 points, 6.0 required 0.1 RCVD_IN_SORBS_DUL RBL: SORBS: sent directly from dynamic IP address [213.54.67.149 listed in dnsbl.sorbs.net] 1.5 RCVD_IN_MAPS_RBL RBL: Relay in RBL, http://www.mail-abuse.org/rbl+/ [213.54.67.149 listed in rbl-plus.mail-abuse.org] 1.7 RCVD_IN_NJABL_DUL RBL: NJABL: dialup sender did non-local SMTP [213.54.67.149 listed in combined.njabl.org] X-Virus-Scanned: (clean) by exiscan+sophie X-AUTH-Id: rhurlin Cc: freebsd-current@freebsd.org Subject: Re: mount_msdosfs and longnames X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Nov 2005 16:31:34 -0000 With your latest patch all seems to be OK again, for old as well as new 'mount_msdosfs' program. Thank you very much for this qualified and fast help. Rainer Hurling Craig Rodrigues wrote: > Can you try the following patch, rebuild your kernel, > and try both old *and* new mount_msdosfs programs? > > > Index: msdosfs_vfsops.c > =================================================================== > RCS file: /home/ncvs/src/sys/fs/msdosfs/msdosfs_vfsops.c,v > retrieving revision 1.148 > diff -u -u -r1.148 msdosfs_vfsops.c > --- msdosfs_vfsops.c 18 Nov 2005 22:34:31 -0000 1.148 > +++ msdosfs_vfsops.c 19 Nov 2005 13:41:36 -0000 > @@ -81,7 +81,7 @@ > "from", > "export", > "uid", "gid", "mask", "dirmask", > - "shortname", "shortnames", "longname", "longnames", "win95", > + "shortname", "shortnames", "longname", "longnames", "nowin95", "win95", > "kiconv", "cs_win", "cs_dos", "cs_local", > NULL > }; > @@ -172,11 +172,10 @@ > vfs_flagopt(mp->mnt_optnew, "kiconv", > &pmp->pm_flags, MSDOSFSMNT_KICONV); > > - /* XXX: Can't use flagopt due to negative option */ > - if (!vfs_getopt(mp->mnt_optnew, "win95", NULL, NULL)) > - pmp->pm_flags &= ~MSDOSFSMNT_NOWIN95; > - else > + if (vfs_getopt(mp->mnt_optnew, "nowin95", NULL, NULL) == 0) > pmp->pm_flags |= MSDOSFSMNT_NOWIN95; > + else > + pmp->pm_flags &= ~MSDOSFSMNT_NOWIN95; > > if (pmp->pm_flags & MSDOSFSMNT_NOWIN95) > pmp->pm_flags |= MSDOSFSMNT_SHORTNAME;