From owner-freebsd-questions@FreeBSD.ORG Sun Jul 20 15:52:14 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 10DA537B401 for ; Sun, 20 Jul 2003 15:52:14 -0700 (PDT) Received: from phys9911.phys.tue.nl (PHYS9911.phys.tue.nl [131.155.108.67]) by mx1.FreeBSD.org (Postfix) with ESMTP id 164C743F3F for ; Sun, 20 Jul 2003 15:52:13 -0700 (PDT) (envelope-from karelj@phys9911.phys.tue.nl) Received: from phys9911.phys.tue.nl (localhost [127.0.0.1]) by phys9911.phys.tue.nl (8.12.9/8.12.9) with ESMTP id h6KMqTJR086593; Mon, 21 Jul 2003 00:52:29 +0200 (CEST) (envelope-from karelj@phys9911.phys.tue.nl) Received: (from karelj@localhost) by phys9911.phys.tue.nl (8.12.9/8.12.9/Submit) id h6KMqT7o086592; Mon, 21 Jul 2003 00:52:29 +0200 (CEST) Date: Mon, 21 Jul 2003 00:52:29 +0200 From: "Karel J. Bosschaart" To: nmanisca Message-ID: <20030720225229.GA86453@phys9911.phys.tue.nl> References: <3F1CF1F7@zathras> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3F1CF1F7@zathras> User-Agent: Mutt/1.4.1i cc: freebsd-questions Subject: Re: trouble mounting NetBSD file system X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Jul 2003 22:52:14 -0000 On Sun, Jul 20, 2003 at 11:39:43PM +0200, nmanisca wrote: > >===== Original Message From Malcolm Kay > ===== > >On Sun, 20 Jul 2003 12:41, nmanisca wrote: > >> I can't seem to mount one of my two NetBSD file systems. One mounts > fine, > >> the other is not 'seen' by FreeBSD. > >> > >> I have two disks. The first disk has two NetBSD file systems (/ and > /disk) > >> and one swap area. All three live in BIOS partition #4. > >> > >> The second disk has one FreeBSD file system (/) and one swap area. > These > >> live in BIOS partition #1. > >> > >> I boot to FreeBSD-5.1 and the kernel sees my disks as ad0 (my first > disk) > >> and ad1(my second disk). In /dev I see only two ad0* devices, ad0 > and > >> ad0s4. I suppose ad0s4 corresponds to the #4 BIOS parition of my > first > >> disk. I can mount this just fine; it looks like NetBSD's / (NetBSD > calls > >> it wd0a). > > > >Under FreeBSD 4.x the BSD partitions on the first disk would be ad0s4a > and > >ads04e; and if you want the swap partition ad0s4b. > >ad0s4 is actually the address of the entire BIOS partition(slice). > > > >If this is the only slice with a BSD disklabel then ad0a, ad0e and ad0b > > should > >be legitimate alternative names. (All I suspect very similar to NetBSD, > using > >ad in place of wd -- historically it was also wd in FreeBSD) > > I would expect to see these devices in /dev, but they're just not there. > > > >If the devices with a,b and e suffixes don't exist you may need to make > them > >using /dev/MAKEDEV. > > > >FreeBSD 5.x may be a little different (and outside my ken) but the > clues > >should be in the above. > > I think devfs is supposed to make the device nodes itself. The man page > for > MAKEDEV says it's been deprecated. Time for me to learn more about > devfs. I had the same problem recently with -current and an OpenBSD disk. devfs would not make the necessary device node so I'm stuck. Works fine in -stable however after making the node. > I'm reverting to 4.8 now to see if the device shows up. > I expect that it works in 4.8. Karel.