All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Vladimir 'φ-coder/phcoder' Serbinenko" <phcoder@gmail.com>
To: grub-devel@gnu.org
Subject: Re: Are BSD partitions not supported?
Date: Tue, 01 Jun 2010 13:21:04 +0200	[thread overview]
Message-ID: <4C04ED20.7070203@gmail.com> (raw)
In-Reply-To: <4C04E245.1040607@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1603 bytes --]

On 06/01/2010 12:34 PM, Grégoire Sutre wrote:
>
> if   disk->partition is not NULL                /* embedded partition */
>      and
>      disk->partition's partmap is msdos
>      and
>      disk->partition's msdos partition type is NetBSD or OpenBSD
> then
>      interpret BSD label offsets as absolute    /* (a) */
> else
>      interpret BSD label offsets as relative    /* (b) */
For FreeBSD we have to investigate 'c' partition to determine delta.
> fi
>
> In short, the normal interpretation of BSD label offsets would be the
> relative one (b), and we would make an exception to handle NetBSD and
> OpenBSD (a).
The bottom line is: bsdlabel is broken concept. Unless support of
$config is required I would omit it to disencourage further propagation
of broken concepts.
>
> Now, when BSD label offsets are detected absolute (a), should we
> consider them as absolute:
> - w.r.t. to the start of the disk (as is done in the code right now),
>   or
> - w.r.t to the location of the msdos partmap?
> I prefer the second option since it is compatible with dd-ing an entire
> disk into an msdos partition.  Maybe the loopback feature also requires
> the second option (I don't know the internals).
>
Second one is cleaner. But perhaps it's pointless to support such config
since no BSD will be able to bootstrap from such a config
> Grégoire
>
> _______________________________________________
> Grub-devel mailing list
> Grub-devel@gnu.org
> http://lists.gnu.org/mailman/listinfo/grub-devel
>


-- 
Regards
Vladimir 'φ-coder/phcoder' Serbinenko



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 294 bytes --]

  reply	other threads:[~2010-06-01 11:21 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-16 16:24 Are BSD partitions not supported? C. P. Ghost
2010-05-18 18:08 ` C. P. Ghost
2010-05-18 18:37   ` Vladimir 'φ-coder/phcoder' Serbinenko
2010-05-18 19:33     ` C. P. Ghost
2010-05-18 20:20       ` Vladimir 'φ-coder/phcoder' Serbinenko
2010-05-18 22:06         ` C. P. Ghost
2010-05-19 17:49           ` C. P. Ghost
2010-05-19 18:00             ` Vladimir 'φ-coder/phcoder' Serbinenko
2010-05-19 18:33               ` C. P. Ghost
2010-05-19 18:40                 ` C. P. Ghost
2010-05-19 18:50                   ` Vladimir 'φ-coder/phcoder' Serbinenko
2010-05-19 18:54                     ` Navdeep Parhar
2010-05-19 19:20                       ` C. P. Ghost
2010-05-19 19:12                     ` C. P. Ghost
2010-05-19 19:20                       ` Vladimir 'φ-coder/phcoder' Serbinenko
2010-05-19 19:41                         ` C. P. Ghost
2010-05-20 16:19                           ` C. P. Ghost
2010-05-23  9:50                         ` Grégoire Sutre
2010-05-23 15:44                           ` C. P. Ghost
2010-05-24  0:56                             ` Grégoire Sutre
2010-05-24 16:50                               ` C. P. Ghost
2010-05-31 21:16                           ` Vladimir 'φ-coder/phcoder' Serbinenko
2010-06-01 10:34                             ` Grégoire Sutre
2010-06-01 11:21                               ` Vladimir 'φ-coder/phcoder' Serbinenko [this message]
2010-06-06 17:05                                 ` Grégoire Sutre
2010-05-19 18:48                 ` Vladimir 'φ-coder/phcoder' Serbinenko
2010-05-18 22:20         ` Vladimir 'φ-coder/phcoder' Serbinenko

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=4C04ED20.7070203@gmail.com \
    --to=phcoder@gmail.com \
    --cc=grub-devel@gnu.org \
    /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.