Commit Graph

8 Commits

Author SHA1 Message Date
reinoud 994f1fb3f6 Remove `const' attribute from writelabel prototype and function to make it
compile again on Alpha.
2001-12-13 13:52:13 +00:00
christos 7956951247 - KNF printlabel.c
- add a function to print only one partition's info.
- print the partition information if it was modified in interactive mode.
- improve on the chaining code. [still assumes that partition offsets increase
  monotonically]. We could check for overlap too.
2001-05-26 19:48:32 +00:00
lukem 1c5cb88e30 move showinfo() and showpartition() into separate file, for use by
other programs.  slightly change argument signature so that globals
aren't depended upon.
2000-12-24 07:08:02 +00:00
lukem 35ccd2239b - convert to KNF ANSI style guide
- reorder arguments of runcmd(), getnum(), defnum() to be consistent
  with other functions (pass struct disklabel * first)
2000-12-24 05:59:11 +00:00
mrg 5f534fca77 allow changing partition info from inside the interactive handler. 1999-11-26 06:03:09 +00:00
christos 563aff8153 Add a 'chain' command in interactive mode that allows you to vary the
size of the partitions, while the starting point gets adjusted automagically.
This chaining works for partitions that are not 'unused'.
1999-05-03 09:45:01 +00:00
christos 5ec7cc78a5 Fix warnings. 1997-06-30 22:51:27 +00:00
christos 72fbacb380 Add -i (interactive mode to create/edit labels) inspired by the SunOS/Solaris
format/partition command.
1997-03-08 23:46:08 +00:00