Advertisement
Guest User

Untitled

a guest
Jul 28th, 2016
47
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.58 KB | None | 0 0
  1. gchain@archbogchain@archbook:~$ sudo parted /dev/sdb
  2. GNU Parted 3.1
  3. Using /dev/sdb
  4. Welcome to GNU Parted! Type 'help' to view a list of commands.
  5. (parted) help
  6. align-check TYPE N check partition N for TYPE(min|opt) alignment
  7. help [COMMAND] print general help, or help on COMMAND
  8. mklabel,mktable LABEL-TYPE create a new disklabel (partition table)
  9. mkpart PART-TYPE [FS-TYPE] START END make a partition
  10. name NUMBER NAME name partition NUMBER as NAME
  11. print [devices|free|list,all|NUMBER] display the partition table, available devices, free space, all found partitions, or a
  12. particular partition
  13. quit exit program
  14. rescue START END rescue a lost partition near START and END
  15. rm NUMBER delete partition NUMBER
  16. select DEVICE choose the device to edit
  17. disk_set FLAG STATE change the FLAG on selected device
  18. disk_toggle [FLAG] toggle the state of FLAG on selected device
  19. set NUMBER FLAG STATE change the FLAG on partition NUMBER
  20. toggle [NUMBER [FLAG]] toggle the state of FLAG on partition NUMBER
  21. unit UNIT set the default unit to UNIT
  22. version display the version number and copyright information of GNU Parted
  23.  
  24. Note that after version 2.4, the following commands were removed: check, cp,
  25. mkfs, mkpartfs, move, resize.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement