Subject: Re: Where did fdisk go ???
To: Luke Kearney <lukek@meibin.net>
From: Andrew Brown <atatat@atatdot.net>
List: port-sparc
Date: 09/17/2001 11:27:37
>For some reason I cannot find the fdisk command on my newly installed NetBSD
>machine
>
>NetBSD  1.5 NetBSD 1.5 (GENERIC) #1: Wed Nov 29 00:29:52 MET 2000
>root@flambard:/usr/src/sys/arch/sparc/compile/GENERIC sparc
>
>Any ideas ??? Surely this basic command *is* included on NetBSD
>
>Any assistance is appreciated

no fdisk on sparc.  the makefile for fdisk says:

.if (${MACHINE} == "i386" || ${MACHINE} == "bebox" || ${MACHINE} == "cobalt" ||\
    ${MACHINE} == "ofppc" || ${MACHINE} == "hpcmips" || ${MACHINE} == "arc" ||\
    ${MACHINE} == "prep")
PROG=   fdisk 
SRCS=   fdisk.c
DPADD+= ${LIBUTIL}
LDADD+= -lutil
.endif

so sparc doesn't get one.  disklabel and installboot should do it all
for you.

-- 
|-----< "CODE WARRIOR" >-----|
codewarrior@daemon.org             * "ah!  i see you have the internet
twofsonet@graffiti.com (Andrew Brown)                that goes *ping*!"
andrew@crossbar.com       * "information is power -- share the wealth."