From owner-freebsd-questions Fri May 7 0:40:29 1999 Delivered-To: freebsd-questions@freebsd.org Received: from finch-post-12.mail.demon.net (finch-post-12.mail.demon.net [194.217.242.41]) by hub.freebsd.org (Postfix) with ESMTP id C1B3D14F53 for ; Fri, 7 May 1999 00:40:23 -0700 (PDT) (envelope-from marko@uk.radan.com) Received: from [158.152.75.22] (helo=uk.radan.com) by finch-post-12.mail.demon.net with smtp (Exim 2.12 #1) id 10ffF5-000M7A-0C; Fri, 7 May 1999 07:40:20 +0000 Organisation: Radan Computational Ltd., Bath, UK. Phone: +44-1225-320320 Fax: +44-1225-320311 Received: from support-3.uk.radan.com (support-3 [193.114.228.220]) by uk.radan.com (8.6.10/8.6.10) with ESMTP id IAA00565; Fri, 7 May 1999 08:39:49 +0100 Received: from uk.radan.com by support-3.uk.radan.com (SMI-8.6/SMI-SVR4) id IAA02764; Fri, 7 May 1999 08:39:47 +0100 Message-ID: <3732987F.2429F48F@uk.radan.com> Date: Fri, 07 May 1999 08:38:39 +0100 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: media@mail1.nai.net Cc: freebsd-questions@freebsd.org, charon@freethought.org Subject: Re: mounting primary DOS partition References: <37313E88.6E5636B@uk.radan.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG media@mail1.nai.net wrote: > > At 1:21 PM -0700 5/6/99, charon@freethought.org wrote: > >At 08:02 AM 5/6/99 +0100, Mark Ovens wrote: > >>media@mail1.nai.net wrote: > >>> > >>> At 10:57 PM -0700 5/2/99, charon@freethought.org wrote: > >>> >>Since I have 3.1-RELEASE more or less up and running, which command will > >>> >>prove I can access my DOS partition from FreeBSD?? > >>> > > >>> >cd /mnt > >>> >mkdir DOS > >>> >mount -t msdos /dev/wd0s1 DOS > >>> >cd DOS > >>> > >>> I tried that. When I typed "mkdir DOS" it said "Permission Denied," so I > >>> looged back on as root. After that, when I typed in "mount -t msdos > >>> /dev/wd0s1 DOS" it responded: > >>> > >>> msdos: /dev/wd0s1: Device busy > >>> > >> > >>That sounds like it's already mounted. > >> > >>Also I thought you had to absolute path the mountpoint (not 100% sure > >>about this though): > >> > >>mount -t msdos /dev/wd0s1 /mnt/DOS > > Apparently I mounted it when I installed FreeBSD. > > >No, the path doesn't have to be absolute (works the same way as other > >commands - that's why I put in 'cd /mnt'). > > > >The drive is mounted, though. Do a 'df' to see the drives already mounted. > > For example, when I type 'df' I see '/' as being device '/dev/wd0s3a' > >which is what I'd expect, since I have FreeBSD installed on the third > >partition on my drive. If I then type 'mount /dev/wd0s3a whatever', it > >gives me a 'Device busy' error because root is already mounted. > > Thanx!! The df command showed that dev/wd0s1 is mounted on /1, so that's > where the mount point I chose during install went :) > > I tried: > mv -i 1 DOS > > and got: > mv: cannot rename a mount point > You can if you umount it first: umount /mnt/DOS mount point dirs are just regular directoreis until they have something mounted on them. This sounds like it is being mounted at boot. If you rename /mnt/1 you will probably get an error next time you boot. You'll need to edit /etc/fstab to change the mountpoint from /mnt/1 to /mnt/DOS. If you don't want it mounted automatically mounted at boot then add ``noauto'' to the ``rw'' option in /etc/fstab (note there are no spaces before or after the comma): /dev/wd0s1 /mnt/DOS msdos rw,noauto 0 0 HTH > Even thought there are man pages for rename, trying to use rename says > "Command not found." So I'm stuck calling it /1 for now. > There's no such command as rename in Unix, you were correct with mv. > Anyway, I still can't seem to install X11R6 or the src files from my DOS > partition. When I stand/install from root and go to load them I get: > > "Error mounting /dev/wd0s1 on /dist: device busy (16)" > > I tried to rtfm before I started this, but the sections on IDE and Slices > in the handbook are unavailable (note the asterisks) in the FreeBSD > handbook on the web, and I couldn't find anything in the FAQ. Any ideas?? > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- 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