From owner-freebsd-questions Tue Aug 27 6:46:32 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 F0EB537B400 for ; Tue, 27 Aug 2002 06:46:26 -0700 (PDT) Received: from mail.rz.uni-ulm.de (gemini.rz.uni-ulm.de [134.60.246.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8DE5E43E65 for ; Tue, 27 Aug 2002 06:46:25 -0700 (PDT) (envelope-from siegbert.baude@gmx.de) Received: from gmx.de (lilith.wh-wurm.uni-ulm.de [134.60.106.64]) by mail.rz.uni-ulm.de (8.12.5/8.12.5) with ESMTP id g7RDkGaY013237 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NOT); Tue, 27 Aug 2002 15:46:16 +0200 (MEST) Message-ID: <3D6B82A9.3000904@gmx.de> Date: Tue, 27 Aug 2002 15:46:17 +0200 From: Siegbert Baude User-Agent: Mozilla/5.0 (X11; U; Linux i386; de-AT; rv:1.0.0) Gecko/20020529 X-Accept-Language: de, en MIME-Version: 1.0 To: Peter Leftwich Cc: "C. A. Daelhousen" , FreeBSD Questions LIST Subject: Re: mtools vs mount References: <20020826220454.P1757-100000@dhcp-402-55.san.rr.com> <20020827075718.A3273@selvirjin.buffalo.edu> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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 Hi, >>2. Why doesn't `mount -t msdos /dev/fd0 /floppy` support long filenames so >>I can just work directly with the diskette? (e.g. I want to tar and gzip all >>the files on my floppy but first must mcopy them all to a temporary >>directory *then* tar and gzip the local copies unless you have a better way) > in /etc/fstab: > /dev/fd0 /floppy msdos rw,noauto,longnames 0 0 man mount_msdos snippet: -s Force behaviour to ignore and not generate Win'95 long filenames. -l Force listing and generation of Win'95 long filenames and sepa? rate creation/modification/access dates. If neither -s nor -l are given, mount_msdos searches the root directory of the filesystem 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. And this works: su-2.05a# mount_msdos /dev/fd0 /mnt/ su-2.05a# ls /mnt/ longfilename.text* su-2.05a# mdir a: Volume in drive A has no label Volume Serial Number is 3B8E-FE09 Directory for A:/ LONGFI~1 TEX 5 08-27-2002 15:12 longfilename.text 1 file 5 bytes 1 457 152 bytes free su-2.05a# Ciao Siegbert To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message