From owner-freebsd-questions Tue Nov 5 19:35:26 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 30FF837B401 for ; Tue, 5 Nov 2002 19:35:25 -0800 (PST) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 988C943E42 for ; Tue, 5 Nov 2002 19:35:24 -0800 (PST) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.12.6/8.12.6) id gA63ZJZl049136; Tue, 5 Nov 2002 21:35:19 -0600 (CST) (envelope-from dan) Date: Tue, 5 Nov 2002 21:35:19 -0600 From: Dan Nelson To: Zhihui Zhang Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Using msdos floppy on FreeBSD Message-ID: <20021106033518.GC1208@dan.emsphone.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-OS: FreeBSD 5.0-CURRENT X-message-flag: Outlook Error User-Agent: Mutt/1.5.1i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In the last episode (Nov 05), Zhihui Zhang said: > I have two FAT floppy that I used to transfer files between FreeBSD > and Windows. One can show longer file names, the one cannot. What > format command (on FreeBSD or Windows) does this trick (i.e. choose > FAT32)? I want to reformat the floppy that does not show longer than > eight names. Thanks. If a floppy has only short names, mount_msdos assumes it's a DOS floppy and will not generate long names when you create files on it. You can force it by mounting the floppy with the -l option, or you can put a long filename on the floppy with a Windows machine, which should cause BSD to use long filenames the next that floppy is mounted. You don't need to reformat. -- Dan Nelson dnelson@allantgroup.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message