bin/118286: watch(8) allow use up to 10 snp* devices

Remko Lodder remko at
Tue Nov 27 10:00:05 PST 2007

The following reply was made to PR bin/118286; it has been noted by GNATS.

From: Remko Lodder <remko at>
To: Mykola Zubach <zuborg at>
Cc: freebsd-gnats-submit at
Subject: Re: bin/118286: watch(8) allow use up to 10 snp* devices
Date: Tue, 27 Nov 2007 18:52:53 +0100

 Mykola Zubach wrote:
 > FreeBSD 6.2-RELEASE-p8 FreeBSD 6.2-RELEASE-p8 #3: Fri Nov 16 12:31:53 UTC 2007     root at  i386
 >> Description:
 > for (c = '0'; c <= '9'; c++) {
 > This code is self explanatory
 > watch(8) do up to 10 tries to find not used /dev/snp*, and then fail
 > I've rewrite this part so it could use up to 999 snp devices.
 >> How-To-Repeat:
 > open 11 watch(8) sessions in parallel
 So why would we want to open up to 999 snoop sessions?
 I see this as a tool to assist someone in case of problems, I dont
 see that many scenarios in which one would do more then 10 sessions
 at all; unless you are perhaps doing more then just assisting someone
 but in that case you can easily override it locally.
 /"\   Best regards,                      | remko at
 \ /   Remko Lodder                       | remko at EFnet
  X          |
 / \   ASCII Ribbon Campaign              | Against HTML Mail and News

More information about the freebsd-bugs mailing list