Date: Tue, 22 Aug 2006 20:24:41 -0500 From: Eric Anderson <anderson@centtech.com> To: Roman Kurakin <rik@inse.ru> Cc: Poul-Henning Kamp <phk@phk.freebsd.dk>, freebsd-geom@freebsd.org Subject: Re: retasting devices on demand Message-ID: <44EBAE59.7040003@centtech.com> In-Reply-To: <44EB97CF.6010907@inse.ru> References: <60853.1156279783@critter.freebsd.dk> <44EB703A.6000704@centtech.com> <44EB97CF.6010907@inse.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
On 08/22/06 18:48, Roman Kurakin wrote: > Eric Anderson wrote: > >> On 08/22/06 15:49, Poul-Henning Kamp wrote: >> >>> In message <44EB6D1F.90104@centtech.com>, Eric Anderson writes: >>> >>>> Even so, a retaste function that worked on existing disks (like I >>>> had) would be useful and an obvious command for admin-types. Would >>>> you be opposed to such a command? >>> >>> As I said: the problem is that if part of the disk is open it will >>> not work. >>> >> Ok, I'll restate more clearly: >> >> Admins really will want a way to retaste a device - if it's used, give >> the usual 'operation not permitted', and if it isn't, then just retaste. > > "Busy" more appropriate. # true > /dev/ad0 -su: /dev/ad0: Operation not permitted I agree though, that EBUSY is better. Eric -- ------------------------------------------------------------------------ Eric Anderson Sr. Systems Administrator Centaur Technology Anything that works is better than anything that doesn't. ------------------------------------------------------------------------
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44EBAE59.7040003>