shellscript conditional to check for external disk

RW fbsd06 at mlists.homeunix.com
Sat Jun 21 23:33:33 UTC 2008


On Sun, 22 Jun 2008 00:47:31 +0200
Roland Smith <rsmith at 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>


More information about the freebsd-questions mailing list