summaryrefslogtreecommitdiffstats
path: root/docs/HACKING
Commit message (Expand)AuthorAgeFilesLines
* some updatesGuillaume Cottenceau2003-04-041-19/+13
* Add /bin/mknod to command list of sudoersGwenolé Beauchesne2002-08-011-1/+1
* libncurses* also for the sucking neuneuxGuillaume Cottenceau2002-05-141-1/+1
* libbzip2* and more explanations about failing compilationGuillaume Cottenceau2002-05-131-1/+5
* update -d in order to get all the directories...Guillaume Cottenceau2001-07-041-1/+1
* s/Linux-Mandrake/Mandrake Linux/Pascal Rigaux2001-06-211-2/+2
* fixGuillaume Cottenceau2001-04-301-3/+1
* pserver -> extGuillaume Cottenceau2001-04-301-1/+2
* support more than one boot kernel :-)Guillaume Cottenceau2001-03-291-10/+11
* updateddamien2001-03-131-0/+1
* update docsGuillaume Cottenceau2001-01-251-23/+65
* updated net cnxdamien2000-08-241-0/+1
* no_commentPascal Rigaux2000-08-171-0/+4
* new icons. see Changelogdamien2000-07-261-0/+1
* see changelog. 20 jul 2000damien2000-07-201-0/+23
* *** empty log message ***David odin2000-02-211-2/+6
* *** empty log message ***David odin2000-02-211-4/+13
* *** empty log message ***David odin2000-02-101-0/+5
* Updates in HACKING.David odin2000-02-101-23/+14
* Added some text to the HACKING file.David odin2000-02-081-0/+32
* Added a 'HACKING' file.David odin2000-02-081-0/+9
l kwb">$part)); $prev_part = $part; delete $part->{dev}; # cleanup } @$parts; } sub compare { my ($hd) = @_; my @l1 = partition_table::get_normal_parts($hd); my @l2 = grep { $_->{rootDevice} eq $hd->{device} } &read([$hd]); #- /proc/partitions includes partition with type "empty" and a non-null size #- so add them for comparison my ($len1, $len2) = (int(@l1) + $hd->{primary}{nb_special_empty}, int(@l2)); if ($len1 != $len2 && arch() ne 'ppc') { die sprintf( "/proc/partitions does not agree with drakx %d != %d:\n%s\n", $len1, $len2, "/proc/partitions: " . join(", ", map { "$_->{device} ($_->{rootDevice})" } @l2)); } $len2; } sub use_ { my ($hd) = @_; partition_table::raw::zero_MBR($hd); $hd->{readonly} = 1; $hd->{getting_rid_of_readonly_allowed} = 1; $hd->{primary} = { normal => [ grep { $_->{rootDevice} eq $hd->{device} } &read([$hd]) ] }; } 1;