From owner-freebsd-questions@FreeBSD.ORG Tue Nov 30 15:08:44 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E971916A4CE for ; Tue, 30 Nov 2004 15:08:44 +0000 (GMT) Received: from ei.bzerk.org (ei.xs4all.nl [213.84.67.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 240F843D5D for ; Tue, 30 Nov 2004 15:08:44 +0000 (GMT) (envelope-from mail25@bzerk.org) Received: from ei.bzerk.org (BOFH@localhost [127.0.0.1]) by ei.bzerk.org (8.13.1/8.13.1) with ESMTP id iAUFAt4G046758; Tue, 30 Nov 2004 16:10:55 +0100 (CET) (envelope-from mail25@bzerk.org) Received: (from bulk@localhost) by ei.bzerk.org (8.13.1/8.13.1/Submit) id iAUFAtcb046757; Tue, 30 Nov 2004 16:10:55 +0100 (CET) (envelope-from mail25@bzerk.org) Date: Tue, 30 Nov 2004 16:10:55 +0100 From: Ruben de Groot To: Florian Hengstberger Message-ID: <20041130151055.GB45768@ei.bzerk.org> Mail-Followup-To: Ruben de Groot , Florian Hengstberger , FreeBSD mailinglist References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i X-Spam-Status: No, score=-2.3 required=5.0 tests=ALL_TRUSTED, FROM_ENDS_IN_NUMS autolearn=failed version=3.0.0 X-Spam-Checker-Version: SpamAssassin 3.0.0 (2004-09-13) on ei.bzerk.org cc: FreeBSD mailinglist Subject: Re: proc filesystem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Nov 2004 15:08:45 -0000 On Tue, Nov 30, 2004 at 01:17:19PM +0100, Florian Hengstberger typed: > Hi! > > I mounted the proc-filesystem under /proc but in contrary > to Linux no additional information concerning the bus, > the cpu etc. is there? > Why is this? I like to > > cat /proc/bus/usb/devices > > to see if the system took notice of my usb-stick. If you prefer to do things the Linux way, you better stick with Linux. That said; /proc is considered (and has demonstrated to be) a security risk and has therefore been disabled by default in FreeBSD 5.x Besides, *BSD's have traditionally used different mechanisms to interface with the kernel. sysctl(8) comes to mind, but there are others. In this case, dmesg will tell you if your usb-stick was recognized. So will usbdevs, as mentioned in another post. Ruben