Subject: Re: [vserver] fstab.remote and unmounting
From: "Daniel Hokka Zakrisson" <daniel@hozac.com>
Date: Thu, 29 Nov 2007 17:57:04 +0100 (CET)

Roderick A. Anderson wrote:
> My thanks to Daniel and Herbert for their help on the IRC (I'm raa)
> yesterday.  I now have the CIF share mounting in the context/namespace
> when the guest is started.
>
> But when I stop the guest it is not un-mounted and when I start the
> guest back up a new mount is created.

What makes you think that? When the last process in a namespace exits,
everything will be implicitly unmounted.

> I didn't see any mention of how to un-mount (automagically) on the Great
> Flower Page.  Nor did I see anything like 'initialize' for when the
> guest has stopped.  (A "vnamespace --enter <xid> -- umount
> /mnt/mount-point" kind of worked.)

If you think it's necessary, postpost-stop should do the trick (though the
vnamespace would be unnecessary, it's already in the namespace).

> I'll continue looking and playing but a pointer where to look would be
> great.
>
>
> TIA,
> Rod

-- 
Daniel Hokka Zakrisson