Skip site navigation (1)Skip section navigation (2)
Date:      Wed,  4 Oct 2000 10:59:12 -0700 (PDT)
From:      B.Candler@pobox.com
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/21757: cp from nullfs-mounted filesystem aborts with EFAULT
Message-ID:  <20001004175912.CEA6537B503@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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




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