*BSD News Article 71026


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!spool.mu.edu!sgigate.sgi.com!news-res.gsl.net!news.gsl.net!nntp.coast.net!news.kei.com!news.mathworks.com!newscaster-1.mcast.net!informatik.uni-bremen.de!cs.tu-berlin.de!uni-erlangen.de!news.tu-chemnitz.de!irz401!orion.sax.de!uriah.heep!news
From: j@uriah.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: mounting another drve
Date: 15 Jun 1996 18:43:13 GMT
Organization: Private BSD site, Dresden
Lines: 26
Message-ID: <4pv081$84e@uriah.heep.sax.de>
References: <31BFD6A0.6BA9@dslab.com>
Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch)
NNTP-Posting-Host: localhost.heep.sax.de
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Newsreader: knews 0.9.6
X-Phone: +49-351-2012 669
X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F  93 21 E0 7D F9 12 D6 4E

Ian Wilkinson <ian@dslab.com> wrote:

> I have another in my machine that I want to mount. I have 
> created the partions, but it is not allowing me to mount it 
> at my mount point. any help?

You have created the slices (which is not even a necessary step if the
drive is all-FreeBSD), but not the partitions (which is always
required).  In order to do this, you have to disklabel it.  You need
to setup a disktab entry first.  The most important value there is the
total number of sectors in your slice.  (The cylinder/head/ sector
numbers must also be there, but their actual values are largely
irrelevant if you supply the su# capability for the total number of
sectors.)

Once the partitions are there, you still need to newfs them before
you can mount a file system on them.

See also James Raynard's execellent explanation in this group.

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)