Hi Lars,

On Fri, Mar 02, 2007 at 11:37:38AM -0500, Lars D. Nood??n wrote:
| How does OpenBSD handle mounting ext2 filesystems?
| What's wrong or missing from the attempt below?
|
|   $ sudo vnconfig svnd0 debian.img
|   $ sudo vnconfig -l
|   vnd0: covering debian.dmg on wd0h, inode 41670
|   vnd1: not in use
|   vnd2: not in use
|   vnd3: not in use
|   $ mkdir debian
|   $ sudo mount -t ext2 /dev/svnd0c debian
|   mount: no mount helper program found for ext2: No such file or directory

How is the debian.img formatted ? Was it originally partitioned ? Note
that the linux partitions (stored in MBR and so on) are different from
the OpenBSD partitions (stored in a disklabel, see the manpage to the
program of the same name).

You might want to check out chapter 9 of the very nice FAQ OpenBSD
has, find it on http://www.openbsd.org/faq/faq9.html .. especially
paragraph 9.5 - Accessing your Linux files from OpenBSD should help.
(this is actually a pointer to 14.16, but you'll see that yourself).

If you need more help, try sending a dmesg, the output of `disklabel
svnd0` and `fdisk svnd0` etc.

On a final note, I think you want -t ext2fs (see mount(8) and
mount_ext2fs(8)).

Cheers,

Paul 'WEiRD' de Weerd

--
>++++++++[<++++++++++>-]<+++++++.>+++[<------>-]<.>+++[<+
+++++++++++>-]<.>++[<------------>-]<+.--------------.[-]
                 http://www.weirdnet.nl/

[demime 1.01d removed an attachment of type application/pgp-signature]

Reply via email to