download.microsoft.com/download/1/6/1/161ba512-40e2-4cc9-843a-923 143f3456c/fatgen103.doc
<http://download.microsoft.com/download/1/6/1/161ba512-40e2-4cc9-843a-923%20%20143f3456c/fatgen103.doc>
Regards from
Rod Smith
r...@rodericksmith.plus.com
http://www.rodericksmith.plus.com
_
ed. (I hope the attachment gets through; but
Thunderbird is rewrapping it if I insert it inline.)
--
Rod Smith
rodsm...@rodsbooks.com
http://www.rodsbooks.com
diff -Naur parted-3.0/libparted/labels/gpt.c parted-3.0a/libparted/labels/gpt.c
--- parted-3.0/libparted/labels/gpt.c 2011-05-10 11:19:09.000
jdd wrote:
Le 23/06/2011 06:38, Rod Smith a écrit :
At the risk of jumping the gun, I'm attaching a patch to implement my
suggestion in libparted.
did you test it with windows? Because in non GPT disk, Windows never acknoledge
Linux drives, but always ask for formatting.
I ha
On 06/23/2011 02:18 PM, Jim Meyering wrote:
Rod Smith wrote:
Thus, it seems to me that Linux needs its own partition type code GUID
for filesystem partitions on GPT disks, much as it has its own MBR
partition type code for filesystems (0x83 on MBR). I'd like to
implement such a change
On 06/23/2011 02:43 PM, Brian C. Lane wrote:
On Thu, Jun 23, 2011 at 12:38:10AM -0400, Rod Smith wrote:
Hi,
I've recently discovered that when Windows reads a GPT disk with
Linux partitions on it, those partitions are given drive letters and
show up as unformatted. This situation can h
onvenient to
verify this. (You could do this in parted by using various flags, like
the "lvm flag," as a stand-in for a new type code; or you can use my
gdisk, which lets you set a wide variety of type codes, even by entering
a raw GUID value.)
--
Rod Smith
rodsm...@rodsbook
ely rewriting the
way parted handles partition type codes. The latter would be a huge
undertaking, but if the parted Powers That Be choose to use my simpler
earlier patch, that's fine by me.
--
Rod Smith
rodsm...@rodsbooks.com
http://www.rodsbooks.com
diff -Naur parted-3.0/include/parted/di
Linux GPT partitioning tools will be nicely in sync
on this issue as soon as these parted patches make it to a release version.
--
Rod Smith
rodsm...@rodsbooks.com
http://www.rodsbooks.com
>From 33ca05ab37579d32a6488d500776cbc89eb7883d Mon Sep 17 00:00:00 2001
From: Roderick W. Smith
D
On 06/27/2011 04:41 PM, Jim Meyering wrote:
Rod Smith wrote:
I'm attaching another patch that should be applied INSTEAD OF my
earlier patch in order to support a new Linux-only GUID type code.
...
Thanks for the improved patch.
...
Your change is large enough that in order for us to be
, you can do so using GPT fdisk (gdisk;
http://www.rodsbooks.com/gdisk/). Use its "t" option to change the type
code to "8300" (gdisk's internal code for the new GUID). You'll need
version 0.7.2 or later to support the new type code. I don't know
offhand what Fe
er shouldn't be CHANGING GPT attributes, either, and
the last time I checked (a few months ago), libparted had a tendency to
clear all attributes whenever it wrote a new partition table. I haven't
checked this with the 3.0 version, though, so that may have changed.
--
Rod Smith
ro
boot.
- Some motherboards, including many from Intel, won't boot from a GPT
disk unless the MBR contains a partition with the "boot flag" set,
so the BootIndicator byte has to be set in violation of the standard
(or a hybrid MBR must be used) to boot on such disks. Parted follow
commend writing a letter to
them while you play human disc changer. This certainly isn't a parted
issue, although you can use parted to do some of the partition
manipulations, depending on what option you choose to pursue.
--
Rod Smith
rodsm...@rodsbooks.com
http://www.rodsbooks.com
scribe it.
As to the fact that parted crashed on you, the situation could have been
handled better; however, it IS a case of "garbage-in/garbage-out." The
best you could hope for would be for the program to show you the
partitions defined in the main partition table and then to refuse to
make any actual changes.
--
Rod Smith
rodsm...@rodsbooks.com
http://www.rodsbooks.com
the Linux partitions, as it does on MBR
disks. For more information, please review the original thread on this
topic, starting at
http://lists.gnu.org/archive/html/bug-parted/2011-06/msg00026.html.
--
Rod Smith
rodsm...@rodsbooks.com
http://www.rodsbooks.com
except for the test suite, since I don't know
enough about what's in your test suite to try my hand at making the
changes. Please see my patch submitted on 6/28; the post is archived here:
http://lists.gnu.org/archive/html/bug-parted/2011-06/msg00050.html
--
Rod Smith
ro
houldn't be using that command if you want to preserve
your existing partitions.
--
Rod Smith
rodsm...@rodsbooks.com
http://www.rodsbooks.com
ring
from error conditions -- even very trivial errors -- unnecessarily
difficult for users. Throwing more disks into this error condition is
undesirable, IMHO, especially for the case of a HeaderSize value >92,
which as I say, I believe to be legal.
--
Rod Smith
rodsm...@rodsbooks.com
http://www.rodsbooks.com
in the post-92 reserved
field of the GPT header. Thus, all this is very hypothetical at the
moment. Since zpool *DOES* create disks with HeaderSize values of 512,
though, something reasonable MUST be done with them.
--
Rod Smith
rodsm...@rodsbooks.com
http://www.rodsbooks.com
causing one of the test suite scripts
from failing.
I'll wait for your ACK before pushing this.
Sorry for the delay in replying; I've been busy with other things. This
looks fine to me, so feel free to push it out.
--
Rod Smith
rodsm...@rodsbooks.com
http://www.rodsbooks.com
to work you might need to wipe the BIOS boot
code from the MBR and you'll almost certainly have to create an EFI
System Partition (ESP).
--
Rod Smith
rodsm...@rodsbooks.com
http://www.rodsbooks.com
this mailing list thread.
--
Rod Smith
rodsm...@rodsbooks.com
http://www.rodsbooks.com
e library, and some developers
of small emergency disks don't want to include it, so keeping the option
to not use libicu is worthwhile.
Note that some values are invalid even with libicu, so there's a
possibility that you'll run into error conditions, whether using libicu
o
hat's needed is some coordination between
mdadm, parted, fdisk, and gdisk authors to settle on a standard for this.
--
Rod Smith
rodsm...@rodsbooks.com
http://www.rodsbooks.com
partitions that are not cylinder-aligned, with the final
partition ending inside what TestDisk considers the final partial
"cylinder.") I haven't checked lately, but I hope this problem has been
fixed by now. I saw lots of problem reports about this in forums a few
bution-provided package, particularly for a long-term
support distribution like an Ubuntu LTS or a CentOS (vs. a non-LTS
Ubuntu or Fedora).
--
Rod Smith
rodsm...@rodsbooks.com
http://www.rodsbooks.com
ew() the start point of the extended partition and the
required size of the extended partition to hold the logical partition
being created.
Brian's quite right that this code needs more comments; it's clear as mud.
--
Rod Smith
rodsm...@rodsbooks.com
http://www.rodsbooks.com
27 matches
Mail list logo