<feed xmlns='http://www.w3.org/2005/Atom'>
<title>drakx/perl-install/partition_table/bsd.pm, branch 18.71</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>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>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>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>
<entry>
<title>Synthesized commit during git-svn import combining previous Mandriva history with Mageia.</title>
<updated>2011-02-06T22:37:08+00:00</updated>
<author>
<name>Mageia SVN-Git Migration</name>
<email>svn-git-migration@mageia.org</email>
</author>
<published>2011-02-06T22:37:08+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/software/drakx/commit/?id=fd8bbba2f02b8bccd69e67c326fd320c0827941d'/>
<id>fd8bbba2f02b8bccd69e67c326fd320c0827941d</id>
<content type='text'>
This commit consitsts of the following subversion commits:

------------------------------------------------------------------------
r431 | dmorgan | 2011-02-06 01:58:02 +0000 (Sun, 06 Feb 2011) | 1 line

Add drakx structure on the SVN
------------------------------------------------------------------------
r432 | dmorgan | 2011-02-06 01:59:38 +0000 (Sun, 06 Feb 2011) | 1 line

Import cleaned advertising
------------------------------------------------------------------------
r446 | dmorgan | 2011-02-06 22:37:08 +0000 (Sun, 06 Feb 2011) | 1 line

Import Clean perl-install
------------------------------------------------------------------------
r448 | dmorgan | 2011-02-06 23:02:36 +0000 (Sun, 06 Feb 2011) | 1 line

Add cleaned files
------------------------------------------------------------------------
r449 | dmorgan | 2011-02-06 23:03:52 +0000 (Sun, 06 Feb 2011) | 1 line

Import cleaned kernel
------------------------------------------------------------------------
r450 | dmorgan | 2011-02-06 23:23:30 +0000 (Sun, 06 Feb 2011) | 1 line

Import cleaned tools
------------------------------------------------------------------------
r451 | dmorgan | 2011-02-07 00:01:56 +0000 (Mon, 07 Feb 2011) | 1 line

Import stage1
------------------------------------------------------------------------
r473 | dmorgan | 2011-02-07 11:20:50 +0000 (Mon, 07 Feb 2011) | 1 line

Import images
------------------------------------------------------------------------
r497 | ennael | 2011-02-09 21:02:06 +0000 (Wed, 09 Feb 2011) | 2 lines

readd missing file

------------------------------------------------------------------------
r502 | pterjan | 2011-02-09 23:30:32 +0000 (Wed, 09 Feb 2011) | 1 line

Import rescue
------------------------------------------------------------------------
r603 | ennael | 2011-02-24 13:32:54 +0000 (Thu, 24 Feb 2011) | 2 lines

import cleaned rescue for Mageia

------------------------------------------------------------------------
r2061 | tv | 2011-10-20 20:32:19 +0100 (Thu, 20 Oct 2011) | 1 line

import (cleaned) doc
------------------------------------------------------------------------
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This commit consitsts of the following subversion commits:

------------------------------------------------------------------------
r431 | dmorgan | 2011-02-06 01:58:02 +0000 (Sun, 06 Feb 2011) | 1 line

Add drakx structure on the SVN
------------------------------------------------------------------------
r432 | dmorgan | 2011-02-06 01:59:38 +0000 (Sun, 06 Feb 2011) | 1 line

Import cleaned advertising
------------------------------------------------------------------------
r446 | dmorgan | 2011-02-06 22:37:08 +0000 (Sun, 06 Feb 2011) | 1 line

Import Clean perl-install
------------------------------------------------------------------------
r448 | dmorgan | 2011-02-06 23:02:36 +0000 (Sun, 06 Feb 2011) | 1 line

Add cleaned files
------------------------------------------------------------------------
r449 | dmorgan | 2011-02-06 23:03:52 +0000 (Sun, 06 Feb 2011) | 1 line

Import cleaned kernel
------------------------------------------------------------------------
r450 | dmorgan | 2011-02-06 23:23:30 +0000 (Sun, 06 Feb 2011) | 1 line

Import cleaned tools
------------------------------------------------------------------------
r451 | dmorgan | 2011-02-07 00:01:56 +0000 (Mon, 07 Feb 2011) | 1 line

Import stage1
------------------------------------------------------------------------
r473 | dmorgan | 2011-02-07 11:20:50 +0000 (Mon, 07 Feb 2011) | 1 line

Import images
------------------------------------------------------------------------
r497 | ennael | 2011-02-09 21:02:06 +0000 (Wed, 09 Feb 2011) | 2 lines

readd missing file

------------------------------------------------------------------------
r502 | pterjan | 2011-02-09 23:30:32 +0000 (Wed, 09 Feb 2011) | 1 line

Import rescue
------------------------------------------------------------------------
r603 | ennael | 2011-02-24 13:32:54 +0000 (Thu, 24 Feb 2011) | 2 lines

import cleaned rescue for Mageia

------------------------------------------------------------------------
r2061 | tv | 2011-10-20 20:32:19 +0100 (Thu, 20 Oct 2011) | 1 line

import (cleaned) doc
------------------------------------------------------------------------
</pre>
</div>
</content>
</entry>
<entry>
<title>rename -&gt;read to -&gt;read_one</title>
<updated>2007-09-18T10:32:56+00:00</updated>
<author>
<name>Pascal Rigaux</name>
<email>pixel@mandriva.com</email>
</author>
<published>2007-09-18T10:32:56+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/software/drakx/commit/?id=e31295b058b23831d5ceced25adc058df97704d3'/>
<id>e31295b058b23831d5ceced25adc058df97704d3</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>transform -&gt;clear_raw into the more generic -&gt;initialize</title>
<updated>2007-09-18T10:23:17+00:00</updated>
<author>
<name>Pascal Rigaux</name>
<email>pixel@mandriva.com</email>
</author>
<published>2007-09-18T10:23:17+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/software/drakx/commit/?id=ce9f2f3dc52173a581d8a6c2ab41e2911d4a47e6'/>
<id>ce9f2f3dc52173a581d8a6c2ab41e2911d4a47e6</id>
<content type='text'>
(useful to have a more standard partition_table::lvm)

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(useful to have a more standard partition_table::lvm)

</pre>
</div>
</content>
</entry>
<entry>
<title>- diskdrake:</title>
<updated>2007-08-08T10:42:16+00:00</updated>
<author>
<name>Pascal Rigaux</name>
<email>pixel@mandriva.com</email>
</author>
<published>2007-08-08T10:42:16+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/software/drakx/commit/?id=56b573476e2ea63a509ab2f8ec0683397ae7c85e'/>
<id>56b573476e2ea63a509ab2f8ec0683397ae7c85e</id>
<content type='text'>
  o do not show partition types which have no associated filesystem
    for LVM LV (#32326)

nb: we still would need to have pt_type per partition_table types

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
  o do not show partition types which have no associated filesystem
    for LVM LV (#32326)

nb: we still would need to have pt_type per partition_table types

</pre>
</div>
</content>
</entry>
<entry>
<title>- add field {fs_type} partially replacing {pt_type}</title>
<updated>2004-07-27T10:31:34+00:00</updated>
<author>
<name>Pascal Rigaux</name>
<email>pixel@mandriva.com</email>
</author>
<published>2004-07-27T10:31:34+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/software/drakx/commit/?id=0306ad0100b9d40606d723706f909438a27dfac1'/>
<id>0306ad0100b9d40606d723706f909438a27dfac1</id>
<content type='text'>
  {pt_type} is always a number, {fs_type} is always a string
- introduce set_isFormatted()
  (to ensure {notFormatted} but also {fs_type_from_magic} and {bad_fs_type_magic} are updated)
- don't use 0x483 for ext3 anymore (same for reiserfs...),
  the type_name gives both a pt_type and a fs_type

- many accessors from partition_table removed (type2fs(), fs2pt_type())
- remove isThisFs() (not useful anymore since we can use directly {fs_type})
- remove isFat() (inline the function)
- other isXXX() from partition_table are moved to fs::type
- part2name() is now fs::type::part2type_name
- name2pt_type() is now fs::type::type_name2subpart()
- partition_table::important_types() is now fs::type::type_names()
- fsedit::typeOfPart() is now fs::type::fs_type_from_magic()

- no need to truncate type_name since they are shorter

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
  {pt_type} is always a number, {fs_type} is always a string
- introduce set_isFormatted()
  (to ensure {notFormatted} but also {fs_type_from_magic} and {bad_fs_type_magic} are updated)
- don't use 0x483 for ext3 anymore (same for reiserfs...),
  the type_name gives both a pt_type and a fs_type

- many accessors from partition_table removed (type2fs(), fs2pt_type())
- remove isThisFs() (not useful anymore since we can use directly {fs_type})
- remove isFat() (inline the function)
- other isXXX() from partition_table are moved to fs::type
- part2name() is now fs::type::part2type_name
- name2pt_type() is now fs::type::type_name2subpart()
- partition_table::important_types() is now fs::type::type_names()
- fsedit::typeOfPart() is now fs::type::fs_type_from_magic()

- no need to truncate type_name since they are shorter

</pre>
</div>
</content>
</entry>
<entry>
<title>big renaming of field {type} to {pt_type},</title>
<updated>2004-07-05T07:47:36+00:00</updated>
<author>
<name>Pascal Rigaux</name>
<email>pixel@mandriva.com</email>
</author>
<published>2004-07-05T07:47:36+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/software/drakx/commit/?id=0a23f36bd52f14f68cc394c37ef7a9af0c406caa'/>
<id>0a23f36bd52f14f68cc394c37ef7a9af0c406caa</id>
<content type='text'>
this will allow defining {fs_type} which will always be a string
whereas {pt_type} will always be a number

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
this will allow defining {fs_type} which will always be a string
whereas {pt_type} will always be a number

</pre>
</div>
</content>
</entry>
<entry>
<title>perl_checker fixes</title>
<updated>2003-05-23T16:10:03+00:00</updated>
<author>
<name>Thierry Vignaud</name>
<email>tvignaud@mandriva.org</email>
</author>
<published>2003-05-23T16:10:03+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/software/drakx/commit/?id=d6f5330ee63311a3e5c8ef52693ac7193ea83ede'/>
<id>d6f5330ee63311a3e5c8ef52693ac7193ea83ede</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
