From owner-freebsd-questions Thu Jun 27 15:23:37 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id PAA01967 for questions-outgoing; Thu, 27 Jun 1996 15:23:37 -0700 (PDT) Received: from central.picker.com (central.picker.com [144.54.31.2]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id PAA01960 for ; Thu, 27 Jun 1996 15:23:35 -0700 (PDT) Received: from ct.picker.com by central.picker.com with smtp (Smail3.1.28.1 #3) id m0uZPM1-0004sYC; Thu, 27 Jun 96 18:16 EDT Received: from elmer.picker.com ([144.54.57.34]) by ct.picker.com (4.1/SMI-4.1) id AA14732; Thu, 27 Jun 96 18:15:31 EDT Received: by elmer.picker.com (SMI-8.6/SMI-SVR4) id SAA15328; Thu, 27 Jun 1996 18:16:55 -0400 From: rhh@ct.picker.com (Randall Hopper) Message-Id: <199606272216.SAA15328@elmer.picker.com> Subject: Re: How do I access DOS partition from FreeBSD? To: ssriva1@gl.umbc.edu (Sandip Srivastava) Date: Thu, 27 Jun 1996 18:16:54 -0400 (EDT) Cc: questions@freebsd.org In-Reply-To: <199606261758.NAA01905@ds1.gl.umbc.edu> from "Sandip Srivastava" at Jun 26, 96 01:58:39 pm Reply-To: rhh@ct.picker.com Organization: Picker International, CT Division X-Mailer: ELM [version 2.4 PL24 PGP3 *ALPHA*] Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >I want to access my DOS partition from FreeBSD, how do I do it? Try this for accessing primary/extented partitions on the first and second IDE disks. You'll want to tune the drive letter assignments to your particular system. cd / mkdir c d e f cd /dev sh MAKEDEV wd0s5 sh MAKEDEV wd1s5 Add these lines to /etc/fstab: #/dev/wd0s1 /c msdos rw,-m775 0 0 /dev/wd0s1 /c msdos ro,-m555 0 0 /dev/wd1s1 /d msdos ro,-m555 0 0 /dev/wd0s5 /e msdos ro,-m555 0 0 /dev/wd1s5 /f msdos ro,-m555 0 0 Then just reboot and they'll be mounted each time. Note that this mounts them read only. If you prefer read/write access, use the permissions in the first (commented-out) line. For SCSI disks, use sd?s? instead of wd?s?. Randall Hopper rhh@ct.picker.com