/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License, Version 1.0 only
* (the "License"). You may not use this file except in compliance
* with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* See the License for the specific language governing permissions
* and limitations under the License.
*
* When distributing Covered Code, include this CDDL HEADER in each
* file and include the License file at usr/src/OPENSOLARIS.LICENSE.
* If applicable, add the following below this CDDL HEADER, with the
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/*
* Copyright 2005 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
#pragma ident "%Z%%M% %I% %E% SMI"
/*
* This file contains functions that implement the fdisk menu commands.
*/
#include "global.h"
#include <sys/resource.h>
#include <signal.h>
#include <string.h>
#include "main.h"
#include "analyze.h"
#include "menu.h"
#include "menu_developer.h"
#include "param.h"
#include "misc.h"
#include "label.h"
#include "startup.h"
#include "partition.h"
#include "prompts.h"
#include "checkdev.h"
#include "io.h"
#include "ctlr_scsi.h"
#include "auto_sense.h"
#include "hardware_structs.h"
extern struct menu_item menu_developer[];
int
{
cur_menu++;
/*
* Run the menu.
*/
cur_menu--;
return (0);
}
int
dv_disk()
{
(void) printf("ctlr_cname = %s ",
(void) printf("cltr_dname = %s ",
(void) printf("ctype_name = %s\n",
(void) printf("ctype_ctype = %d\n",
}
return (0);
}
int
dv_cont()
{
(void) printf("\nctype_name = %s ",
(void) printf("cname = %s dname = %s ",
(void) printf("ctype_ctype = %d\n",
}
return (0);
}
int
{
(void) printf("ctlrp is NULL!!\n");
(void) printf("ctlrp->ctlr_type->ctype_name = %s\n",
}
return (0);
}
int
{
return (0);
}