[Stgt-devel] [PATCH] updating targets in tgt-admin

FUJITA Tomonori fujita.tomonori
Sat Aug 9 03:05:21 CEST 2008


On Fri, 01 Aug 2008 10:50:45 +0200
Tomasz Chmielewski <mangoo at wpkg.org> wrote:

> This patch adds proper updating of targets to tgt-admin.
> 
> You have to add --force/-f option to update targets which are in use.
> 
> Updating consists of two things:
> - target is deleted
> - target is configured, basing on its config options
> 
> Updating a target which is no longer in a config file will result in the target's deletion.
> 
> The patch also changes the behaviour of --execute slightly - it now
> tries to delete the targets which are not in the config file; if the
> target is in use, it won't be touched (unless --force is used); if
> the target is not in use, it will be deleted.

Seems that no complaint about the changes so I've applied this patch
(with some cleanups for whitespace).

Thanks,



More information about the stgt mailing list