<feed xmlns='http://www.w3.org/2005/Atom'>
<title>drakx/perl-install/partition_table/raw.pm, branch 1.65</title>
<subtitle>Mageia Installer and base platform for many utilities</subtitle>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/software/drakx/'/>
<entry>
<title>diskdrake: support adding partitions to Live ISOs on USB sticks (mga#25224)</title>
<updated>2020-02-29T15:01:28+00:00</updated>
<author>
<name>Martin Whitaker</name>
<email>mageia@martin-whitaker.me.uk</email>
</author>
<published>2019-08-10T19:40:46+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/software/drakx/commit/?id=e8f3026f210a8de175242658304c8fe83729cf5a'/>
<id>e8f3026f210a8de175242658304c8fe83729cf5a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove redundant code when initialising a partition table.</title>
<updated>2017-03-14T22:22:31+00:00</updated>
<author>
<name>Martin Whitaker</name>
<email>mageia@martin-whitaker.me.uk</email>
</author>
<published>2017-03-04T12:34:09+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/software/drakx/commit/?id=299738fd1af3a9d854e00a2c3a4e743cf6ec15f4'/>
<id>299738fd1af3a9d854e00a2c3a4e743cf6ec15f4</id>
<content type='text'>
Now we force the kernel to reread the partition table when we initialise
it, there's no need to also inform it that we've deleted all the existing
partitions.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Now we force the kernel to reread the partition table when we initialise
it, there's no need to also inform it that we've deleted all the existing
partitions.
</pre>
</div>
</content>
</entry>
<entry>
<title>Don't tell the kernel about partition table changes when it rescans them automatically (mga#20074).</title>
<updated>2017-02-25T11:31:03+00:00</updated>
<author>
<name>Martin Whitaker</name>
<email>mageia@martin-whitaker.me.uk</email>
</author>
<published>2017-01-21T20:00:20+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/software/drakx/commit/?id=6f0880e11d1f83ca239c823cece00fc7d034dddb'/>
<id>6f0880e11d1f83ca239c823cece00fc7d034dddb</id>
<content type='text'>
When no partitions on a DOS-partitioned disk are mounted, the kernel
automatically rescans the partition table when it is written to disk.
We shouldn't then try to update the kernel's view of the partition
table, as the list of deltas we have recorded is relative to the
previous state of the partition table, not the newly rescanned state.

The behaviour for other partition table types is unchanged.

v2 (tvignaud): just make base class assume the kernel doesn't reread, only mbr
subclass overrides need_to_tell_kernel() in order to be smarter
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When no partitions on a DOS-partitioned disk are mounted, the kernel
automatically rescans the partition table when it is written to disk.
We shouldn't then try to update the kernel's view of the partition
table, as the list of deltas we have recorded is relative to the
previous state of the partition table, not the newly rescanned state.

The behaviour for other partition table types is unchanged.

v2 (tvignaud): just make base class assume the kernel doesn't reread, only mbr
subclass overrides need_to_tell_kernel() in order to be smarter
</pre>
</div>
</content>
</entry>
<entry>
<title>Ensure the kernel doesn't rescan a partially written partition table (mga#20074).</title>
<updated>2017-02-25T11:30:56+00:00</updated>
<author>
<name>Martin Whitaker</name>
<email>mageia@martin-whitaker.me.uk</email>
</author>
<published>2017-01-21T19:38:55+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/software/drakx/commit/?id=a5473711818b2519552561b33c3f181ab1bbfde6'/>
<id>a5473711818b2519552561b33c3f181ab1bbfde6</id>
<content type='text'>
When no partitions on a DOS-partitioned disk are mounted, the kernel
automatically rescans the partition table when the file handle to the
raw device is released. Currently the code opens and closes the raw
device when writing the primary partition table and when writing each
extended partition table segment. As the extended partition table
segments form a linked list, this allows the kernel to get in and
rescan the table when the list is not in a coherent state. This patch
changes the code to open the raw device before writing the primary
partition table and to close it only after writing the last extended
partition table segment.

The behaviour for other partition table types is unchanged.

v2 (tvignaud): simplify by moving copies of noop funcs into the base class
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When no partitions on a DOS-partitioned disk are mounted, the kernel
automatically rescans the partition table when the file handle to the
raw device is released. Currently the code opens and closes the raw
device when writing the primary partition table and when writing each
extended partition table segment. As the extended partition table
segments form a linked list, this allows the kernel to get in and
rescan the table when the list is not in a coherent state. This patch
changes the code to open the raw device before writing the primary
partition table and to close it only after writing the last extended
partition table segment.

The behaviour for other partition table types is unchanged.

v2 (tvignaud): simplify by moving copies of noop funcs into the base class
</pre>
</div>
</content>
</entry>
<entry>
<title>better fix for too corrupted partition table</title>
<updated>2015-03-30T12:01:47+00:00</updated>
<author>
<name>Thierry Vignaud</name>
<email>thierry.vignaud@gmail.com</email>
</author>
<published>2015-03-28T00:58:50+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/software/drakx/commit/?id=0bc75bac4fd3c0599f05f556326dfd84ee39c842'/>
<id>0bc75bac4fd3c0599f05f556326dfd84ee39c842</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix failing to read partition table (mga#13592, mga#15272)</title>
<updated>2015-03-27T20:34:03+00:00</updated>
<author>
<name>Thierry Vignaud</name>
<email>thierry.vignaud@gmail.com</email>
</author>
<published>2015-03-27T12:45:06+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/software/drakx/commit/?id=281d55f77a148cb8fafd4e73912c31e06d81acf4'/>
<id>281d55f77a148cb8fafd4e73912c31e06d81acf4</id>
<content type='text'>
this is making it more readable regarding:
"I cannot read the partition table of device XXX, it is too corrupted"
(mga#13592, mga#15272, mga#15472)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
this is making it more readable regarding:
"I cannot read the partition table of device XXX, it is too corrupted"
(mga#13592, mga#15272, mga#15472)
</pre>
</div>
</content>
</entry>
<entry>
<title>kill $Id:$ tags</title>
<updated>2014-06-07T06:29:16+00:00</updated>
<author>
<name>Thierry Vignaud</name>
<email>thierry.vignaud@gmail.com</email>
</author>
<published>2014-06-07T06:23:23+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/software/drakx/commit/?id=9df2d51e71e3676d7c8d0d86dac8259e9aa5ae5e'/>
<id>9df2d51e71e3676d7c8d0d86dac8259e9aa5ae5e</id>
<content type='text'>
they're obsolete since switching from CVS/SVN to git...
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
they're obsolete since switching from CVS/SVN to git...
</pre>
</div>
</content>
</entry>
<entry>
<title>drop (broken) support for Alpha, PPC, Sparc &amp; most of IA64</title>
<updated>2014-05-26T20:15:28+00:00</updated>
<author>
<name>Thierry.Vignaud</name>
<email>thierry.vignaud@gmail.com</email>
</author>
<published>2014-05-26T12:11:43+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/software/drakx/commit/?id=6d3faeb9846f336be402f1acab8ffabf3233560f'/>
<id>6d3faeb9846f336be402f1acab8ffabf3233560f</id>
<content type='text'>
Including Xsun, silo &amp; yaboot support

Rationale: it's unused/unmaintained for years and those arches are beyond
any hope of being usefull any day...
They just got in the way...

Part of IA64 support is still kept (eg: support for GPT, EFI, right xorg
driver at install, ...) as it might be usefull to extend to other arches

Next to consider: Xbox?
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Including Xsun, silo &amp; yaboot support

Rationale: it's unused/unmaintained for years and those arches are beyond
any hope of being usefull any day...
They just got in the way...

Part of IA64 support is still kept (eg: support for GPT, EFI, right xorg
driver at install, ...) as it might be usefull to extend to other arches

Next to consider: Xbox?
</pre>
</div>
</content>
</entry>
<entry>
<title>recognize grub2 magic (from rosa but cleaned)</title>
<updated>2012-12-07T11:34:49+00:00</updated>
<author>
<name>Thierry Vignaud</name>
<email>tv@mageia.org</email>
</author>
<published>2012-12-07T11:34:49+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/software/drakx/commit/?id=a0256593c7c7503728dcf032b7f84b35c2d8c8da'/>
<id>a0256593c7c7503728dcf032b7f84b35c2d8c8da</id>
<content type='text'>
warning: looks bogus and actually unused by Rosa...
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
warning: looks bogus and actually unused by Rosa...
</pre>
</div>
</content>
</entry>
<entry>
<title>perl_checker cleanups</title>
<updated>2012-03-23T19:50:35+00:00</updated>
<author>
<name>Thierry Vignaud</name>
<email>tv@mageia.org</email>
</author>
<published>2012-03-23T19:50:35+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/software/drakx/commit/?id=f4bc86bc94aeeeffb8a82b16b38b760590b80bdf'/>
<id>f4bc86bc94aeeeffb8a82b16b38b760590b80bdf</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
