*BSD News Article 47310


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!vtc.tacom.army.mil!news1.oakland.edu!wsu-cs!usenet.ins.cwru.edu!gatech!news.sprintlink.net!EU.net!sun4nl!knoware.nl!news.utrecht.knoware.nl!usenet
From: niek@knoware.nl (Niek Rijnbout)
Newsgroups: comp.unix.bsd.bsdi.misc
Subject: Re: Help Please: dump syntax problem
Date: Mon, 24 Jul 1995 23:49:14 GMT
Organization: Knoware
Lines: 17
Message-ID: <3v1bg8$jk@news.knoware.nl>
References: <3uhsih$bro@westie.mid.net>
NNTP-Posting-Host: niek.knoware.nl
X-Newsreader: Forte Free Agent 1.0.82

alan@mid.net (Alan Hannan) wrote:
>: # /sbin/dump -s 100000 -0uf /usr/sd0h.dumpo /dev/rsd0h
>: Unknown arguments to dump: /usr/sd0h.dumpo /dev/rsd0h

Yup, the getops of dump want the options first, and then the
parameters to the options. So you're command line would be:

dump -0suf 1000000  /usr/sd0h.dumpo /dev/rsd0h
0 no parameters
s 1000000
u no parameters
f /usr/sd0h/dumpo

(I did not check the logic of the parameters)

Niek.