Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Mar 1995 08:09:03 -0800
From:      Bruce Evans <bde>
To:        CVS-commiters, cvs-sys
Subject:   cvs commit: src/sys/scsi sd.c
Message-ID:  <199503231609.IAA13007@freefall.cdrom.com>

next in thread | raw e-mail | index | archive | help
bde         95/03/23 08:09:02

  Modified:    sys/scsi sd.c
  Log:
  Support disk slices.  This involves mainly replacing inline code with
  function calls.  Broken tracking of open partitions gets fixed as a side
  effect.  Races in sdopen() and sdioctl() become more numerous than before.
  
  Close the device in sdsize().  Media removal could not have worked right
  when unused swap devices were held open.  There may now be a problem
  with used swap devices not being held open.
  
  Fix ancient operator precedence bug in sddump().  It may have been
  possible to attempt dumping to unloaded media.
  
  Remove NetBSD ifdefs.  We're too different now, and the NetBSD driver was
  already too different for them to be relevant.
  
  Remove support for soft write protection.  There are no ioctls to set it,
  and this driver never set it either.  It was used in the wd driver to
  disable writing to unlabelled disk, but we want to support writing to
  foreign partitions on unlabeled disks.
  
  Clean up some formatting and restore some old-style function headers.



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