From owner-freebsd-questions Tue Aug 27 14: 2:33 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 7D0FA37B400 for ; Tue, 27 Aug 2002 14:02:30 -0700 (PDT) Received: from smtp2.acsu.buffalo.edu (smtp2.acsu.buffalo.edu [128.205.6.85]) by mx1.FreeBSD.org (Postfix) with SMTP id B9E3143E3B for ; Tue, 27 Aug 2002 14:02:29 -0700 (PDT) (envelope-from cd9@buffalo.edu) Received: (qmail 23849 invoked from network); 27 Aug 2002 21:02:28 -0000 Received: from ubppp234-142.dialin.buffalo.edu (HELO selvirjin.buffalo.edu) (128.205.234.142) by smtp2.acsu.buffalo.edu with SMTP; 27 Aug 2002 21:02:28 -0000 Received: from dragon by selvirjin.buffalo.edu with local (Exim 3.36 #1) id 17jnTB-00011m-00; Tue, 27 Aug 2002 17:01:49 -0400 Date: Tue, 27 Aug 2002 17:01:49 -0400 From: "C. A. Daelhousen" To: Siegbert Baude Cc: FreeBSD Questions LIST Subject: Re: mtools vs mount Message-ID: <20020827170149.C3712@selvirjin.buffalo.edu> Mail-Followup-To: Siegbert Baude , FreeBSD Questions LIST References: <20020826220454.P1757-100000@dhcp-402-55.san.rr.com> <20020827075718.A3273@selvirjin.buffalo.edu> <3D6B82A9.3000904@gmx.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3D6B82A9.3000904@gmx.de>; from siegbert.baude@gmx.de on Tue, Aug 27, 2002 at 03:46:17PM +0200 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 On Tue, Aug 27, 2002 at 03:46:17PM +0200, Siegbert Baude wrote: > 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: > [snip] Yes, everyone running FreeBSD has that manpage--without its formatting destroyed by cut'n'paste. > > And this works: > Obviously it didn't work for the original poster, or they wouldn't have posted the question. Note that on a *blank* floppy, no long names are found, so short names are assumed. So if the archive is put on a blank floppy mounted short-name in the first place, then no amount of "mount -l"ing later will recreate the long names. I don't have any bare DOS machines, so I don't ever use short names; therefore, the longnames option in /etc/fstab is more convenient and useful. (And it's not in with the -l/-s options in the manpage.) If you didn't have anything useful to say to me, don't reply to me. Go back up the thread for that. -- ..: Chad Daelhousen == cd9@buffalo.edu :.........: sig v3.1 :... : Programming for 10 +/- 2 years (50 +/- 10% of a lifetime) : :.............Perl will be the first to implement mind reading.: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message