View Single Post
humble's Avatar
Posts: 355 | Thanked: 395 times | Joined on Dec 2009 @ USA
#1
gnu-parted: is "a partition manipulation program"

Description:
"parted is a disk partitioning and partition resizing program. It allows you to create, destroy, resize, move and copy ext2, ext3, linux-swap, FAT and FAT32 partitions. This is useful for creating space for new operating systems, reorganizing disk usage, and copying data to new hard disks."

Code:
SYNOPSIS
parted [options] [device [command [options...]...]]

  align-check TYPE N                        check partition N for TYPE(min|opt)
        alignment
  check NUMBER                             do a simple check on the file system
  cp [FROM-DEVICE] FROM-NUMBER TO-NUMBER   copy file system to another partition
  help [COMMAND]                           print general help, or help on
        COMMAND
  mklabel,mktable LABEL-TYPE               create a new disklabel (partition
        table)
  mkfs NUMBER FS-TYPE                      make a FS-TYPE file system on
        partition NUMBER
  mkpart PART-TYPE [FS-TYPE] START END     make a partition
  mkpartfs PART-TYPE FS-TYPE START END     make a partition with a file system
  move NUMBER START END                    move partition NUMBER
  name NUMBER NAME                         name partition NUMBER as NAME
  print [devices|free|list,all|NUMBER]     display the partition table,
        available devices, free space, all found partitions, or a particular
        partition
  quit                                     exit program
  rescue START END                         rescue a lost partition near START
        and END
  resize NUMBER START END                  resize partition NUMBER and its file
        system
  rm NUMBER                                delete partition NUMBER
  select DEVICE                            choose the device to edit
  set NUMBER FLAG STATE                    change the FLAG on partition NUMBER
  toggle [NUMBER [FLAG]]                   toggle the state of FLAG on partition
        NUMBER
  unit UNIT                                set the default unit to UNIT
  version                                  display the version number and
Parted User's Manual = more in-depth than above

this is a ruff port that seems to work well (needs testing thou. not only that but feedback too)
i just requested a project page in garage so give it 72hr to be up(will post link in this post)

Garage Page:

http://gnu-parted.garage.maemo.org/

gnu-parted is now avilable in Fremantle Extras-devel free armel

Note: if you installed the test package please remove it.
it does not have "partprobe"(is it needed but its apart of gnu parted when install on desktop)

Enjoy

Last edited by humble; 2010-12-23 at 23:50. Reason: added manual
 

The Following 24 Users Say Thank You to humble For This Useful Post: