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


Keyword substitution: kv
Default branch: MAIN


Revision 1.42: download - view: text, markup, annotated - select for diffs
Sun Nov 10 01:55:06 2024 UTC (3 weeks, 3 days ago) by riastradh
Branches: MAIN
CVS tags: HEAD
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +13 -19 lines
scsictl(8): KNF

No functional change intended.

Revision 1.41: download - view: text, markup, annotated - select for diffs
Sat Nov 9 11:09:40 2024 UTC (3 weeks, 4 days ago) by mlelstv
Branches: MAIN
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +153 -6 lines
Add 'identify vpd' to also report Vital Product Data that identifies the device.

Revision 1.40: download - view: text, markup, annotated - select for diffs
Sun Aug 21 12:44:16 2022 UTC (2 years, 3 months ago) by mlelstv
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, netbsd-10-base, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +86 -2 lines
Add REPORT_LUNS command.

Revision 1.37.12.1: download - view: text, markup, annotated - select for diffs
Wed Jan 18 08:46:24 2017 UTC (7 years, 10 months ago) by skrll
Branches: netbsd-7-nhusb
Diff to: previous 1.37: preferred, colored; next MAIN 1.38: preferred, colored
Changes since revision 1.37: +93 -2 lines
Sync with netbsd-5

Revision 1.33.4.1: download - view: text, markup, annotated - select for diffs
Sun Jan 15 23:51:32 2017 UTC (7 years, 10 months ago) by snj
Branches: netbsd-6
Diff to: previous 1.33: preferred, colored; next MAIN 1.34: preferred, colored
Changes since revision 1.33: +93 -2 lines

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 - view: text, markup, annotated - select for diffs
Sat Jan 7 08:56:07 2017 UTC (7 years, 10 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.38: preferred, colored; next MAIN 1.39: preferred, colored
Changes since revision 1.38: +93 -2 lines
Sync with HEAD.  (Note that most of these changes are simply $NetBSD$
tag issues.)

Revision 1.37.8.1: download - view: text, markup, annotated - select for diffs
Sat Dec 3 12:20:32 2016 UTC (8 years ago) by martin
Branches: 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
Diff to: previous 1.37: preferred, colored; next MAIN 1.38: preferred, colored
Changes since revision 1.37: +93 -2 lines
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 - view: text, markup, annotated - select for diffs
Sat Nov 19 08:43:40 2016 UTC (8 years ago) by flxd
Branches: 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-4-RELEASE, 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-3-RELEASE, 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
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +93 -2 lines
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 - view: text, markup, annotated - select for diffs
Sat Oct 18 08:33:24 2014 UTC (10 years, 1 month ago) by snj
Branches: MAIN
CVS tags: pgoyette-localcount-base, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, localcount-20160914
Branch point for: pgoyette-localcount
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +4 -4 lines
src is too big these days to tolerate superfluous apostrophes.  It's
"its", people!

Revision 1.33.8.2: download - view: text, markup, annotated - select for diffs
Mon Feb 25 00:28:11 2013 UTC (11 years, 9 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.33.8.1: preferred, colored; branchpoint 1.33: preferred, colored; next MAIN 1.34: preferred, colored
Changes since revision 1.33.8.1: +4 -4 lines
resync with head

Revision 1.33.2.2: download - view: text, markup, annotated - select for diffs
Wed Jan 23 00:05:34 2013 UTC (11 years, 10 months ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.33.2.1: preferred, colored; branchpoint 1.33: preferred, colored; next MAIN 1.34: preferred, colored
Changes since revision 1.33.2.1: +4 -4 lines
sync with head

Revision 1.33.2.1: download - view: text, markup, annotated - select for diffs
Wed Jan 16 05:32:34 2013 UTC (11 years, 10 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +56 -59 lines
sync with (a bit old) head

Revision 1.37: download - view: text, markup, annotated - select for diffs
Sat Jan 12 02:52:59 2013 UTC (11 years, 10 months ago) by jakllsch
Branches: 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
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +3 -3 lines
We supply data with the FORMAT UNIT command, so tell the kernel which
direction it is to go (write).

Revision 1.36: download - view: text, markup, annotated - select for diffs
Sat Jan 12 02:50:09 2013 UTC (11 years, 10 months ago) by jakllsch
Branches: MAIN
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +3 -3 lines
take sizeof actual symbol we are memsetting

Revision 1.33.8.1: download - view: text, markup, annotated - select for diffs
Tue Nov 20 03:00:50 2012 UTC (12 years ago) by tls
Branches: tls-maxphys
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +56 -59 lines
Resync to 2012-11-19 00:00:00 UTC

Revision 1.35: download - view: text, markup, annotated - select for diffs
Sat Nov 3 19:26:52 2012 UTC (12 years, 1 month ago) by jakllsch
Branches: MAIN
CVS tags: yamt-pagecache-base7
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +56 -56 lines
make a bunch of globals static

Revision 1.34: download - view: text, markup, annotated - select for diffs
Sat Nov 3 19:14:53 2012 UTC (12 years, 1 month ago) by jakllsch
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +2 -5 lines
drop write-only variable

Revision 1.33: download - view: text, markup, annotated - select for diffs
Mon Aug 29 14:35:04 2011 UTC (13 years, 3 months ago) by joerg
Branches: 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
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +4 -4 lines
Use __dead

Revision 1.32: download - view: text, markup, annotated - select for diffs
Tue May 24 12:04:18 2011 UTC (13 years, 6 months ago) by joerg
Branches: MAIN
CVS tags: cherry-xenmp-base, cherry-xenmp
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +3 -3 lines
Decide on printing an int as int and not as short.

Revision 1.30.4.1: download - view: text, markup, annotated - select for diffs
Mon Jun 2 13:21:24 2008 UTC (16 years, 6 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.30: preferred, colored; next MAIN 1.31: preferred, colored
Changes since revision 1.30: +2 -9 lines
Sync with HEAD.

Revision 1.30.6.1: download - view: text, markup, annotated - select for diffs
Sun May 18 12:30:54 2008 UTC (16 years, 6 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.30: preferred, colored; next MAIN 1.31: preferred, colored
Changes since revision 1.30: +2 -9 lines
sync with head.

Revision 1.31: download - view: text, markup, annotated - select for diffs
Mon Apr 28 20:23:09 2008 UTC (16 years, 7 months ago) by martin
Branches: 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
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +2 -9 lines
Remove clause 3 and 4 from TNF licenses

Revision 1.29.4.1: download - view: text, markup, annotated - select for diffs
Sun Mar 23 00:44:25 2008 UTC (16 years, 8 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.29: preferred, colored; next MAIN 1.30: preferred, colored
Changes since revision 1.29: +3 -3 lines
sync with HEAD

Revision 1.29.6.1: download - view: text, markup, annotated - select for diffs
Mon Feb 18 21:04:18 2008 UTC (16 years, 9 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.29: preferred, colored; next MAIN 1.30: preferred, colored
Changes since revision 1.29: +3 -3 lines
Sync with HEAD.

Revision 1.30: download - view: text, markup, annotated - select for diffs
Sat Feb 2 17:07:04 2008 UTC (16 years, 10 months ago) by christos
Branches: 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
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +3 -3 lines
PR/37932: Yakovetsky Vladimir: build distribution with USE_FORT fails
fix buffer overflow

Revision 1.29: download - view: text, markup, annotated - select for diffs
Mon Jan 22 20:56:46 2007 UTC (17 years, 10 months ago) by bouyer
Branches: 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
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +48 -6 lines
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 - view: text, markup, annotated - select for diffs
Tue Jun 14 20:41:06 2005 UTC (19 years, 5 months ago) by tron
Branches: 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
Diff to: previous 1.27: preferred, colored; next MAIN 1.28: preferred, colored
Changes since revision 1.27: +6 -2 lines
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 - view: text, markup, annotated - select for diffs
Thu Jun 2 00:13:10 2005 UTC (19 years, 6 months ago) by lukem
Branches: 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
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +6 -2 lines
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 - view: text, markup, annotated - select for diffs
Mon Feb 21 00:29:08 2005 UTC (19 years, 9 months ago) by thorpej
Branches: MAIN
CVS tags: netbsd-3-base
Branch point for: netbsd-3
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +32 -31 lines
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 - view: text, markup, annotated - select for diffs
Sat Feb 5 13:37:39 2005 UTC (19 years, 10 months ago) by xtraeme
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +51 -95 lines
Kill __P(), use ANSI function declarations; WARNS=3.

Revision 1.25: download - view: text, markup, annotated - select for diffs
Fri Jan 7 02:08:34 2005 UTC (19 years, 11 months ago) by ginsbach
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +239 -2 lines
Add command to read the defect data from a direct access device.

Revision 1.23.2.1: download - view: text, markup, annotated - select for diffs
Tue Jun 1 04:40:34 2004 UTC (20 years, 6 months ago) by jmc
Branches: 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
Diff to: previous 1.23: preferred, colored; next MAIN 1.24: preferred, colored
Changes since revision 1.23: +4 -4 lines
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 - view: text, markup, annotated - select for diffs
Tue Jun 1 02:40:00 2004 UTC (20 years, 6 months ago) by fair
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +4 -4 lines
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 - view: text, markup, annotated - select for diffs
Mon Jan 5 23:23:33 2004 UTC (20 years, 11 months ago) by jmmv
Branches: MAIN
CVS tags: netbsd-2-0-base
Branch point for: netbsd-2-0
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +3 -3 lines
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 - view: text, markup, annotated - select for diffs
Mon Sep 1 04:34:16 2003 UTC (21 years, 3 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +58 -2 lines
Add prevent/allow commands.

Revision 1.21: download - view: text, markup, annotated - select for diffs
Mon Sep 1 04:24:55 2003 UTC (21 years, 3 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +32 -2 lines
Add a flushcache command -- I need it for my DVD+RW.

Revision 1.15.2.1: download - view: text, markup, annotated - select for diffs
Mon Jul 28 17:36:03 2003 UTC (21 years, 4 months ago) by he
Branches: 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
Diff to: previous 1.15: preferred, colored; next MAIN 1.16: preferred, colored
Changes since revision 1.15: +407 -13 lines
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 - view: text, markup, annotated - select for diffs
Mon Jun 23 11:53:43 2003 UTC (21 years, 5 months ago) by agc
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +7 -1 lines
Add NetBSD RCS Ids.

Revision 1.19: download - view: text, markup, annotated - select for diffs
Thu Sep 26 06:15:38 2002 UTC (22 years, 2 months ago) by petrov
Branches: MAIN
CVS tags: fvdl_fs64_base
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +27 -1 lines
Added debug command to support SCIOCDEBUG.

Revision 1.18: download - view: text, markup, annotated - select for diffs
Tue Sep 3 16:56:05 2002 UTC (22 years, 3 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +105 -14 lines
* 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 - view: text, markup, annotated - select for diffs
Sat Jul 20 08:36:28 2002 UTC (22 years, 4 months ago) by grant
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +5 -5 lines
sweep of errx/warnx, remove unnecessary trailing \n

Revision 1.16: download - view: text, markup, annotated - select for diffs
Wed Jun 26 16:04:14 2002 UTC (22 years, 5 months ago) by mjacob
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +313 -10 lines
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 - view: text, markup, annotated - select for diffs
Sun Apr 14 03:24:42 2002 UTC (22 years, 7 months ago) by tsutsui
Branches: 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
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +2 -2 lines
21600000 -> 6*60*60*1000 (timeout in six hours for format command)

Revision 1.14: download - view: text, markup, annotated - select for diffs
Wed Jul 18 20:36:36 2001 UTC (23 years, 4 months ago) by bouyer
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +42 -1 lines
Add and document a 'detach' command.

Revision 1.13: download - view: text, markup, annotated - select for diffs
Tue May 15 15:11:02 2001 UTC (23 years, 6 months ago) by bouyer
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +2 -2 lines
Adapt for MODE SENSE/SELECT changes in kernel.

Revision 1.12: download - view: text, markup, annotated - select for diffs
Sun Apr 1 14:59:56 2001 UTC (23 years, 8 months ago) by ad
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +5 -5 lines
Remove superfluous newlines in calls to errx().

Revision 1.11: download - view: text, markup, annotated - select for diffs
Mon Feb 19 22:56:23 2001 UTC (23 years, 9 months ago) by cgd
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +2 -4 lines
convert to use getprogname()

Revision 1.7.2.1: download - view: text, markup, annotated - select for diffs
Mon Dec 27 18:30:33 1999 UTC (24 years, 11 months ago) by wrstuden
Branches: wrstuden-devbsize
Diff to: previous 1.7: preferred, colored; next MAIN 1.8: preferred, colored
Changes since revision 1.7: +12 -7 lines
Pull up to last week's -current.

Revision 1.10: download - view: text, markup, annotated - select for diffs
Wed Oct 27 22:29:06 1999 UTC (25 years, 1 month ago) by mycroft
Branches: 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
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +2 -2 lines
Increase the format timeout to 6 hours.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Mon Oct 4 17:10:56 1999 UTC (25 years, 2 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +8 -3 lines
Make `reassign' actually work.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Tue Sep 28 23:32:04 1999 UTC (25 years, 2 months ago) by ad
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +4 -4 lines
Make `all' a synonym for the `any' keyword.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Fri Aug 13 21:12:18 1999 UTC (25 years, 3 months ago) by mjl
Branches: MAIN
Branch point for: wrstuden-devbsize
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +14 -13 lines
Clarify usage message.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Fri Jul 30 02:29:04 1999 UTC (25 years, 4 months ago) by hubertf
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +31 -43 lines
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 - view: text, markup, annotated - select for diffs
Wed Feb 24 18:51:39 1999 UTC (25 years, 9 months ago) by jwise
Branches: 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
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +3 -3 lines
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 - view: text, markup, annotated - select for diffs
Thu Nov 12 01:16:09 1998 UTC (26 years ago) by thorpej
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +48 -1 lines
Simple support for formatting a SCSI disk.  This will be enhanced in
the near future.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Sat Oct 17 05:08:27 1998 UTC (26 years, 1 month ago) by thorpej
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +11 -9 lines
Fix a thinko in the device opening code.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Thu Oct 15 21:49:09 1998 UTC (26 years, 1 month ago) by thorpej
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +7 -6 lines
Fix a couple of usage strings.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Thu Oct 15 21:44:39 1998 UTC (26 years, 1 month ago) by thorpej
Branches: 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.

Diff request

This form allows you to request diffs 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.

Log view options

CVSweb <webmaster@jp.NetBSD.org>