Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Aug 2000 14:33:11 -0400 (EDT)
From:      rwatson@freebsd.org
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   bin/20824: ftpd cannot retrieve contents of devices
Message-ID:  <200008241833.OAA34938@fledge.watson.org>

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

>Number:         20824
>Category:       bin
>Synopsis:       ftpd returns, "ad0s1a: not a plain file."
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Aug 24 11:40:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Robert Watson
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
FreeBSD Project
>Environment:

5.0-CURRENT
Native ftpd server

>Description:

ftp> cd /dev
ftp> get ad0s1a
local: ad0s1a remote: ad0s1a
550 ad0s1a: not a plain file.

Given that "more" works on the device, it seems that I should be able
to retrieve the contents using ftpd.  Mirroring files this way is quite
useful.  This might be a result of using sendfile(), and might also
affect Apache for the same reason.  Not sure about that diagnosis though.

>How-To-Repeat:

See above.

>Fix:

Patch not attached.


>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?200008241833.OAA34938>