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

Remko Lodder remko at FreeBSD.org
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 FreeBSD.org>
To: Mykola Zubach <zuborg at advancedhosters.com>
Cc: freebsd-gnats-submit at FreeBSD.org
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 advancedhosters.com 6.2-RELEASE-p8 FreeBSD 6.2-RELEASE-p8 #3: Fri Nov 16 12:31:53 UTC 2007     root at advancedhosters.com:/usr/src/sys/i386/compile/Z  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.
 
 //Remko
 
 -- 
 /"\   Best regards,                      | remko at FreeBSD.org
 \ /   Remko Lodder                       | remko at EFnet
  X    http://www.evilcoder.org/          |
 / \   ASCII Ribbon Campaign              | Against HTML Mail and News


More information about the freebsd-bugs mailing list