From owner-freebsd-questions Sat Feb 19 17:38:17 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mx2.x-treme.gr (mx2.x-treme.gr [212.120.192.15]) by hub.freebsd.org (Postfix) with ESMTP id 3F87637BD32 for ; Sat, 19 Feb 2000 17:38:04 -0800 (PST) (envelope-from keramida@diogenis.ceid.upatras.gr) Received: from hades.hell.gr (pat47.x-treme.gr [212.120.197.239]) by mx2.x-treme.gr (8.9.3/8.9.3/IPNG-ADV-ANTISPAM-0.1) with SMTP id DAA32062 for ; Sun, 20 Feb 2000 03:37:33 +0200 Received: (qmail 704 invoked by uid 1001); 19 Feb 2000 14:17:00 -0000 Date: Sat, 19 Feb 2000 16:17:00 +0200 From: Giorgos Keramidas To: Ivan Fetch Cc: freebsd-questions@freebsd.org Subject: Re: Mounting a FreeBSD partition under Linux 2.2.13 Message-ID: <20000219161700.A364@hades.hell.gr> Reply-To: keramida@ceid.upatras.gr References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: ; from ivanfetch@technologist.com on Fri, Feb 18, 2000 at 02:07:40PM -0700 X-PGP-Fingerprint: 62 45 D1 C9 26 F9 95 06 D6 21 2A C8 8C 16 C0 8E X-Phone-Number: +30-94-6203692, +30-93-2886457 X-Address: Theodorou Kirinaiou 61, 26334 Patra, Greece Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, Feb 18, 2000 at 02:07:40PM -0700, Ivan Fetch wrote: > > It is necessary for me to mount a FreeBSD partition (wd1) under Linux > (2.2.13 kernel) - I have loaded the ufs filesystem module, done: > mount /dev/hdbX -t ufs /mnt > > Where x is various numbers from 1-4, with no success. Mount acts like > it mounted something, but /mnt is totally empty. > > How would I go about mounting, say, wd1s1c under /mnt? The /dev/hdb[1-4] devices in Linux are the BSD "slices". To get to the labels, such as wd1s1c, you have to use a different device node. The disklabels in Linux are presented as "logical partitions", i.e. their names start with /dev/hdb5, etc. Assuming that wd1 is the only disk with a FreeBSD slice on it, which contains a label with a single "partition", the wd1s1c device, you can find the proper BSD partition (not slice, mind you) at /dev/hda5. So, you should be able to mount it with: % mount -t ufs /dev/hda5 /mnt -- Giorgos Keramidas, < keramida @ ceid . upatras . gr > For my public PGP key: finger keramida@diogenis.ceid.upatras.gr PGP fingerprint, phone and address in the headers of this message. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message