Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 May 1998 10:34:05 -0700 (PDT)
From:      Bruce Evans <bde@FreeBSD.ORG>
To:        cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG
Subject:   cvs commit: src/sys/i386/i386 autoconf.c src/sys/kern kern_shutdown.c
Message-ID:  <199805121734.KAA25939@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
bde         1998/05/12 10:34:04 PDT

  Modified files:
    sys/i386/i386        autoconf.c 
    sys/kern             kern_shutdown.c 
  Log:
  Backed out previous commit.  It is invalid to call d_ioctl() on
  possibly non-open devices, and we don't want to restrict dumping
  to swap devices anwyay.  It is especially invalid to call d_ioctl()
  in non-process context for panics.  d_psize() can be called on
  non-open devices, at least on non-SLICED ones that support d_dump(),
  and setdumpdev() has depended on this for a long time although it
  is probably wrong, but even d_psize() can't be called in non-process
  context - that's why dumpsys() depends on previously computed values
  although these values may be stale.  The historical restriction to
  devices with dkpart(dev) == SWAP_PART should go away.
  
  Revision  Changes    Path
  1.97      +2 -5      src/sys/i386/i386/autoconf.c
  1.31      +3 -8      src/sys/kern/kern_shutdown.c



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