NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: mounting external ext2 partitions

On Sun, 15 Jun 2008 21:30:48 -0400
Taylor R Campbell <> wrote:

>    Date: Sun, 15 Jun 2008 09:29:40 -0400
>    From: "Steven M. Bellovin" <>
>    It would be good to see the output of the NetBSD disklabel and
> fdisk commands.
> Attached.
>    Anyway -- you can do what you want, but it may be a bit annoying.
> You have to set up the NetBSD disklabel partitions to point to each
> of the ext2 slices; for that, you need the start point and length of
> each fdisk partition in 512-byte sectors.  That information seems to
> be in your disktype output, so it shouldn't be too hard to set up
> using disklabel.
> Is there any way to do this without writing to the disk?  I'd like to
> be able just to read from it without modifying any of its contents.

I don't know.  Looking at the mbrlabel man page, perhaps you could
change just the in-core label.  I'll defer to others on that.

                --Steve Bellovin,

Home | Main Index | Thread Index | Old Index