From owner-freebsd-stable@FreeBSD.ORG Mon Nov 30 00:10:17 2009 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 35C73106566B for ; Mon, 30 Nov 2009 00:10:17 +0000 (UTC) (envelope-from petefrench@ticketswitch.com) Received: from constantine.ticketswitch.com (constantine.ticketswitch.com [IPv6:2002:57e0:1d4e:1::3]) by mx1.freebsd.org (Postfix) with ESMTP id F08678FC23 for ; Mon, 30 Nov 2009 00:10:16 +0000 (UTC) Received: from dilbert.rattatosk ([10.64.50.6] helo=dilbert.ticketswitch.com) by constantine.ticketswitch.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.69 (FreeBSD)) (envelope-from ) id 1NEtq7-000Lbw-BI for freebsd-stable@freebsd.org; Mon, 30 Nov 2009 00:10:03 +0000 Received: from petefrench by dilbert.ticketswitch.com with local (Exim 4.69 (FreeBSD)) (envelope-from ) id 1NEtq7-000Miv-AC for freebsd-stable@freebsd.org; Mon, 30 Nov 2009 00:10:03 +0000 To: freebsd-stable@freebsd.org Message-Id: From: Pete French Date: Mon, 30 Nov 2009 00:10:03 +0000 Subject: how to get the UFSID of a mounted filesystem ? 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, 30 Nov 2009 00:10:17 -0000 I observer that when I mount a UFS filesystem using the device name then the entry vanishes from /dev/ufsid, and glabel list no longer shows the device. Which begs the question, how do I find out the ufsid of a mountde filesystem (e.g. '/' so that I can change it's fstab entry for the next reboot?) Am slightly embarassed to have to ask for help! Am sure this was easy and in dmesg last time I did this... -pete.