From: Heinz Mauelshagen <mauelsha@ez-darmstadt.telekom.de>
To: rmurray@cyberhqz.com
Cc: mge@ts1.ez-darmstadt.telekom.de, linux-lvm@msede.com
Subject: Re: [linux-lvm] bug in liblvm 0.7 [added on 11/15/1998]
Date: Mon, 02 Aug 1999 11:57:11 METDST [thread overview]
Message-ID: <199908020957.AA21641@mailgate1b.telekom.de> (raw)
In-Reply-To: <19990731135859.C30729@cyberhqz.com>; from "Ryan Murray" at Jul 31, 99 1:58 pm
Hello Ryan,
the simple idea behind this was to avoid not neccessary accesses in case of
a regular /dev layout (no trouble in case of devfs anyway).
If we put to much effort into holding up this concept i'ld rather say
"let's throw it away and open all existing device special nodes in turn".
Any opinions?
>
> The following bit of code tries to "skip" partitions if the main drive
> doesn't exist:
>
> pv_read_all_pv.c:102
>
> for ( n = 0; n < cache_size; n++) {
> dev_name = dir_cache[n].dev_name;
> #ifdef DEBUG
> debug ( "pv_read_all_pv -- calling pv_read with \"%s\"\n",
> dev_name);
>
> if ( ( tst = open ( dev_name, O_RDONLY)) == -1) {
> if ( MAJOR ( dir_cache[n].st_rdev) != MD_MAJOR &&
> MINOR ( dir_cache[n].st_rdev) % 16 == 0) {
> n += 15;
> continue;
> }
> } else close ( tst);
>
> this will work for SCSI disks (assuming all partition devices exist),
> but fails for IDE disks. IDE disks can have up to 63 partitions, and a
> quick survey shows debian potato creating devices for the first 20, and
> slackware 4.0 creating devices for the first 16.
>
<SNIP>
Regards,
Heinz
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Systemmanagement CS-TS T-Nova
Entwicklungszentrum Darmstadt
Heinz Mauelshagen Otto-Roehm-Strasse 71c
Senior Systems Engineer Postfach 10 05 41
64205 Darmstadt
mge@ez-darmstadt.telekom.de Germany
+49 6151 886-425
FAX-386
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
next prev parent reply other threads:[~1999-08-02 9:57 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-07-31 20:58 [linux-lvm] bug in liblvm 0.7 [added on 11/15/1998] Ryan Murray
1999-08-02 9:57 ` Heinz Mauelshagen [this message]
1999-08-11 5:59 ` Ryan Murray
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=199908020957.AA21641@mailgate1b.telekom.de \
--to=mauelsha@ez-darmstadt.telekom.de \
--cc=linux-lvm@msede.com \
--cc=mge@ts1.ez-darmstadt.telekom.de \
--cc=rmurray@cyberhqz.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.