NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/10715 (msdosfs LFN problems)



The following reply was made to PR kern/10715; it has been noted by GNATS.

From: Thomas Klausner <wiz%NetBSD.org@localhost>
To: Antti Kantee <pooka%cs.hut.fi@localhost>
Cc: gnats-bugs%NetBSD.org@localhost
Subject: Re: kern/10715 (msdosfs LFN problems)
Date: Sat, 26 Jan 2008 18:14:21 +0100

 On Sat, Jan 26, 2008 at 07:03:46PM +0200, Antti Kantee wrote:
 > What's a SFN/LFN file?  I don't obviously have any on my FAT fs, since
 > I don't get EINVAL from ls.
 
 SFN is a short file name (i.e. 8.3 without any special characters).
 LFN is everything else that fits on FAT32.
 
 > If you're willing to poke around, you should easily be able to track
 > down where the EINVAL is coming from using rump.  Here's how:
 > 
 > 0) get a system with puffs
 > Å?) uncomment the "RUMP_WITHOUT_THREADS" lines from
 >    sys/rump/librump/rump{kern,user}/Makefile both (NetBSD currently
 >    crashes if you gdb a multithreaded program and it's quite hard to
 >    debug anything in a crashed OS ....), rebuild
 > 1) in sys/rump/fs/bin/msdosfs run: ./msdosfs -o dump path_to_fs /mnt
 > 2) observe which operation returns EINVAL
 > 3) insert breakpoint, single-step or otherwise narrow down where exactly
 >    EINVAL is coming from
 > 
 > If you change msdosfs, you need to recompile fs/lib/libmsdosfs AND relink
 > fs/bin/msdosfs (all libs are static).  Good luck ;)
 
 Thanks :) No promises yet :)
  Thomas
 



Home | Main Index | Thread Index | Old Index