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:
> From: Davidlohr Bueso <dave@xxxxxxx>
>  
> Since this is DOS specific logic, it belongs in its own label file. Additionally, a dos_new_partition() function is created
> that asks the user for partition type and then calls the actual dos_add_partition().
> 
> This patch passed fdisk regression tests, builds without problems and it was locally tested against adding and removing DOS partitions.
> 
> Signed-off-by: Davidlohr Bueso <dave@xxxxxxx>

Reviewed-and-acked-by: Petr Uzel <petr.uzel@xxxxxxx>

> ---
>  fdisk/fdisk.c         |  354 ++-----------------------------------------------
>  fdisk/fdisk.h         |   22 +++-
>  fdisk/fdiskdoslabel.c |  332 ++++++++++++++++++++++++++++++++++++++++++++++
>  fdisk/fdiskdoslabel.h |    5 +-
>  4 files changed, 365 insertions(+), 348 deletions(-)
[SNIP]

Petr

--
Petr Uzel
IRC: ptr_uzl @ freenode

Attachment: pgpw6lh2JPWts.pgp
Description: PGP signature


[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