Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Jun 2008 00:22:07 +0100
From:      RW <fbsd06@mlists.homeunix.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: shellscript conditional to check for external disk
Message-ID:  <20080622002207.7fc1f697@gumby.homeunix.com.>
In-Reply-To: <20080621224731.GA26997@slackbox.xs4all.nl>
References:  <200806212144.09925.heroh@gmx.de> <20080621224731.GA26997@slackbox.xs4all.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 22 Jun 2008 00:47:31 +0200
Roland Smith <rsmith@xs4all.nl> wrote:


> Use glabel(8) to give the device an unique label. There is no telling
> which device /dev/da0s1d is pointing to! After labeling you can check
> for /dev/<fstype>/<yourlabel>, which should be unique.

I think that should be:


/dev/label/<yourlabel>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080622002207.7fc1f697>