Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Oct 2007 20:05:03 +0200
From:      Alson van der Meulen <alson+ml@alm.flutnet.org>
To:        freebsd-stable@freebsd.org
Subject:   Re: usb stick problem
Message-ID:  <20071014180503.GA3065@waalsdorp.nl>
In-Reply-To: <20071014064844.GA1067@faust.net>
References:  <20071014064844.GA1067@faust.net>

next in thread | previous in thread | raw e-mail | index | archive | help
* Zoran Kolic <zkolic@sbb.co.yu> [2007-10-14 08:48]:
> I encountered something minor to usual problems,
> people have on this list, but it makes me nervous.
> I bought brand new usb flash stick and used it to
> solve the issue on handheld. After putting files
> on it, I have them in format 8.3. The option to
> mount -t was msdosfs. It should bring me long file
> names, but it does not. Mu stupid question would
> be: did I chose wrong file system? Or is this usb
> drive preformatted in something strange like fat16?

This sounds like the documented behavior if the drive was empty or had
no long filenames when you mounted it. From mount_msdosfs(8):
"If neither -s nor -l are given, mount_msdosfs searches the root
directory of the file system to be mounted for any existing
Win'95 long filenames.  If no such entries are found, but short
DOS filenames are found, -s is the default.  Otherwise -l is
assumed."

-o longnames should do the trick.

Alson



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071014180503.GA3065>