Magellan Linux

Diff of /trunk/mkinitrd-magellan/busybox/util-linux/volume_id/unused_msdos.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 983 by niro, Fri Apr 24 18:33:46 2009 UTC revision 984 by niro, Sun May 30 11:32:42 2010 UTC
# Line 31  struct msdos_partition_entry { Line 31  struct msdos_partition_entry {
31   uint8_t end_cyl;   uint8_t end_cyl;
32   uint32_t start_sect;   uint32_t start_sect;
33   uint32_t nr_sects;   uint32_t nr_sects;
34  } __attribute__((packed));  } PACKED;
35    
36  #define MSDOS_PARTTABLE_OFFSET 0x1be  #define MSDOS_PARTTABLE_OFFSET 0x1be
37  #define MSDOS_SIG_OFF 0x1fe  #define MSDOS_SIG_OFF 0x1fe
# Line 47  struct msdos_partition_entry { Line 47  struct msdos_partition_entry {
47  #define is_raid(type) \  #define is_raid(type) \
48   (type == LINUX_RAID_PARTITION)   (type == LINUX_RAID_PARTITION)
49    
50  int volume_id_probe_msdos_part_table(struct volume_id *id, uint64_t off)  int FAST_FUNC volume_id_probe_msdos_part_table(struct volume_id *id, uint64_t off)
51  {  {
52   const uint8_t *buf;   const uint8_t *buf;
53   int i;   int i;

Legend:
Removed from v.983  
changed lines
  Added in v.984