search for: poff

Displaying 10 results from an estimated 10 matches for "poff".

Did you mean: off
2007 Apr 11
3
[PATCH][RFC] Support GPT (GUID Partition Table)
.../pygrub/src/pygrub --- a/tools/pygrub/src/pygrub Mon Apr 09 13:40:25 2007 -0600 +++ b/tools/pygrub/src/pygrub Tue Apr 10 20:30:05 2007 +0900 @@ -58,6 +60,13 @@ def get_active_partition(file): # active partition has 0x80 as the first byte if struct.unpack("<c", buf[poff:poff+1]) == (''\x80'',): return buf[poff:poff+16] + + # type=0xee: GUID partition table + # XXX assume the first partition is active + if struct.unpack("<c", buf[poff+4:poff+5]) == (''\xee'',): + os.lseek(fd,...
2013 Jan 29
0
On the calulation of crossed differences
...was asking before, in a previous help request. I needed to sum data over subsample of three time series each of them made of 100 observations. The solution proposed were various, among which: db<-p dim( db ) <- c(25,4,3) db2 <- apply(db, c(2,3), sum) db3 <- t(apply(db2, 1, function(poff) 100-(100*abs(poff/sum(poff)-(1/3))) ) ) My request now is about the function at the end of the calculation in db3. IF instead of the difference from a number, here 1/3, I need to calculate the following difference: consider that db3 is a matrix 4x3, I need to calculate (db3[1,1] -db3[1,2])+(db3...
2005 Mar 30
2
Modem - dial-up connection
...having problems setting up a dialup connect in CentOS PPC I get the following error when attempting to use wvdial (modem set as /dev/ttyS0) --> Cannot open /dev/ttyS0: input/output error Ive tried kppp but ive had not luck Anyone know how to fix this? normally I would use pppconfig and pon/poff but havent been able to use/find them, are they install by default? __ Note: this message is also on the PPC forums __ Thanks for the kick ass distro Cheers Justin Kelly
2006 Oct 31
1
Fw: domU network problem , 10/30 progress
...M To Hao Yu/Watson/IBM@IBMUS 10/31/2006 09:36 cc AM Dan E Poff/Watson/IBM@IBMUS, David M Daly/Watson/IBM@IBMUS, Dilma M Da silva/Watson/IBM@IBMUS, Doron Shiloach/Watson/IBM@IBMUS, Edi Shmuel...
2006 Oct 31
1
Fw: domU network problem , 10/30 progress
...M To Hao Yu/Watson/IBM@IBMUS 10/31/2006 09:36 cc AM Dan E Poff/Watson/IBM@IBMUS, David M Daly/Watson/IBM@IBMUS, Dilma M Da silva/Watson/IBM@IBMUS, Doron Shiloach/Watson/IBM@IBMUS, Edi Shmuel...
2014 Nov 20
0
Bug#745419: Bug#745419: xen-utils-4.1: Pygrub fails to boot from LVM LV when something installed in the volume boot record
...-01/txtLboGgCEUdF.txt -- Adi --- xen-4.1.0/tools/pygrub/src/pygrub.orig 2010-12-31 15:24:11.000000000 +0000 +++ xen-4.1.0/tools/pygrub/src/pygrub 2011-01-30 18:58:17.000000000 +0000 @@ -96,6 +96,7 @@ fd = os.open(file, os.O_RDONLY) buf = os.read(fd, 512) + offzerocount = 0 for poff in (446, 462, 478, 494): # partition offsets # MBR contains a 16 byte descriptor per partition @@ -105,6 +106,7 @@ # offset == 0 implies this partition is not enabled if offset == 0: + offzerocount += 1 continue if type == FD...
2004 May 23
1
A (maybe)_ easy solution to global login script for group checking
...ork drives get mapped. It's all in one login script and makes things easy! I couldn't find this in the archives so I thought I'd share this. What's nice is that you have the ifmember only on the server. Hope it's not just repeating something I missed somewhere, Amadeus -- poff@sixbit.org SDF Public Access UNIX System - http://sdf.lonestar.org
2012 Jul 19
2
[PATCH] pygrub: add syslog support to pygrub
...MBR: assume whole disk filesystem, which is like a + # No MBR: assume whole disk filesystem, which is like a # single partition starting at 0 return [0] elif image_type == DISK_TYPE_HYBRIDISO: @@ -122,7 +123,7 @@ def get_partition_offsets(file): partbuf = buf[poff:poff+16] offset = struct.unpack("<L", partbuf[8:12])[0] * SECTOR_SIZE type = struct.unpack("<B", partbuf[4:5])[0] - + # offset == 0 implies this partition is not enabled if offset == 0: continue @@ -153,7 +154,7...
2006 Jun 24
8
How to install programs in wine?
I am a rank newbie to Linux and wine. I am running Ubuntu Dapper on an AMD 1800 mhz machine, wine 0.9.15 Everything I have read says use the installer to load windows programs. Where is the installer? Thanks, -- Ron Thompson On the Beautiful Florida Space Coast, right beside the Kennedy Space Center, USA http://www.plansandprojects.com My hobby pages are here:
2016 Jun 02
52
[RFC v3 00/45] dma-mapping: Use unsigned long for dma_attrs
Hi, This is third approach (complete this time) for replacing struct dma_attrs with unsigned long. The main patch (2/45) doing the change is split into many subpatches for easier review (3-43). They should be squashed together when applying. *Important:* Patchset is *only* build tested on allyesconfigs: ARM, ARM64, i386, x86_64 and powerpc. Please provide reviewes and tests for other