diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2005-01-19 15:48:21 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2005-01-19 15:48:21 +0000 |
commit | 3d950ae7b18a74e68d00f7aa1aeedc0de767a37f (patch) | |
tree | 9a9f84b4c929cc44515b66e7b11577924a0b040d /sbin/fdisk/user.c | |
parent | 32ae4c7606813925856a8f6d568185dce44029ef (diff) |
add a swap primitive; ok various, will be polished after by tom
Diffstat (limited to 'sbin/fdisk/user.c')
-rw-r--r-- | sbin/fdisk/user.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sbin/fdisk/user.c b/sbin/fdisk/user.c index 7be29c73636..3727ae4988d 100644 --- a/sbin/fdisk/user.c +++ b/sbin/fdisk/user.c @@ -1,4 +1,4 @@ -/* $OpenBSD: user.c,v 1.21 2003/06/11 06:22:12 deraadt Exp $ */ +/* $OpenBSD: user.c,v 1.22 2005/01/19 15:48:20 deraadt Exp $ */ /* * Copyright (c) 1997 Tobias Weingartner @@ -53,6 +53,7 @@ static cmd_table_t cmd_table[] = { {"flag", Xflag, "Flag given table entry as bootable"}, {"update", Xupdate, "Update machine code in loaded MBR"}, {"select", Xselect, "Select extended partition table entry MBR"}, + {"swap", Xswap, "Swap two partition entries"}, {"print", Xprint, "Print loaded MBR partition table"}, {"write", Xwrite, "Write loaded MBR to disk"}, {"exit", Xexit, "Exit edit of current MBR, without saving changes"}, |