From owner-freebsd-bugs Thu Aug 24 11:40: 7 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 2439737B43C for ; Thu, 24 Aug 2000 11:40:01 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id LAA20680; Thu, 24 Aug 2000 11:40:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by hub.freebsd.org (Postfix) with ESMTP id 964E337B423 for ; Thu, 24 Aug 2000 11:33:11 -0700 (PDT) Received: (from robert@localhost) by fledge.watson.org (8.9.3/8.9.3) id OAA34938; Thu, 24 Aug 2000 14:33:11 -0400 (EDT) (envelope-from robert) Message-Id: <200008241833.OAA34938@fledge.watson.org> Date: Thu, 24 Aug 2000 14:33:11 -0400 (EDT) From: rwatson@freebsd.org Reply-To: rwatson@freebsd.org To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: bin/20824: ftpd cannot retrieve contents of devices Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >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