Subject: Re: change ifc_destroy to return an int
To: None <tech-net@netbsd.org>
From: Christos Zoulas <christos@zoulas.com>
List: tech-net
Date: 12/04/2004 17:38:26
In article <20041204172033.GA49506@gateway.pointless.nl>,
Peter Postma <peter@pointless.nl> wrote:
>I would like to change ifc_destroy to return an int, so it can give the
>user an error message when ifconfig dev destroy fails for some reason.
>
>Places where this would be useful:
>
>if_loop: return EPERM when trying to destroy lo0.
>if_sl/if_strip (not cloning yet): return EBUSY when device is open.
>if_tun: return EBUSY when device is open (maybe..? reduces lot of complexity).
>
>Are there any objections to making this change?

No objections, sounds right to me. 

christos