From owner-freebsd-questions Wed Feb 17 0:55:38 1999 Delivered-To: freebsd-questions@freebsd.org Received: from post.mail.demon.net (finch-post-10.mail.demon.net [194.217.242.38]) by hub.freebsd.org (Postfix) with ESMTP id E500810F60 for ; Wed, 17 Feb 1999 00:55:27 -0800 (PST) (envelope-from marko@uk.radan.com) Received: from [158.152.75.22] (helo=uk.radan.com) by post.mail.demon.net with smtp (Exim 2.12 #1) id 10D2lR-0005nV-00; Wed, 17 Feb 1999 08:55:25 +0000 Organisation: Radan Computational Ltd., Bath, UK. Phone: +44-1225-320320 Fax: +44-1225-320311 Received: from beavis.uk.radan.com (beavis [193.114.228.122]) by uk.radan.com (8.6.10/8.6.10) with SMTP id IAA01894; Wed, 17 Feb 1999 08:54:54 GMT Received: from uk.radan.com (gppsun4) by beavis.uk.radan.com (4.1/SMI-4.1) id AA02288; Wed, 17 Feb 99 08:54:54 GMT Message-Id: <36CA83D6.9B6FD39C@uk.radan.com> Date: Wed, 17 Feb 1999 08:54:47 +0000 From: Mark Ovens Organization: Radan Computational Ltd X-Mailer: Mozilla 4.5 [en] (X11; I; SunOS 4.1.3_U1 sun4m) X-Accept-Language: en-GB Mime-Version: 1.0 To: Michael Cugley Cc: questions@freebsd.org Subject: Re: Accessing MSDOS partitions References: <3.0.5.32.19990216103911.007bde50@mail.virgin.net> <3.0.5.32.19990217080917.00800910@mail.virgin.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Michael Cugley wrote: > > At 11:14 AM 2/16/99 +0000, you wrote: > >Michael Cugley wrote: > >Are E: and F: primary partitions or logical drives in an extended > >partition? If they are in an extended partition then the numbering > >starts at 5, i.e. E: will be wd1s5 and F: wd1s6, else if they are > >primary partitions they will be wd1s1 and wd1s2 (change ``wd'' to > >``sd'' if it is a SCSI disk). > > Um, I have no idea what either of those are. How would I tell which I > have? What are the differences between them? > Basically logical drives/extended partitions are a kludge. You can only have a maximum of 4 partitions per disk on a PC and in DOS/Windows only one partition can be active, i.e. if you split a disk into 3 partitions (C:, D:, and E:), all primary, and boot DOS from C: you will not be able to 'see' D: and E:. However, if you make a primary partition (C:) and the rest of the disk an extended partition, create D: and E: as logical drives (effectively 'virtual partitions') in the extended partition then DOS can see them. > I do know that when I try and mount wd1s1 and wd1s2, mount_msdos gives me > an error along the lines of "invalid argument". This suggests that either /dev/wd1s1 and /dev/wd1s2 don't exist and/or the mountpoint(s) you specified don't exist. > I didn't have a wd1s5 or > wd1s6, so I MAKEDEV'ed them, and tried to mount them, at which point I was > told "device not configured". > This looks like D: and E: _aren't_ in an extended partition. 'Device not configured' means that the physical device doesn't exist (this is not the same as the device node, /dev/wdxxxx, not existing). You get the same error if you try to mount a CD with no disk in the drive. Try ``mount -t msdos /dev/wd1s1 /mnt'', making sure that both /dev/wd1s1 and /mnt exist. What is the device name of the partition that FreeBSD is installed on (e.g. wd2s1 etc)?. This is will clarify the order that FreeBSD numbers multiple disks as I'm not sure. > -- > Mike Cugley, lunatic at large > > http://freespace.virgin.net/michael.cugley/ > http://freespace.virgin.net/michael.cugley/Art/ > Mike's Doom Quake - http://www.crosswinds.net/dundee/~korvar/ -- FreeBSD - The Power To Serve http://www.freebsd.org My Webpage http://www.users.globalnet.co.uk/~markov _______________________________________________________________ Mark Ovens, CNC Apps Engineer, Radan Computational Ltd. Bath UK CAD/CAM solutions for Sheetmetal Working Industry mailto:marko@uk.radan.com http://www.radan.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message