Displaying 9 results from an estimated 9 matches for "get_part".
Did you mean:
get_parts
2013 Oct 01
2
Bug#603391: Bug#603391: Workaround PyGrub issue
...> + if val.startswith("/dev/xvd"):
> + disk = val[len("/dev/xvd")]
> + self._disk = ord(disk)-ord('a')
> + else:
> + self._disk = int(val[2:])
> disk = property(get_disk, set_disk)
>
> def get_part(self):
>
>
2013 Oct 01
0
Bug#603391: Bug#603391: Workaround PyGrub issue
...ot;)
- self._disk = int(val[2:])
+ if val.startswith("/dev/xvd"):
+ disk = val[len("/dev/xvd")]
+ self._disk = ord(disk)-ord('a')
+ else:
+ self._disk = int(val[2:])
disk = property(get_disk, set_disk)
def get_part(self):
2016 Dec 27
1
Identify if a message_part is an attachment ?
...art_find_part(mail, msgpart, &part); /* only mail
comes here */
mail (uid=1739, seq=5)
msgpart (section_number = 2,
fetch_type = FETCH_MIME_BODY,
partial_offset = 0, partial_size = 512,
decode_cte_to_binary = 0)
|_ mail_get_parts(mail, &parts) /* atmail send msgpart */
|_ call to p->v.get_parts(mail, parts_r)
(index_mail_get_parts) /* atmail over-ride this function */
|_ get_cached_parts(mail) /* sets data->part */
|_ get_unserialized_parts(index_ma...
2013 Oct 01
0
Bug#603391: Bug#603391: Workaround PyGrub issue
...ot;/dev/xvd"):
> > + disk = val[len("/dev/xvd")]
> > + self._disk = ord(disk)-ord('a')
> > + else:
> > + self._disk = int(val[2:])
> > disk = property(get_disk, set_disk)
> >
> > def get_part(self):
> >
> >
>
2006 Jan 31
1
beta2: strange assert
...eq = 4,
uid = 1233, expunged = 0, has_nuls = 1, has_no_nuls = 0}, v = {
free = 0x490e0 <index_mail_free>,
set_seq = 0x48d20 <index_mail_set_seq>,
get_flags = 0x47b3c <index_mail_get_flags>,
get_keywords = 0x47b88 <index_mail_get_keywords>,
get_parts = 0x47d0c <index_mail_get_parts>,
get_received_date = 0x37224 <mbox_mail_get_received_date>,
get_date = 0x47db8 <index_mail_get_date>,
get_virtual_size = 0x47f60 <index_mail_get_virtual_size>,
get_physical_size = 0x37368 <mbox_mail_get_physical_si...
2013 Oct 10
1
[PATCH] pygrub: Support (/dev/xvda) style disk specifications
...self._disk = int(val[2:])
+ if val.startswith("/dev/xvd"):
+ disk = val[len("/dev/xvd")]
+ self._disk = ord(disk)-ord(''a'')
+ else:
+ self._disk = int(val[2:])
disk = property(get_disk, set_disk)
def get_part(self):
--
1.7.10.4
2003 Apr 16
1
pop3 coredump
...llow_custom_flags = 0, inconsistent = 0},
expunge_locked = 0, index = 0x808c200, autosync_to = 0x0,
autosync_files = 0x0, autosync_type = MAILBOX_SYNC_NONE, sync_last_check = 0,
min_newmail_notify_interval = 0, fetch_mail = {mail = {seq = 0, uid = 0,
seen_updated = 0, get_flags = 0, get_parts = 0, get_received_date = 0,
get_date = 0, get_size = 0, get_header = 0, get_address = 0,
get_first_mailbox = 0, get_stream = 0, get_special = 0}, data = {flags = {
flags = 0, custom_flags = 0x0, custom_flags_count = 0},
received_date = 0, size = 0, sent_time = 0, sent_...
2010 Oct 06
1
Bug#599243: xen-utils-4.0: pygrub does not understand grub2 partition types (e.g. (hd0, msdos1) instead of (hd0, 1))
...return
- val = val.replace("(", "").replace(")", "")
+ val = val.replace("(", "").replace(")", "").replace("msdos", "")
self._part = int(val)
part = property(get_part, set_part)
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-5-xen-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin...
2013 Sep 29
2
Bug#603391: Workaround PyGrub issue
Confirmed this issue. To reproduce: Install a fresh Wheezy AMD64 guest
under Xen 4.1 (hypervirtualized, boot from the
debian-7.1.0-amd64-CD-1.iso). Use "entire disk" automatic layout for
partitioning, this creates /dev/xvda1 for / and /dev/xvda5 for swap.
It will create /boot/grub/grub.cfg with many references to
(/dev/xvda,msdos1) which works fine when the machine is booted