Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Aug 1997 22:44:52 -0700 (PDT)
From:      Doug White <dwhite@gdi.uoregon.edu>
To:        "Jonathan E. Lyons" <parrothd@midwest.net>
Cc:        questions@FreeBSD.ORG
Subject:   Re: Mounting Remote Fat & NTFS partions in FreeBSD 2.2.2
Message-ID:  <Pine.BSF.3.96.970830224129.664R-100000@localhost>
In-Reply-To: <34073EF2.500C@midwest.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 29 Aug 1997, Jonathan E. Lyons wrote:

> Is it possible to mount a remote Fat/NTFS partion in Freebsd 2.2.2?
> I've used samba to map BSD partions to my Win95/NT machines, but I'm
> wondering can samba map a remote Fat/NTFS volume under say /usr/home/?

NTFS partitions are not supported.

You can mount FAT (FAT16) partitions, though, by specifying the option '-t
msdos' to the mount command.  For instance:

mount -t msdos /dev/wd0s1 /mnt

will bring on a DOS partition on the first IDE disk onto /mnt.  The slice
number may vary by disks.  Note you can also mount extended partitions by
using slice numbers >4.  The first logical disk would be /dev/wd0s5 in the
above example.

The man page mount_msdos(8) gives a warning which must be heeded to
prevent filesystem damage:

     If you see the warning:

     mountmsdosfs(): Warning: root directory is not a multiple of the
     clustersize in length

     then it is possible that writing to the MS-DOS filesystem would
produce corruption on the disk. This is a shortcoming in the code which
needs to be addressed. 

If you see this warning umount the disk immediately and do not attempt to
mount it again.

Doug White                              | University of Oregon  
Internet:  dwhite@resnet.uoregon.edu    | Residence Networking Assistant
http://gladstone.uoregon.edu/~dwhite    | Computer Science Major
Spam routed to /dev/null by Procmail    | Death to Cyberpromo




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.970830224129.664R-100000>