From owner-freebsd-questions Sun Sep 3 9: 1:24 2000 Delivered-To: freebsd-questions@freebsd.org Received: from siafu.iconnect.co.ke (upagraha.iconnect.co.ke [209.198.248.2]) by hub.freebsd.org (Postfix) with ESMTP id 007FF37B423 for ; Sun, 3 Sep 2000 09:00:52 -0700 (PDT) Received: from vedette by siafu.iconnect.co.ke with local (Exim 2.12 #1) id 13VcBS-000BY7-00 for freebsd-questions@freebsd.org; Sun, 3 Sep 2000 18:59:50 +0300 Date: Sun, 3 Sep 2000 18:59:50 +0300 From: Odhiambo Washington To: freebsd-questions@freebsd.org Subject: Re: mount a DOS volume in extended partition Message-ID: <20000903185950.D41029@siafu.iconnect.co.ke> Mail-Followup-To: freebsd-questions@freebsd.org References: <5996.000830@crosswinds.net> <20000830184614.A254@parish> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.3i In-Reply-To: <20000830184614.A254@parish>; from Mark Ovens on Wed, Aug 30, 2000 at 06:46:14PM +0100 X-Mailer: Mutt http://www.mutt.org/ X-Accept-Language: en fr X-Editor: Pico http://www.washington.edu/pine X-Location: Mombasa, Kenya, East Africa X-Uptime: 6:58PM up 6 days, 7:48, 2 users, load averages: 0.07, 0.13, 0.08 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Quoting Mark Ovens : [000830 21:21]: Mark Ovens>On Wed, Aug 30, 2000 at 04:15:28PM +0200, Micke Josefsson wrote: Mark Ovens>> Mark Ovens>> On 30-Aug-00 Arseny Slobodjuck wrote: Mark Ovens>> > Mark Ovens>> > Hi, Mark Ovens>> > Mark Ovens>> > How do I mount a DOS volume in extended partition ? In /dev Mark Ovens>> > all the extendeded partition named ad0s2, how can I access Mark Ovens>> > a particular logical disk in it ? Mark Ovens>> > Mark Ovens>> > Mark Ovens>> > Mark Ovens>> > Mark Ovens>> Mark Ovens>> s1-s4 are 'normal' partitions. s5-... are partitions within an extended Mark Ovens>> partition. So I'd guess you will have to do this: Mark Ovens>> Mark Ovens>> cd /dev Mark Ovens>> ./MAKEDEV ad0s5 Mark Ovens>> mount_dos /dev/ad0s5 /mnt Mark Ovens>> Mark Ovens> Mark Ovens>That's it, apart from the typo; it should be ``mount_msdos'' although Mark Ovens> Mark Ovens> mount -t msdos /dev/ad0s5 /mnt Mark Ovens> Mark Ovens>is usually preferred, and of course the best way is to add an entry to Mark Ovens>/etc/fstab: Mark Ovens> Mark Ovens>/dev/ad0s5 /dos msdos rw 0 0 Mark Ovens> Mark Ovens>(add noauto to rw if you don't want it mounted at boot, that's Mark Ovens>``rw,noauto'', no spaces (and no quotes)). In the same token, may I ask if it is possible to mount ntfs file systems in rw mode???? Thanks. -Wash -- Odhiambo Washington Systems Administrator Inter-Connect Ltd. 3rd Flr The Chancery Valley Rd PO Box 39519 Nairobi, KENYA Tel: 254 2 711140 Fax: 254 2 718418 Hard work will never break up with you. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message