Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 01 Jun 1995 17:05:46 +0200
From:      Torbjorn Granlund <tege@matematik.su.se>
To:        bugs@FreeBSD.org
Subject:   3 problems using FreeBSD 2.0.950412-SNAP
Message-ID:  <199506011505.PAA05866@insanus.matematik.su.se>

next in thread | raw e-mail | index | archive | help
* Using an Adaptec 2940 and a Quantum Atlas 34301 (a 4.1GB fast SCSI-II
  drive) I don't get more than 5MB/s.  I actually get *exactly* 5MB/s for
  large transfers.  Since both the controller and the drive handles 10MB/s,
  and the BIOS is set up properly, and the SCSI bus is terminated properly,
  I would expect a sustained transfer rate of close to 10MB/s.

  The way I time this is with
    dd if=/dev/rds0 of=/dev/null bs=1024k count=100

* /usr/bin/file doesn't report some native file types correctly.  The line,
    echo 'main(){}' >foo.c; cc -n foo.c; file a.out
  outputs the bogus
    a.out: PDP-11 pure executable not stripped

* /usr/bin/which doesn't work if a complete path is passed to it.  This is
  incompatible with other flavours of Unix, Here is a suggested patch:

*** /usr/bin/which	Thu Apr 13 15:43:55 1995
--- which	Wed May 31 17:58:37 1995
***************
*** 47,59 ****
  }
  
  foreach $prog (@ARGV) {
!     foreach $e (@path) {
!         if (-x "$e/$prog") {
! 	    print "$e/$prog\n" unless $silent;
  	    $found = 1;
! 	    last unless $all;
!         }
!     }
  }
  
  exit (!$found);
--- 47,64 ----
  }
  
  foreach $prog (@ARGV) {
!     if (-x "$prog") {
! 	    print "$prog\n" unless $silent;
  	    $found = 1;
! 	} else {
! 	    foreach $e (@path) {
! 		if (-x "$e/$prog") {
! 		    print "$e/$prog\n" unless $silent;
! 		    $found = 1;
! 		    last unless $all;
! 		}
! 	    }
! 	}
  }
  
  exit (!$found);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199506011505.PAA05866>