Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Aug 2002 15:46:17 +0200
From:      Siegbert Baude <siegbert.baude@gmx.de>
To:        Peter Leftwich <Hostmaster@Video2Video.Com>
Cc:        "C. A. Daelhousen" <cd9@buffalo.edu>, FreeBSD Questions LIST <FreeBSD-Questions@freebsd.org>
Subject:   Re: mtools vs mount
Message-ID:  <3D6B82A9.3000904@gmx.de>
References:  <20020826220454.P1757-100000@dhcp-402-55.san.rr.com> <20020827075718.A3273@selvirjin.buffalo.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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