From owner-freebsd-bugs Wed Oct 4 11: 0: 6 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 3308B37B66D for ; Wed, 4 Oct 2000 11:00:02 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id LAA45524; Wed, 4 Oct 2000 11:00:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: by hub.freebsd.org (Postfix, from userid 32767) id CEA6537B503; Wed, 4 Oct 2000 10:59:12 -0700 (PDT) Message-Id: <20001004175912.CEA6537B503@hub.freebsd.org> Date: Wed, 4 Oct 2000 10:59:12 -0700 (PDT) From: B.Candler@pobox.com To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: kern/21757: cp from nullfs-mounted filesystem aborts with EFAULT Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 21757 >Category: kern >Synopsis: cp from nullfs-mounted filesystem aborts with EFAULT >Confidential: no >Severity: critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Oct 04 11:00:01 PDT 2000 >Closed-Date: >Last-Modified: >Originator: Brian Candler >Release: 4.1.1 and 4.1 >Organization: >Environment: >Description: Using 'cp' to copy a file from within a null-mounted filesystem to another filesystem causes an address fault. (Noticed when running a diskless system; at one point /etc/rc tries to copy /tmp/xxxx to /etc/motd, and /tmp is itself a null mount of /var/tmp, and this fails) >How-To-Repeat: # mkdir /a /b /c # mount_null /b /c # echo wibble >/c/stuff # cp /c/stuff /a cp: /a/stuff: Bad address # >Fix: No idea >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message