Return to BSD News archive
Path: sserve!newshost.anu.edu.au!munnari.oz.au!spool.mu.edu!howland.reston.ans.net!europa.eng.gtefsd.com!newsxfer.itd.umich.edu!nntp.cs.ubc.ca!unixg.ubc.ca!news.mic.ucla.edu!ux1.lmu.edu!s069.infonet.net!s069.infonet.net!not-for-mail From: burgess@s069.infonet.net (Dave Burgess) Newsgroups: comp.os.386bsd.questions Subject: Re: I can't mount DOS (on sd0) from my BSD sd1 disk! Date: 8 Jun 1994 06:39:23 -0500 Organization: Dave's House in Omaha Lines: 33 Message-ID: <2t4alb$41d@s069.infonet.net> References: <mldCr0qAD.1G1@netcom.com> <2t3lno$i8p@gaia.ucs.orst.edu> NNTP-Posting-Host: s069.infonet.net In article <2t3lno$i8p@gaia.ucs.orst.edu>, James Miller <millerj@sulaco.OES.ORST.EDU> wrote: >I did the same thing you are trying. I added the dos partition in my >/etc/fstab so that it would mount on boot. Here are my fstab entries. > >/dev/sd0a / ufs rw 0 1 >/dev/sd1a /tmp ufs rw 0 3 >/dev/sd1d /usr ufs rw 0 2 >/dev/sd1b swap swap rw 0 0 >/dev/sd0d /dos msdos rw 0 4 > >Hope that helps. The trick wasn't that you put it in your fstab. It was that you specified the semantics of the mount correctly. In SysV, when you want to talk to the entire, unlabeled drive, you can use /dev/sd0. This is equivalent to our /dev/sd0d or /dev/sd0c (depending on whether you want to talk to the entire (unlabelled) drive, or the the BSD portion only). In the original example, the mount was "mount -t msdos /dev/sd0 /c" or something similar. While this is logically correct, the correct syntax would be "/dev/sd0d" instead of "/dev/sd0". It should be possible to link sd0 and sd0d together in the /dev directory, but the traditional way for us to do this is simply specify the unlabeled (sd0d) partition. -- TSgt Dave Burgess | Dave Burgess NCOIC, USSTRATCOM/J6844 | *BSD FAQ Maintainer Offutt AFB, NE | Burgess@cynjut.infonet.net or ...@s069.infonet...