From owner-freebsd-bugs@FreeBSD.ORG Sun Mar 4 22:20:04 2007 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6E13516A405 for ; Sun, 4 Mar 2007 22:20:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 4D51E13C4B5 for ; Sun, 4 Mar 2007 22:20:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l24MK4q1080633 for ; Sun, 4 Mar 2007 22:20:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l24MK4dl080632; Sun, 4 Mar 2007 22:20:04 GMT (envelope-from gnats) Resent-Date: Sun, 4 Mar 2007 22:20:04 GMT Resent-Message-Id: <200703042220.l24MK4dl080632@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Michael W Lucas Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A0DAE16A4D0 for ; Sun, 4 Mar 2007 22:18:02 +0000 (UTC) (envelope-from mwlucas@bewilderbeast.blackhelicopters.org) Received: from bewilderbeast.blackhelicopters.org (bewilderbeast.blackhelicopters.org [198.22.63.8]) by mx1.freebsd.org (Postfix) with ESMTP id 5F8B813C47E for ; Sun, 4 Mar 2007 22:18:02 +0000 (UTC) (envelope-from mwlucas@bewilderbeast.blackhelicopters.org) Received: from bewilderbeast.blackhelicopters.org (localhost [127.0.0.1]) by bewilderbeast.blackhelicopters.org (8.13.8/8.13.8) with ESMTP id l24LqqSw084067 for ; Sun, 4 Mar 2007 16:52:52 -0500 (EST) (envelope-from mwlucas@bewilderbeast.blackhelicopters.org) Received: (from root@localhost) by bewilderbeast.blackhelicopters.org (8.13.8/8.13.8/Submit) id l24Lqocg084066; Sun, 4 Mar 2007 16:52:50 -0500 (EST) (envelope-from mwlucas) Message-Id: <200703042152.l24Lqocg084066@bewilderbeast.blackhelicopters.org> Date: Sun, 4 Mar 2007 16:52:50 -0500 (EST) From: Michael W Lucas To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: misc/109863: specifying memory device with mdmfs fails X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Michael W Lucas List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Mar 2007 22:20:04 -0000 >Number: 109863 >Category: misc >Synopsis: specifying memory device with mdmfs fails >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: Sun Mar 04 22:20:03 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Michael W Lucas >Release: FreeBSD 7.0-CURRENT amd64 >Organization: none >Environment: FreeBSD humvee32.blackhelicopters.org 7.0-CURRENT FreeBSD 7.0-CURRENT #5: Sun Feb 25 12:25:47 EST 2007 mwlucas@humvee32.blackhelicopters.org:/usr/obj/usr/src/sys/GENERIC i386 >Description: mdmfs states that mdmfs can use a specific md device on the command line. It creates the device, but the mount fails. >How-To-Repeat: This is a very petty bug, but I thought I'd at least get it on the record. humvee32~;mdmfs -X -s 8m md5 test/ DEBUG: running: /sbin/mdconfig -d -u md5 mdmfs: mdconfig (detach) exited with error code 1 (ignored) DEBUG: running: /sbin/mdconfig -a -t swap -s 8m -u md5 DEBUG: running: /sbin/newfs -U /dev/md5 DEBUG: running: /sbin/mount /dev/md5(null) test/ mdmfs: mount exited with error code 1 mdmfs works fine without specifying the device number. humvee32~;mdmfs -X -s 8m md test/ DEBUG: running: /sbin/mdconfig -a -t swap -s 8m DEBUG: running: /sbin/newfs -U /dev/md0 DEBUG: running: /sbin/mount /dev/md0 test/ >Fix: I would guess that mount is choking on the (null) on the end of /dev/md5. The easy fix is for me to rip this line out of the command page. I don't think that's what we really want done here. :-) >Release-Note: >Audit-Trail: >Unformatted: