Karel Zak wrote: > On Sat, May 02, 2009 at 02:57:57AM -0400, Christoph Hellwig wrote: > > On Fri, May 01, 2009 at 05:55:22PM +0700, Mikhail Gusarov wrote: > > > chname(8) allows to run specified command with new hostname, e.g. > > > for running something in chroot and distinguishing it later in syslog. > > > > > > Implemented by using unshare(CLONE_NEWUTS) and hence requires Linux 2.6.19. > > > > The name seems a little too generic and un-descriptive to me. > > > > Other than that I wonder if we shouldn't just have one tool to run > > a command line with all kinds of clone options instead of adding a new > > tool for each clone option. > > Yes. This is not first time when someone is asking for unshare(2) > command line interface. For example: > > http://glandium.org/blog/?p=217 > http://www.debian-administration.org/articles/628 > > It'd be nice to collect all requirements and write a new tool. I accidentally just found this while searching for something else on freshmeat: http://guichaz.free.fr/untie/ "Untie is a small tool used to create namespaces and lauch processes in them. It uses Linux's virtualization features. Basically it allows to call clone(2) with any flag as parameter" cu Ludwig -- (o_ Ludwig Nussel //\ V_/_ http://www.suse.de/ SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg) -- To unsubscribe from this list: send the line "unsubscribe util-linux-ng" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html