From owner-freebsd-questions@FreeBSD.ORG Mon Aug 4 06:46:18 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A89661065679 for ; Mon, 4 Aug 2008 06:46:18 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id 3DA118FC12 for ; Mon, 4 Aug 2008 06:46:18 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r55.edvax.de (port-92-195-232-134.dynamic.qsc.de [92.195.232.134]) by mx01.qsc.de (Postfix) with ESMTP id 871E850959; Mon, 4 Aug 2008 08:46:15 +0200 (CEST) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id m746kFmK002040; Mon, 4 Aug 2008 08:46:15 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Mon, 4 Aug 2008 08:46:14 +0200 From: Polytropon To: joeb@a1poweruser.com Message-Id: <20080804084614.9411cc6c.freebsd@edvax.de> In-Reply-To: References: Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: "freebsd-questions@FreeBSD. ORG" Subject: Re: GEOM + mount_msdosfs usb flash stick X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Aug 2008 06:46:18 -0000 On Mon, 4 Aug 2008 14:12:09 +0800, "joeb" wrote: > When I plug the stick into my FBSD 7.0 box I get Geom console msg > 'GEOM_LABEL:Label for provider Da0s1 is msdosfs_flashdrive'. > Does this mean the flash stick is mounted and the mount point is > msdosfs_flashdrive'? I don't think so, but you can check it with % mount -v if anything has been mounted. > When is issue this command, mount_msdosfs /dev/da0s1 /mnt I get this > console msg ' GEOM get label removed'. Using the /mnt mount point every > thing works fine. Manual mount seems to have higher priority. Refer to /etc/fstab to define "standard" mount points if you like, for example: /dev/fd0 /media/floppy msdosfs rw,noauto 0 0 /dev/acd0 /media/cdrom cd9660 ro,noauto 0 0 /dev/acd0 /media/dvd cd9660 ro,noauto 0 0 /dev/acd1 /media/writer cd9660 ro,noauto 0 0 /dev/cd0 /media/pcd cd9660 ro,noauto 0 0 /dev/da0 /media/pd ufs rw,noauto,noatime 0 0 /dev/da1 /media/jaz ufs rw,noauto 0 0 /dev/da2s1 /media/stick msdosfs rw,noauto,noatime 0 0 /dev/da2 /media/cam msdosfs rw,noauto,noatime 0 0 /dev/da3s1 /media/card msdosfs rw,noauto,noatime 0 0 > What is GEOM doing form me in 7.0? As far as I do understand, GEOM provides these messages to allow some kind of auto-mounting service (usually coming with KDE or Gnome) to take some "title" of the media (data carrier identifier) to create the mount point; I saw something similar with PC-BSD when CDs, DVDs or USB sticks had been inserted, the mountpoint was something like /media/The Title of The Disc (including the ugly whitespaces) or /media/USB0001. Or, as your example seems to show, the label is a combination of the type of the media and the filesystem it uses... If you don't run any of these automounters, the messages don't seem to hava any effect. But I'm not sure, I've never seen them on my 7.x system... Maybe "man geom" will tell you more. -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...