package partition_table_empty; # $Id$ #- this is a mainly dummy partition table. If we find it's empty, we just call - #- zero_MBR which will take care of bless'ing us to the partition table type best #- suited use diagnostics; use strict; use vars qw(@ISA); @ISA = qw(partition_table_raw); use common qw(:common :system :file); use partition_table_raw; use partition_table; use c; sub read($$) { my ($hd, $sector) = @_; my $tmp; my $magic = "\0" x 512; local *F; partition_table_raw::openit($hd, *F) or die "failed to open device"; c::lseek_sector(fileno(F), $sector, 0) or die "reading of partition in sector $sector failed"; #- check magic number sysread F, $tmp, length $magic or die "error reading magic number"; $tmp eq $magic or die "bad magic number"; partition_table_raw::zero_MBR($hd); $hd->{primary}{raw}; } 1; ='this.form.submit();'> Mageia Installer and base platform for many utilitiesThierry Vignaud [tv]
summaryrefslogtreecommitdiffstats
path: root/perl-install/share/po/pl.po
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2005-09-12 14:46:54 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2005-09-12 14:46:54 +0000
commitad71250b57812af89e860341b401931b34d02900 (patch)
treefba8356d8ddcf925e459df3e69a4c7ca80e2aade /perl-install/share/po/pl.po
parent7ca5e7c6868857ea9236c5a5149b288e3c272295 (diff)
downloaddrakx-ad71250b57812af89e860341b401931b34d02900.tar
drakx-ad71250b57812af89e860341b401931b34d02900.tar.gz
drakx-ad71250b57812af89e860341b401931b34d02900.tar.bz2
drakx-ad71250b57812af89e860341b401931b34d02900.tar.xz
drakx-ad71250b57812af89e860341b401931b34d02900.zip
(row_setting_dialog) simplify