From owner-freebsd-questions Tue Sep 17 17:03:09 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id RAA23372 for questions-outgoing; Tue, 17 Sep 1996 17:03:09 -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 RAA23367 for ; Tue, 17 Sep 1996 17:03:08 -0700 (PDT) Received: from ct.picker.com by central.picker.com with smtp (Smail3.1.28.1 #3) id m0v39wH-0004sXC; Tue, 17 Sep 96 19:52 EDT Received: from elmer.ct.picker.com ([144.54.57.34]) by ct.picker.com (4.1/SMI-4.1) id AA02217; Tue, 17 Sep 96 19:50:44 EDT Received: by elmer.ct.picker.com (SMI-8.6/SMI-SVR4) id TAA12086; Tue, 17 Sep 1996 19:44:41 -0400 From: rhh@ct.picker.com (Randall Hopper) Message-Id: <199609172344.TAA12086@elmer.ct.picker.com> Subject: Re: Extended DOS partition To: kil@access.MVC.net (Kirill Ilukhin) Date: Tue, 17 Sep 1996 19:44:41 -0400 (EDT) Cc: questions@freebsd.org In-Reply-To: <199609141900.XAA09823@mpool.MVC.net> from "Kirill Ilukhin" at Sep 14, 96 11:00:09 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 | Could you tell me how to mount extended MS-DOS partition under FreeBSD |2.1.0-RELEASE. The handbook mentions the command-line method for doing this (see: http://www.freebsd.org/handbook/handbook19.html but basically extended DOS partitions are mapped starting at slice 5. So, to mount off the first extended partition of the first drive on the first IDE controller (wd0): mkdir /d mount -t msdos /dev/wd0s5 /d I don't these devices exist by default with a new install, so you might have to make them. As root: cd /dev sh MAKEDEV wd0s5 sh MAKEDEV wd1s5 For SCSI instead of IDE, replace wd with sd. Here are some fstab entries that might help: /dev/wd0s1 /c msdos rw,-m777 0 0 /dev/wd1s1 /d msdos rw,-m777 0 0 /dev/wd0s5 /e msdos rw,-m777 0 0 /dev/wd1s5 /f msdos rw,-m777 0 0 I've never had any trouble with writing to my DOS partitions from FreeBSD, but I understand that some folks have. If this is a concern, mount with the -ro option. For the fstab entries, replace rw with ro and change 777 to 555. Randall Hopper rhh@ct.picker.com