From: "Heinz J. Mauelshagen" <Mauelshagen@sistina.com>
To: linux-lvm@sistina.com
Subject: Re: [linux-lvm] Symbol not found when pvcreating...
Date: Mon, 28 May 2001 16:07:49 +0000 [thread overview]
Message-ID: <20010528160749.A21043@sistina.com> (raw)
In-Reply-To: <3B1234CC.CC273F94@in.tum.de>; from vidalrod@informatik.tu-muenchen.de on Mon, May 28, 2001 at 01:21:48PM +0200
On Mon, May 28, 2001 at 01:21:48PM +0200, David Vidal Rodriguez wrote:
> >
> > > Another --developer-- question:
> > > I've looked at the LVM code and a structure called partition, #include'd
> > > from <linux/genhd.h>, which contains the relevant information of a
> > > partition. What I don't understand is how to get this information from
> > > the kernel/drive (syscall, ioctl???). I'd be glad if somebody explained
> > > that to me briefly.
> >
> > That's just needed for the generic disk interface.
> > It doesn't make any sense to create a partition table on a logical volume.
>
> What I meant is how to get the partition data, such as partition id, start, end,
> etc., from a _real_ partition (you have get it in order to know if we are
> initializing a PV on a partition marked as 0x8E). That sounds a bit off-topic, I
> know...
Well, you can get it with my example; excluding the partition
type identifier :-(
TTBOMK you can use the e2fsprogs library to get that as well.
>
> Cheers,
> --
> ------------------------------------------------------------------------
> David Vidal R. (vidalrod <at> in DOT tum DOT de)
> http://dvr.ismad.com
> "Ein Computer ohne Windows ist wie ein Fisch ohne Fahrrad."
>
>
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html
--
Regards,
Heinz -- The LVM Guy --
*** Software bugs are stupid.
Nevertheless it needs not so stupid people to solve them ***
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Heinz Mauelshagen Sistina Software Inc.
Senior Consultant/Developer Am Sonnenhang 11
56242 Marienrachdorf
Germany
Mauelshagen@Sistina.com +49 2626 141200
FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
prev parent reply other threads:[~2001-05-28 16:07 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-05-25 15:38 [linux-lvm] Symbol not found when pvcreating David Vidal Rodriguez
2001-05-28 11:38 ` Heinz J. Mauelshagen
2001-05-28 11:21 ` David Vidal Rodriguez
2001-05-28 16:07 ` Heinz J. Mauelshagen [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20010528160749.A21043@sistina.com \
--to=mauelshagen@sistina.com \
--cc=linux-lvm@sistina.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.