From owner-freebsd-current@FreeBSD.ORG Sat Nov 19 09:09:26 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 C31BB16A41F for ; Sat, 19 Nov 2005 09:09:26 +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 15E5343D45 for ; Sat, 19 Nov 2005 09:09:25 +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 1EdOio-000188-Tt; Sat, 19 Nov 2005 10:09:23 +0100 Message-ID: <437EEBBF.5040601@gwdg.de> Date: Sat, 19 Nov 2005 10:09:19 +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> In-Reply-To: <20051118224317.GA8018@crodrigues.org> Content-Type: multipart/mixed; boundary="------------060302050909050502050009" 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 09:09:26 -0000 This is a multi-part message in MIME format. --------------060302050909050502050009 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit ... sorry for the late answer but I have to sleep some hours. I checked out version 1.36 of /usr/src/sbin/mount_msdosfs/mount_msdosfs.c and build/install new system. I am not a developer. What have I to do instead of building/installing the whole system when I only want to change a single file? Now the good news: With mounting version 1.36 all FAT32 Filenames are OK again :-) The output of 'truss' is in the attachment. Craig Rodrigues wrote: > On Fri, Nov 18, 2005 at 11:22:36PM +0100, Rainer Hurling wrote: > >>Do you have any other idea? Are there related changes in the files >>'msdosfs_fileno.c' and 'msdosfs_denode.c', both from 10/31/2005? > > > Can you go back to version 1.36 of mount_msdosfs.c and > rebuild mount_msdosfs? Try running mount_msdosfs under truss > by doing something like: > > truss -o/tmp/msdos_output.txt mount_msdosfs /dev/whatever /mnt > > If it works, send the output of msdos_output.txt --------------060302050909050502050009 Content-Type: text/plain; name="msdos_output.txt" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="msdos_output.txt" mmap(0x0,3600,(0x3)PROT_READ|PROT_WRITE,(0x1000)MAP_ANON,-1,0x0) = 671535104 (0x2806d000) munmap(0x2806d000,0xe10) = 0 (0x0) __sysctl(0xbfbfe458,0x2,0x28069998,0xbfbfe454,0x0,0x0) = 0 (0x0) mmap(0x0,32768,(0x3)PROT_READ|PROT_WRITE,(0x1002)MAP_ANON|MAP_PRIVATE,-1,0x0) = 671535104 (0x2806d000) issetugid() = 0 (0x0) open("/etc/libmap.conf",0x0,0666) ERR#2 'No such file or directory' open("/var/run/ld-elf.so.hints",0x0,00) = 4 (0x4) read(0x4,0xbfbfe420,0x80) = 128 (0x80) lseek(4,0x80,SEEK_SET) = 128 (0x80) read(0x4,0x2806f100,0xdb) = 219 (0xdb) close(4) = 0 (0x0) access("/lib/libkiconv.so.2",0) = 0 (0x0) open("/lib/libkiconv.so.2",0x0,00) = 4 (0x4) fstat(4,0xbfbfe460) = 0 (0x0) read(0x4,0x280688e0,0x1000) = 4096 (0x1000) mmap(0x0,12288,(0x5)PROT_READ|PROT_EXEC,(0x20002)MAP_NOCORE|MAP_PRIVATE,4,0x0) = 671567872 (0x28075000) mprotect(0x28076000,4096,(0x7)PROT_READ|PROT_WRITE|PROT_EXEC) = 0 (0x0) mprotect(0x28076000,4096,(0x5)PROT_READ|PROT_EXEC) = 0 (0x0) mmap(0x28077000,4096,(0x3)PROT_READ|PROT_WRITE,(0x12)MAP_FIXED|MAP_PRIVATE,4,0x1000) = 671576064 (0x28077000) close(4) = 0 (0x0) access("/lib/libc.so.6",0) = 0 (0x0) open("/lib/libc.so.6",0x0,027757762330) = 4 (0x4) fstat(4,0xbfbfe460) = 0 (0x0) read(0x4,0x280688e0,0x1000) = 4096 (0x1000) mmap(0x0,872448,(0x5)PROT_READ|PROT_EXEC,(0x20002)MAP_NOCORE|MAP_PRIVATE,4,0x0) = 671580160 (0x28078000) mprotect(0x28134000,4096,(0x7)PROT_READ|PROT_WRITE|PROT_EXEC) = 0 (0x0) mprotect(0x28134000,4096,(0x5)PROT_READ|PROT_EXEC) = 0 (0x0) mmap(0x28135000,20480,(0x3)PROT_READ|PROT_WRITE,(0x12)MAP_FIXED|MAP_PRIVATE,4,0xbd000) = 672354304 (0x28135000) mmap(0x2813a000,77824,(0x3)PROT_READ|PROT_WRITE,(0x1012)MAP_ANON|MAP_FIXED|MAP_PRIVATE,-1,0x0) = 672374784 (0x2813a000) close(4) = 0 (0x0) sysarch(0xa,0xbfbfe4d0) = 0 (0x0) mmap(0x0,408,(0x3)PROT_READ|PROT_WRITE,(0x1000)MAP_ANON,-1,0x0) = 672452608 (0x2814d000) munmap(0x2814d000,0x198) = 0 (0x0) mmap(0x0,440,(0x3)PROT_READ|PROT_WRITE,(0x1000)MAP_ANON,-1,0x0) = 672452608 (0x2814d000) munmap(0x2814d000,0x1b8) = 0 (0x0) mprotect(0x28078000,774144,(0x7)PROT_READ|PROT_WRITE|PROT_EXEC) = 0 (0x0) mmap(0x0,22312,(0x3)PROT_READ|PROT_WRITE,(0x1000)MAP_ANON,-1,0x0) = 672452608 (0x2814d000) munmap(0x2814d000,0x5728) = 0 (0x0) mprotect(0x28078000,774144,(0x5)PROT_READ|PROT_EXEC) = 0 (0x0) sigprocmask(0x1,0x28068820,0xbfbfe4a0) = 0 (0x0) sigprocmask(0x3,0x28068830,0x0) = 0 (0x0) lstat("/mnt",0xbfbfdf10) = 0 (0x0) stat("/mnt",0xbfbfdfa0) = 0 (0x0) stat("/mnt",0xbfbfe450) = 0 (0x0) mount("msdosfs","/mnt",0,0xbfbfe4b0) = 0 (0x0) exit(0x0) process exit, rval = 0 --------------060302050909050502050009--