Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Feb 2011 14:29:27 -0600
From:      Adam Vande More <amvandemore@gmail.com>
To:        Bahman Kahinpour <bahman.linux@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Make FreeBSD read the slice table and partition table again
Message-ID:  <AANLkTimkSqJOcE_-C9qQaPSbQo695RgOUghoKtsVqtSf@mail.gmail.com>
In-Reply-To: <AANLkTik4_L9LWP5Kt2Xg8N%2Be2t7CR15eORS9fNFC65oA@mail.gmail.com>
References:  <AANLkTik4_L9LWP5Kt2Xg8N%2Be2t7CR15eORS9fNFC65oA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Feb 1, 2011 at 2:16 PM, Bahman Kahinpour <bahman.linux@gmail.com>wrote:

> Hello
> When I destroy the partition table with the following command:
> # dd if=/dev/zero of=/dev/ad1 bs=1k count=10
> The entries /dev/ad1s1a, ... still exist in /dev. This means that the
> kernel has not found out that the slices and partitions do not exist
> anymore.
>

Um AFAIK, GEOM tastes the provider on closing so that command should have
updated the device entries.  And it works properly in VM here so I'm unsure
the problem you are having.

A "true > /dev/ad1" would also cause GEOM to retaste it.

-- 
Adam Vande More



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