From owner-freebsd-stable@FreeBSD.ORG Mon Dec 6 00:26:34 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A314A106566B for ; Mon, 6 Dec 2010 00:26:34 +0000 (UTC) (envelope-from vanopen@gmail.com) Received: from mail-pz0-f54.google.com (mail-pz0-f54.google.com [209.85.210.54]) by mx1.freebsd.org (Postfix) with ESMTP id 756B38FC0A for ; Mon, 6 Dec 2010 00:26:34 +0000 (UTC) Received: by pzk32 with SMTP id 32so1965247pzk.13 for ; Sun, 05 Dec 2010 16:26:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:mime-version:content-type:content-disposition :organization:x-operating-system:user-agent; bh=U91jFbrnZ+dvDAPvaSK3DH8fu8TRuvdtcfr3MG/B8Mc=; b=wDiEymLu3+p7IuVt7NJFbPciuzgMd3Kp9GT0kMyk1YI5XRKrtWPQZOa2vSWWIxst/3 dyIf+My57OiWFJnWh2QgEgeGckEjFbn5FitRkOzdJs6bvHf4/tRGpgFZMVZ8YoRU3/uI Xcy44A8MrSc3ciZK6SpgepJBKvi6sdMwtpWLw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:mime-version:content-type :content-disposition:organization:x-operating-system:user-agent; b=RiT1LKACDrUIt5tbjWyYOcMyn6mcs4nDkNWHvqmxWD8xyui/nkezTYaq4UIK8eB5X7 E4ngQKPxcwkUE/f3A7QenqJDKmYp+kQuAjTwsr55P0vPM5UnjLydlfOXfO66WX2PHBFX ys6lOLfkYEH0gKC/6TQh8vUAQqYBNOpVL/jpo= Received: by 10.142.164.5 with SMTP id m5mr4374518wfe.257.1291595193707; Sun, 05 Dec 2010 16:26:33 -0800 (PST) Received: from bsd.hasee.cpu ([221.6.39.130]) by mx.google.com with ESMTPS id w14sm6491732wfd.18.2010.12.05.16.26.30 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 05 Dec 2010 16:26:32 -0800 (PST) Date: Mon, 6 Dec 2010 08:26:20 +0800 From: Yue Wu To: ml-freebsd-stable Message-ID: <20101206002620.GA1286@bsd.hasee.cpu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Organization: China Pharmaceutical University, Nanjing, China X-Operating-System: FreeBSD 8.2-PRERELEASE i386 User-Agent: Mutt/1.5.21 (2010-09-15) Subject: boot0cfg -B can't work X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Dec 2010 00:26:34 -0000 I want to rewrite boot0 into mbr but failed, infos follows: # boot0cfg -B ad2 boot0cfg: write_mbr: /dev/ad2: Operation not permitted # ls /dev/ad* /dev/ad2 /dev/ad2s2 /dev/ad2s2b /dev/ad2s2e /dev/ad2s2g /dev/ad2s1 /dev/ad2s2a /dev/ad2s2d /dev/ad2s2f /dev/ad2s3 > uname -a FreeBSD bsd.hasee.cpu 8.2-PRERELEASE FreeBSD 8.2-PRERELEASE #0: Sun Dec 5 19:14:33 CST 2010 root@bsd.hasee.cpu:/usr/obj/usr/src/sys/HASEE i386 -- Regards, Yue Wu Key Laboratory of Modern Chinese Medicines Department of Traditional Chinese Medicine China Pharmaceutical University No.24, Tongjia Xiang Street, Nanjing 210009, China