From owner-freebsd-questions@FreeBSD.ORG Sat Oct 1 21:09:44 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 6F8D316A41F for ; Sat, 1 Oct 2005 21:09:44 +0000 (GMT) (envelope-from chris@monochrome.org) Received: from mail.monochrome.org (b4.ebbed1.client.atlantech.net [209.190.235.180]) by mx1.FreeBSD.org (Postfix) with ESMTP id D6A2543D46 for ; Sat, 1 Oct 2005 21:09:43 +0000 (GMT) (envelope-from chris@monochrome.org) Received: from tripel (tripel [192.168.1.11]) by mail.monochrome.org (8.9.3/8.9.3) with ESMTP id RAA14632; Sat, 1 Oct 2005 17:09:40 -0400 (EDT) (envelope-from chris@monochrome.org) Date: Sat, 1 Oct 2005 17:12:23 -0400 (EDT) From: Chris Hill To: Paul Clark In-Reply-To: <20051001191232.25BA528C1F6@mra01.ch.as12513.net> Message-ID: <20051001170631.E33799@tripel.monochrome.org> References: <20051001191232.25BA528C1F6@mra01.ch.as12513.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-questions@freebsd.org Subject: Re: /dev/ad0s1a: Permission denied. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Oct 2005 21:09:44 -0000 On Sat, 1 Oct 2005, Paul Clark wrote: > I get permission denied when I try to read the label of any partition: > > theatlantis# /dev/ad0s1a > > /dev/ad0s1a: Permission denied. > > I've tried using freesbie live cd and unmounting all of the partitions. > What's going on? That is not the way to read a label. Try bsdlabel /dev/ad0s1a. If you just type the name of the device file (or any other file), the system thinks you're trying to execute it. If you do an ls -l on the file, you will probably see that it has no execute permissions set, which causes the "Permission denied" that you're seeing. HTH. -- Chris Hill chris@monochrome.org ** [ Busy Expunging <|> ]