package partition_table::lvm; # $Id$ use diagnostics; use strict; our @ISA = qw(partition_table::raw); use partition_table::raw; use c; my $magic = "HM\1\0"; my $offset = 0; #- Allows people having PVs on unpartitioned disks to install #- (but no way to create such beasts) #- #- another way to handle them would be to ignore those disks, #- but this would make those hds unshown in diskdrake, #- disallowing to zero_MBR, clearing this PV sub read { my ($hd, $sector) = @_; local *F; partition_table::raw::openit($hd, *F) or die "failed to open device"; c::lseek_sector(fileno(F), $sector, $offset) or die "reading of partition in sector $sector failed"; sysread F, my $tmp, length $magic or die "error reading magic number on disk $hd->{file}"; $tmp eq $magic or die "bad magic number on disk $hd->{file}"; [ ]; } sub write { die "ERROR: should not be writing raw disk lvm PV!!"; } sub clear_raw { die "ERROR: should not be creating new raw disk lvm PV!!"; } 1; eps'>user/danf/more-build-deps Scripts and configuration used for autobuildPascal Terjan [pterjan]
summaryrefslogtreecommitdiffstats
path: root/bugscan.rb
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mageia.org>2024-12-22 15:29:26 +0000
committerPascal Terjan <pterjan@mageia.org>2024-12-22 15:29:26 +0000
commit93e3882063cd32406c46dc0af807f891f8fcabf2 (patch)
tree36b4bdc53aa75bd612dde6d588e2c7e33a8f499d /bugscan.rb
parentfba7c18b0efa4059d90deae23dede87a0bbf05c3 (diff)
downloadautobuild-master.tar
autobuild-master.tar.gz
autobuild-master.tar.bz2
autobuild-master.tar.xz
autobuild-master.zip
iurt no longer adds .src.rpm to the log directoryHEADmaster
Diffstat (limited to 'bugscan.rb')
0 files changed, 0 insertions, 0 deletions