History log of /netbsd/sbin/disklabel/extern.h (Results 1 – 13 of 13)
Revision Date Author Comments
# 2d3fc798 03-May-2013 matt <matt@NetBSD.org>

Make disklabel a MI tool. It will use MACHINE/MACHINE_ARCH to determine
the disklabel params as well as allowing command-line options of -M <machine>
and -B {le,be} to specify MACHINE and byteorder

Make disklabel a MI tool. It will use MACHINE/MACHINE_ARCH to determine
the disklabel params as well as allowing command-line options of -M <machine>
and -B {le,be} to specify MACHINE and byteorder to be used.

show more ...


# 8aede6bf 17-Jan-2013 christos <christos@NetBSD.org>

move dk_ioctl to a header file for the benefit of x-building.


# 550147bd 21-Oct-2009 snj <snj@NetBSD.org>

Remove 3rd and 4th clauses in christos' license. OK christos.


# 91af0d68 26-Nov-2006 jmmv <jmmv@NetBSD.org>

Add a '-l' flag and a 'L' command to interactive mode to list all known
file system types. (Similar to what fdisk does for partition types.)

Closes PR bin/12954.


# 65151c95 19-Oct-2005 dsl <dsl@NetBSD.org>

Rototil the way disklabel -r reads and writes labels.
In particular the 'read' part plays 'hunt the disklabel' in order to get a
label into a local buffer - from where it can be displayed/edited.
The

Rototil the way disklabel -r reads and writes labels.
In particular the 'read' part plays 'hunt the disklabel' in order to get a
label into a local buffer - from where it can be displayed/edited.
The 'write' part makes a separate scan of the disk looking for places to
write the label.
The main changes are:
- It can no longer write the first 8k of the mbr to the pbr (or v.v.)
- All labels on the disk (that it can find) get updated during a write
- With -A all the labels are displayed (inc. those deleted by -D)
- Addition of -D which will delete (by one's complimenting dk_magic{2}) and
existing labels before writing labels to the expected locations.
- -v gives some verbose output to stderr, -vv more etc
A better basis for processing incorrect endian labels, or labels from other
architectures.

show more ...


# 994f1fb3 13-Dec-2001 reinoud <reinoud@NetBSD.org>

Remove `const' attribute from writelabel prototype and function to make it
compile again on Alpha.


# 79569512 26-May-2001 christos <christos@NetBSD.org>

- 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 p

- 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.

show more ...


# 1c5cb88e 24-Dec-2000 lukem <lukem@NetBSD.org>

move showinfo() and showpartition() into separate file, for use by
other programs. slightly change argument signature so that globals
aren't depended upon.


# 35ccd223 24-Dec-2000 lukem <lukem@NetBSD.org>

- convert to KNF ANSI style guide
- reorder arguments of runcmd(), getnum(), defnum() to be consistent
with other functions (pass struct disklabel * first)


# 5f534fca 26-Nov-1999 mrg <mrg@NetBSD.org>

allow changing partition info from inside the interactive handler.


# 563aff81 03-May-1999 christos <christos@NetBSD.org>

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 'un

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'.

show more ...


# 5ec7cc78 30-Jun-1997 christos <christos@NetBSD.org>

Fix warnings.


# 72fbacb3 08-Mar-1997 christos <christos@NetBSD.org>

Add -i (interactive mode to create/edit labels) inspired by the SunOS/Solaris
format/partition command.