Re: [PATCH 2/5] fdisk: move DOS new/add partition code

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, May 06, 2012 at 02:10:18PM +0200, Davidlohr Bueso wrote:
>  fdisk/fdisk.h         |   22 +++-
>  fdisk/fdiskdoslabel.c |  332 ++++++++++++++++++++++++++++++++++++++++++++++
>  fdisk/fdiskdoslabel.h |    5 +-
>  4 files changed, 365 insertions(+), 348 deletions(-)

 Applied, thanks.

> +extern unsigned long long total_number_of_sectors;

 Look forward to see sector_t :-)

> +static inline int is_cleared_partition(struct partition *p)
> +{
> +	return !(!p || p->boot_ind || p->head || p->sector || p->cyl ||
> +		 p->sys_ind || p->end_head || p->end_sector || p->end_cyl ||
> +		 get_start_sect(p) || get_nr_sects(p));
> +}

 this seems DOS specific...

    Karel

-- 
 Karel Zak  <kzak@xxxxxxxxxx>
 http://karelzak.blogspot.com
--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux