Advertisement
Guest User

Untitled

a guest
Apr 7th, 2013
45
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.81 KB | None | 0 0
  1. Usage:
  2. sfdisk [options] <device> [...]
  3.  
  4. Options:
  5. -s, --show-size list size of a partition
  6. -c, --id change or print partition Id
  7. --change-id change Id
  8. --print-id print Id
  9. -l, --list list partitions of each device
  10. -d, --dump idem, but in a format suitable for later input
  11. -i, --increment number cylinders etc. from 1 instead of from 0
  12. -u, --unit <letter> units to be used; <letter> can be one of
  13. S (sectors), C (cylinders), B (blocks), or M (MB)
  14. -1, --one-only reserved option that does nothing currently
  15. -T, --list-types list the known partition types
  16. -D, --DOS for DOS-compatibility: waste a little space
  17. -E, --DOS-extended DOS extended partition compatibility
  18. -R, --re-read make the kernel reread the partition table
  19. -N <number> change only the partition with this <number>
  20. -n do not actually write to disk
  21. -O <file> save the sectors that will be overwritten to <file>
  22. -I <file> restore sectors from <file>
  23. -V, --verify check that the listed partitions are reasonable
  24. -v, --version display version information and exit
  25. -h, --help display this help text and exit
  26.  
  27. Dangerous options:
  28. -f, --force disable all consistency checking
  29. --no-reread do not check whether the partition is in use
  30. -q, --quiet suppress warning messages
  31. -L, --Linux do not complain about things irrelevant for Linux
  32. -g, --show-geometry print the kernel's idea of the geometry
  33. -G, --show-pt-geometry print geometry guessed from the partition table
  34. -A, --activate[=<device>] activate bootable flag
  35. -U, --unhide[=<dev>] set partition unhidden
  36. -x, --show-extended also list extended partitions in the output,
  37. or expect descriptors for them in the input
  38. --leave-last do not allocate the last cylinder
  39. --IBM same as --leave-last
  40. --in-order partitions are in order
  41. --not-in-order partitions are not in order
  42. --inside-outer all logicals inside outermost extended
  43. --not-inside-outer not all logicals inside outermost extended
  44. --nested every partition is disjoint from all others
  45. --chained like nested, but extended partitions may lie outside
  46. --onesector partitions are mutually disjoint
  47.  
  48. Override the detected geometry using:
  49. -C, --cylinders <number> set the number of cylinders to use
  50. -H, --heads <number> set the number of heads to use
  51. -S, --sectors <number> set the number of sectors to use
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement