The NetBSD Project

CVS log for src/sbin/scsictl/scsictl.c

[BACK] Up to [cvs.NetBSD.org] / src / sbin / scsictl

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.40 / (download) - annotate - [select for diffs], Sun Aug 21 12:44:16 2022 UTC (5 weeks ago) by mlelstv
Branch: MAIN
CVS Tags: HEAD
Changes since 1.39: +86 -2 lines
Diff to previous 1.39 (colored)

Add REPORT_LUNS command.

Revision 1.37.12.1 / (download) - annotate - [select for diffs], Wed Jan 18 08:46:24 2017 UTC (5 years, 8 months ago) by skrll
Branch: netbsd-7-nhusb
Changes since 1.37: +93 -2 lines
Diff to previous 1.37 (colored) next main 1.38 (colored)

Sync with netbsd-5

Revision 1.33.4.1 / (download) - annotate - [select for diffs], Sun Jan 15 23:51:32 2017 UTC (5 years, 8 months ago) by snj
Branch: netbsd-6
Changes since 1.33: +93 -2 lines
Diff to previous 1.33 (colored) next main 1.34 (colored)


Pull up following revision(s) (requested by flxd in ticket #1418):
	sbin/scsictl/scsictl.8: 1.27, 1.29, 1.30 via patch
	sbin/scsictl/scsictl.c: revision 1.39 via patch
	sys/dev/scsipi/scsi_disk.h: revision 1.32
Add "getrealloc" and "setrealloc" commands to get/set automatic reallocation
parameters/enables for error recovery, similar to {get,set}cache.
Many old SCSI disks shipped with reallocation disabled, albeit
supporting it.
Minor (cosmetic) fixup of scsi_disk_pages while there.
Based upon code in PR bin/29165 by Greg A. Woods.
OK christos@
--
Bump date for previous.
--
Add crossreference to scsi(4) per note in PR 9627.
Whitespace, sort.

Revision 1.38.2.1 / (download) - annotate - [select for diffs], Sat Jan 7 08:56:07 2017 UTC (5 years, 8 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.38: +93 -2 lines
Diff to previous 1.38 (colored) next main 1.39 (colored)

Sync with HEAD.  (Note that most of these changes are simply $NetBSD$
tag issues.)

Revision 1.37.8.1 / (download) - annotate - [select for diffs], Sat Dec 3 12:20:32 2016 UTC (5 years, 9 months ago) by martin
Branch: netbsd-7
CVS Tags: netbsd-7-nhusb-base-20170116, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1
Changes since 1.37: +93 -2 lines
Diff to previous 1.37 (colored) next main 1.38 (colored)

Pull up following revision(s) (requested by flxd in ticket #1276):
	sys/dev/scsipi/scsi_disk.h: revision 1.32
	sbin/scsictl/scsictl.8: revision 1.27-1.30
	sbin/scsictl/scsictl.c: revision 1.39
Add "getrealloc" and "setrealloc" commands to get/set automatic reallocation
parameters/enables for error recovery, similar to {get,set}cache.
Many old SCSI disks shipped with reallocation disabled, albeit
supporting it.
Minor (cosmetic) fixup of scsi_disk_pages while there.
Based upon code in PR bin/29165 by Greg A. Woods.
OK christos@
Bump date for previous.
Use more and more appropriate markup while here.
Add crossreference to scsi(4) per note in PR 9627.
Whitespace, sort.

Revision 1.39 / (download) - annotate - [select for diffs], Sat Nov 19 08:43:40 2016 UTC (5 years, 10 months ago) by flxd
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, phil-wifi, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, perseant-stdc-iso10646-base, perseant-stdc-iso10646, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek, is-mlppp-base, is-mlppp, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Changes since 1.38: +93 -2 lines
Diff to previous 1.38 (colored)

Add "getrealloc" and "setrealloc" commands to get/set automatic reallocation
parameters/enables for error recovery, similar to {get,set}cache.
Many old SCSI disks shipped with reallocation disabled, albeit supporting it.
Minor (cosmetic) fixup of scsi_disk_pages while there.
Based upon code in PR bin/29165 by Greg A. Woods.
OK christos@

Revision 1.38 / (download) - annotate - [select for diffs], Sat Oct 18 08:33:24 2014 UTC (7 years, 11 months ago) by snj
Branch: MAIN
CVS Tags: pgoyette-localcount-base, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, localcount-20160914
Branch point for: pgoyette-localcount
Changes since 1.37: +4 -4 lines
Diff to previous 1.37 (colored)

src is too big these days to tolerate superfluous apostrophes.  It's
"its", people!

Revision 1.33.8.2 / (download) - annotate - [select for diffs], Mon Feb 25 00:28:11 2013 UTC (9 years, 7 months ago) by tls
Branch: tls-maxphys
Changes since 1.33.8.1: +4 -4 lines
Diff to previous 1.33.8.1 (colored) to branchpoint 1.33 (colored) next main 1.34 (colored)

resync with head

Revision 1.33.2.2 / (download) - annotate - [select for diffs], Wed Jan 23 00:05:34 2013 UTC (9 years, 8 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.33.2.1: +4 -4 lines
Diff to previous 1.33.2.1 (colored) to branchpoint 1.33 (colored) next main 1.34 (colored)

sync with head

Revision 1.33.2.1 / (download) - annotate - [select for diffs], Wed Jan 16 05:32:34 2013 UTC (9 years, 8 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.33: +56 -59 lines
Diff to previous 1.33 (colored)

sync with (a bit old) head

Revision 1.37 / (download) - annotate - [select for diffs], Sat Jan 12 02:52:59 2013 UTC (9 years, 8 months ago) by jakllsch
Branch: MAIN
CVS Tags: yamt-pagecache-base9, yamt-pagecache-base8, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, netbsd-7-nhusb-base, netbsd-7-base, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, agc-symver-base, agc-symver
Branch point for: netbsd-7-nhusb, netbsd-7
Changes since 1.36: +3 -3 lines
Diff to previous 1.36 (colored)

We supply data with the FORMAT UNIT command, so tell the kernel which
direction it is to go (write).

Revision 1.36 / (download) - annotate - [select for diffs], Sat Jan 12 02:50:09 2013 UTC (9 years, 8 months ago) by jakllsch
Branch: MAIN
Changes since 1.35: +3 -3 lines
Diff to previous 1.35 (colored)

take sizeof actual symbol we are memsetting

Revision 1.33.8.1 / (download) - annotate - [select for diffs], Tue Nov 20 03:00:50 2012 UTC (9 years, 10 months ago) by tls
Branch: tls-maxphys
Changes since 1.33: +56 -59 lines
Diff to previous 1.33 (colored)

Resync to 2012-11-19 00:00:00 UTC

Revision 1.35 / (download) - annotate - [select for diffs], Sat Nov 3 19:26:52 2012 UTC (9 years, 10 months ago) by jakllsch
Branch: MAIN
CVS Tags: yamt-pagecache-base7
Changes since 1.34: +56 -56 lines
Diff to previous 1.34 (colored)

make a bunch of globals static

Revision 1.34 / (download) - annotate - [select for diffs], Sat Nov 3 19:14:53 2012 UTC (9 years, 10 months ago) by jakllsch
Branch: MAIN
Changes since 1.33: +2 -5 lines
Diff to previous 1.33 (colored)

drop write-only variable

Revision 1.33 / (download) - annotate - [select for diffs], Mon Aug 29 14:35:04 2011 UTC (11 years ago) by joerg
Branch: MAIN
CVS Tags: yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus
Branch point for: yamt-pagecache, tls-maxphys, netbsd-6
Changes since 1.32: +4 -4 lines
Diff to previous 1.32 (colored)

Use __dead

Revision 1.32 / (download) - annotate - [select for diffs], Tue May 24 12:04:18 2011 UTC (11 years, 4 months ago) by joerg
Branch: MAIN
CVS Tags: cherry-xenmp-base, cherry-xenmp
Changes since 1.31: +3 -3 lines
Diff to previous 1.31 (colored)

Decide on printing an int as int and not as short.

Revision 1.30.4.1 / (download) - annotate - [select for diffs], Mon Jun 2 13:21:24 2008 UTC (14 years, 3 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.30: +2 -9 lines
Diff to previous 1.30 (colored) next main 1.31 (colored)

Sync with HEAD.

Revision 1.30.6.1 / (download) - annotate - [select for diffs], Sun May 18 12:30:54 2008 UTC (14 years, 4 months ago) by yamt
Branch: yamt-pf42
Changes since 1.30: +2 -9 lines
Diff to previous 1.30 (colored) next main 1.31 (colored)

sync with head.

Revision 1.31 / (download) - annotate - [select for diffs], Mon Apr 28 20:23:09 2008 UTC (14 years, 5 months ago) by martin
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, mjf-devfs2-base, matt-premerge-20091211, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-premerge-20101231, matt-mips64-base2, jym-xensuspend-nbase, jym-xensuspend-base, jym-xensuspend, hpcarm-cleanup-nbase, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Changes since 1.30: +2 -9 lines
Diff to previous 1.30 (colored)

Remove clause 3 and 4 from TNF licenses

Revision 1.29.4.1 / (download) - annotate - [select for diffs], Sun Mar 23 00:44:25 2008 UTC (14 years, 6 months ago) by matt
Branch: matt-armv6
Changes since 1.29: +3 -3 lines
Diff to previous 1.29 (colored) next main 1.30 (colored)

sync with HEAD

Revision 1.29.6.1 / (download) - annotate - [select for diffs], Mon Feb 18 21:04:18 2008 UTC (14 years, 7 months ago) by mjf
Branch: mjf-devfs
Changes since 1.29: +3 -3 lines
Diff to previous 1.29 (colored) next main 1.30 (colored)

Sync with HEAD.

Revision 1.30 / (download) - annotate - [select for diffs], Sat Feb 2 17:07:04 2008 UTC (14 years, 7 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base, mjf-devfs-base, matt-armv6-nbase, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-base
Branch point for: yamt-pf42, mjf-devfs2
Changes since 1.29: +3 -3 lines
Diff to previous 1.29 (colored)

PR/37932: Yakovetsky Vladimir: build distribution with USE_FORT fails
fix buffer overflow

Revision 1.29 / (download) - annotate - [select for diffs], Mon Jan 22 20:56:46 2007 UTC (15 years, 8 months ago) by bouyer
Branch: MAIN
CVS Tags: matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, matt-armv6-base, hpcarm-cleanup, cube-autoconf-base, cube-autoconf
Branch point for: mjf-devfs, matt-armv6
Changes since 1.28: +48 -6 lines
Diff to previous 1.28 (colored)

Kimura Fuyuki, bin/35216: add a setspeed command, to set the highest speed
that the optical drive should use for reading data.

Revision 1.27.2.1 / (download) - annotate - [select for diffs], Tue Jun 14 20:41:06 2005 UTC (17 years, 3 months ago) by tron
Branch: netbsd-3
CVS Tags: netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0
Changes since 1.27: +6 -2 lines
Diff to previous 1.27 (colored) next main 1.28 (colored)

Pull up revision 1.28 (requested by lukem in ticket #402):
Ensure that "setcache <mode>" doesn't use random data for "byte2"
("setcache <mode> save" DTRT).
Found by gcc -Wuninitialized.
Appease other -Wuninitialized warnings.

Revision 1.28 / (download) - annotate - [select for diffs], Thu Jun 2 00:13:10 2005 UTC (17 years, 3 months ago) by lukem
Branch: MAIN
CVS Tags: wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, abandoned-netbsd-4-base, abandoned-netbsd-4
Changes since 1.27: +6 -2 lines
Diff to previous 1.27 (colored)

Ensure that "setcache <mode>" doesn't use random data for "byte2"
("setcache <mode> save" DTRT).
Found by gcc -Wuninitialized.

Appease other -Wuninitialized warnings.

Revision 1.27 / (download) - annotate - [select for diffs], Mon Feb 21 00:29:08 2005 UTC (17 years, 7 months ago) by thorpej
Branch: MAIN
CVS Tags: netbsd-3-base
Branch point for: netbsd-3
Changes since 1.26: +32 -31 lines
Diff to previous 1.26 (colored)

Part 1 of a cleanup pass over the SCSI subsystem.  The aim is to name
everything "scsi_*", since we really are talking about the SCSI command
set, ATAPI transport not withstanding.  Improve the names of many structures,
and prepend "SCSI_" onto all SCSI command opcodes.  Place items described
by the SCSI Primary Commands document into scsi_spc.h.

Revision 1.26 / (download) - annotate - [select for diffs], Sat Feb 5 13:37:39 2005 UTC (17 years, 7 months ago) by xtraeme
Branch: MAIN
Changes since 1.25: +51 -95 lines
Diff to previous 1.25 (colored)

Kill __P(), use ANSI function declarations; WARNS=3.

Revision 1.25 / (download) - annotate - [select for diffs], Fri Jan 7 02:08:34 2005 UTC (17 years, 8 months ago) by ginsbach
Branch: MAIN
Changes since 1.24: +239 -2 lines
Diff to previous 1.24 (colored)

Add command to read the defect data from a direct access device.

Revision 1.23.2.1 / (download) - annotate - [select for diffs], Tue Jun 1 04:40:34 2004 UTC (18 years, 3 months ago) by jmc
Branch: netbsd-2-0
CVS Tags: netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2
Changes since 1.23: +4 -4 lines
Diff to previous 1.23 (colored) next main 1.24 (colored)

Pullup rev 1.24 (requested by fair in ticket #431)

Increase the SCSI command timeout for device start & stop from 10
to 30 seconds. PR#25734

Revision 1.24 / (download) - annotate - [select for diffs], Tue Jun 1 02:40:00 2004 UTC (18 years, 3 months ago) by fair
Branch: MAIN
Changes since 1.23: +4 -4 lines
Diff to previous 1.23 (colored)

Increase the SCSI command timeout for device start & stop from 10
to 30 seconds, per PR 25734. I've seen this problem myself. I think
that scsictl should:

1. accept a timeout flag/parameter to set the timeout to an arbitrary
value other than the default.

2. support a verbose mode that would report the timeout value before
the command is started, and then report how long the command actually
took to complete, though I suppose the latter could also be done
by using time(1).

Revision 1.23 / (download) - annotate - [select for diffs], Mon Jan 5 23:23:33 2004 UTC (18 years, 8 months ago) by jmmv
Branch: MAIN
CVS Tags: netbsd-2-0-base
Branch point for: netbsd-2-0
Changes since 1.22: +3 -3 lines
Diff to previous 1.22 (colored)

Homogenize usage messages: make the 'usage' word all lowercase, as this seems
to be the most common practice in our tree.

Revision 1.22 / (download) - annotate - [select for diffs], Mon Sep 1 04:34:16 2003 UTC (19 years ago) by mycroft
Branch: MAIN
Changes since 1.21: +58 -2 lines
Diff to previous 1.21 (colored)

Add prevent/allow commands.

Revision 1.21 / (download) - annotate - [select for diffs], Mon Sep 1 04:24:55 2003 UTC (19 years ago) by mycroft
Branch: MAIN
Changes since 1.20: +32 -2 lines
Diff to previous 1.20 (colored)

Add a flushcache command -- I need it for my DVD+RW.

Revision 1.15.2.1 / (download) - annotate - [select for diffs], Mon Jul 28 17:36:03 2003 UTC (19 years, 2 months ago) by he
Branch: netbsd-1-6
CVS Tags: netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002
Changes since 1.15: +407 -13 lines
Diff to previous 1.15 (colored) next main 1.16 (colored)

Pull up revisions 1.16-1.18 (requested by thorpej in ticket #764):
  Several changes/updates to scsictl:
   o Allow specification of logical blocksize
   o Add 'getcache' and 'setcache' commands
   o Add 'tur', 'reserve', 'release', 'start', and 'stop' functions
   o Add an 'immediate' option to do formatting in the background
   o Fix bug in scsi_command -- value in resets is an int not a
     bitmask
   o Fix usage of errx() / warnx() and remove unneeded trailing \n

Revision 1.20 / (download) - annotate - [select for diffs], Mon Jun 23 11:53:43 2003 UTC (19 years, 3 months ago) by agc
Branch: MAIN
Changes since 1.19: +7 -1 lines
Diff to previous 1.19 (colored)

Add NetBSD RCS Ids.

Revision 1.19 / (download) - annotate - [select for diffs], Thu Sep 26 06:15:38 2002 UTC (20 years ago) by petrov
Branch: MAIN
CVS Tags: fvdl_fs64_base
Changes since 1.18: +27 -1 lines
Diff to previous 1.18 (colored)

Added debug command to support SCIOCDEBUG.

Revision 1.18 / (download) - annotate - [select for diffs], Tue Sep 3 16:56:05 2002 UTC (20 years ago) by thorpej
Branch: MAIN
Changes since 1.17: +105 -14 lines
Diff to previous 1.17 (colored)

* Add "getcache" and "setcache" commands to get/set basic cache
  parameters (enables, really).
* Fix an error in the manpage.
* Shuffle some code to group things together better.

Revision 1.17 / (download) - annotate - [select for diffs], Sat Jul 20 08:36:28 2002 UTC (20 years, 2 months ago) by grant
Branch: MAIN
Changes since 1.16: +5 -5 lines
Diff to previous 1.16 (colored)

sweep of errx/warnx, remove unnecessary trailing \n

Revision 1.16 / (download) - annotate - [select for diffs], Wed Jun 26 16:04:14 2002 UTC (20 years, 3 months ago) by mjacob
Branch: MAIN
Changes since 1.15: +313 -10 lines
Diff to previous 1.15 (colored)

Add a bunch of stuff from Bob Nestor that fixes format to allow one to
specify device logical blocksize.

Furthermore, it also adds an 'immediate' option, which then sends more modern
devices into formatting in the background. scsictl still waits around and
sends a TEST UNIT READY every 10 seconds and, based upon the sense data
it gets back after the invariable CHECK CONDITION, prints out a progress
indicator (based upon SKSV progress in the sense data).

While we're at it, add a 'tur', 'reserve', 'release', 'start' and 'stop'
functions to the device commands.

Fix a long standing bug in scsi_command- the value in retsts is an integral
value- not a bitmask.

Revision 1.15 / (download) - annotate - [select for diffs], Sun Apr 14 03:24:42 2002 UTC (20 years, 5 months ago) by tsutsui
Branch: MAIN
CVS Tags: netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001
Branch point for: netbsd-1-6
Changes since 1.14: +2 -2 lines
Diff to previous 1.14 (colored)

21600000 -> 6*60*60*1000 (timeout in six hours for format command)

Revision 1.14 / (download) - annotate - [select for diffs], Wed Jul 18 20:36:36 2001 UTC (21 years, 2 months ago) by bouyer
Branch: MAIN
Changes since 1.13: +42 -1 lines
Diff to previous 1.13 (colored)

Add and document a 'detach' command.

Revision 1.13 / (download) - annotate - [select for diffs], Tue May 15 15:11:02 2001 UTC (21 years, 4 months ago) by bouyer
Branch: MAIN
Changes since 1.12: +2 -2 lines
Diff to previous 1.12 (colored)

Adapt for MODE SENSE/SELECT changes in kernel.

Revision 1.12 / (download) - annotate - [select for diffs], Sun Apr 1 14:59:56 2001 UTC (21 years, 5 months ago) by ad
Branch: MAIN
Changes since 1.11: +5 -5 lines
Diff to previous 1.11 (colored)

Remove superfluous newlines in calls to errx().

Revision 1.11 / (download) - annotate - [select for diffs], Mon Feb 19 22:56:23 2001 UTC (21 years, 7 months ago) by cgd
Branch: MAIN
Changes since 1.10: +2 -4 lines
Diff to previous 1.10 (colored)

convert to use getprogname()

Revision 1.7.2.1 / (download) - annotate - [select for diffs], Mon Dec 27 18:30:33 1999 UTC (22 years, 9 months ago) by wrstuden
Branch: wrstuden-devbsize
Changes since 1.7: +12 -7 lines
Diff to previous 1.7 (colored) next main 1.8 (colored)

Pull up to last week's -current.

Revision 1.10 / (download) - annotate - [select for diffs], Wed Oct 27 22:29:06 1999 UTC (22 years, 11 months ago) by mycroft
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, netbsd-1-5-base, netbsd-1-5-RELEASE, netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2, netbsd-1-5, minoura-xpg4dl-base, minoura-xpg4dl, comdex-fall-1999-base, comdex-fall-1999
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 (colored)

Increase the format timeout to 6 hours.

Revision 1.9 / (download) - annotate - [select for diffs], Mon Oct 4 17:10:56 1999 UTC (22 years, 11 months ago) by mycroft
Branch: MAIN
Changes since 1.8: +8 -3 lines
Diff to previous 1.8 (colored)

Make `reassign' actually work.

Revision 1.8 / (download) - annotate - [select for diffs], Tue Sep 28 23:32:04 1999 UTC (23 years ago) by ad
Branch: MAIN
Changes since 1.7: +4 -4 lines
Diff to previous 1.7 (colored)

Make `all' a synonym for the `any' keyword.

Revision 1.7 / (download) - annotate - [select for diffs], Fri Aug 13 21:12:18 1999 UTC (23 years, 1 month ago) by mjl
Branch: MAIN
Branch point for: wrstuden-devbsize
Changes since 1.6: +14 -13 lines
Diff to previous 1.6 (colored)

Clarify usage message.

Revision 1.6 / (download) - annotate - [select for diffs], Fri Jul 30 02:29:04 1999 UTC (23 years, 2 months ago) by hubertf
Branch: MAIN
Changes since 1.5: +31 -43 lines
Diff to previous 1.5 (colored)

Collect all little usage-messages spread around into one place,
and as a side effect, print the available commands (and their
usage) if no command is given on the command line.

Approved by Jason Thorpe.

Revision 1.5 / (download) - annotate - [select for diffs], Wed Feb 24 18:51:39 1999 UTC (23 years, 7 months ago) by jwise
Branch: MAIN
CVS Tags: netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001, netbsd-1-4
Changes since 1.4: +3 -3 lines
Diff to previous 1.4 (colored)

Code to check if a cooked device was specified was failing even if the
cooked device was opened successfully.  Also fix a typo.

Fixes second part of PR bin/6883 for Soren S. Jorvang <soren@t.dk>

Revision 1.4 / (download) - annotate - [select for diffs], Thu Nov 12 01:16:09 1998 UTC (23 years, 10 months ago) by thorpej
Branch: MAIN
Changes since 1.3: +48 -1 lines
Diff to previous 1.3 (colored)

Simple support for formatting a SCSI disk.  This will be enhanced in
the near future.

Revision 1.3 / (download) - annotate - [select for diffs], Sat Oct 17 05:08:27 1998 UTC (23 years, 11 months ago) by thorpej
Branch: MAIN
Changes since 1.2: +11 -9 lines
Diff to previous 1.2 (colored)

Fix a thinko in the device opening code.

Revision 1.2 / (download) - annotate - [select for diffs], Thu Oct 15 21:49:09 1998 UTC (23 years, 11 months ago) by thorpej
Branch: MAIN
Changes since 1.1: +7 -6 lines
Diff to previous 1.1 (colored)

Fix a couple of usage strings.

Revision 1.1 / (download) - annotate - [select for diffs], Thu Oct 15 21:44:39 1998 UTC (23 years, 11 months ago) by thorpej
Branch: MAIN

scsictl(8) - a program to manipulate SCSI devices and busses.  Currently
supports:

Devices: identify, reassign blocks, reset

Busses: reset, scan for devices

Coming soon, device formatting, mode page editing, device freeze/thaw, etc.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>