Date: Mon, 1 May 1995 12:45:57 -0700 (PDT) From: Julian Elischer <julian@ref.tfs.com> To: dufault@freefall.cdrom.com (Peter Dufault) Cc: CVS-commiters@freefall.cdrom.com, cvs-sbin@freefall.cdrom.com Subject: Re: cvs commit: src/sbin/scsi scsi.8 scsi.c Message-ID: <199505011945.MAA04236@ref.tfs.com> In-Reply-To: <199505011235.FAA22911@freefall.cdrom.com> from "Peter Dufault" at May 1, 95 05:35:07 am
next in thread | previous in thread | raw e-mail | index | archive | help
You need to doit on the 'd' device (under old code.. no idea what under the new slice code.. will go check.. hmmm if (PARTITION(dev) != RAW_PART && !SCSI_SUPER(dev)) return (ENOTTY); return (scsi_do_ioctl(dev, cmd, addr, flag, p, sc_link)); I guess we should change that to if ((SLICE(dev) != WHOLE_DISK_SLICE) && !SCSI_SUPER(dev)) return (ENOTTY); return (scsi_do_ioctl(dev, cmd, addr, flag, p, sc_link)); > > dufault 95/05/01 05:35:06 > > Modified: sbin/scsi scsi.8 scsi.c > Log: > Add a "-s" argument to specify the command timeout in seconds. > Now you should be able to format a disk with something like: > > scsi -f /dev/rsd?c -s 1200 -c "4 0 0 0 0 0" > assuming sd.c lets you open it. >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199505011945.MAA04236>