From owner-freebsd-questions Sat Aug 30 22:45:04 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id WAA21304 for questions-outgoing; Sat, 30 Aug 1997 22:45:04 -0700 (PDT) Received: from gdi.uoregon.edu (cisco-ts6-line3.uoregon.edu [128.223.150.33]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id WAA21291 for ; Sat, 30 Aug 1997 22:45:00 -0700 (PDT) Received: from localhost (dwhite@localhost) by gdi.uoregon.edu (8.8.5/8.8.5) with SMTP id WAA00867; Sat, 30 Aug 1997 22:44:52 -0700 (PDT) Date: Sat, 30 Aug 1997 22:44:52 -0700 (PDT) From: Doug White X-Sender: dwhite@localhost Reply-To: Doug White To: "Jonathan E. Lyons" cc: questions@FreeBSD.ORG Subject: Re: Mounting Remote Fat & NTFS partions in FreeBSD 2.2.2 In-Reply-To: <34073EF2.500C@midwest.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk 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