Re: [vserver] fstab.remote and unmounting

From: Daniel Hokka Zakrisson <daniel_at_hozac.com>
Date: Thu 29 Nov 2007 - 16:57:04 GMT
Message-ID: <49625.192.168.102.6.1196355424.squirrel@intranet>

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
Received on Thu Nov 29 16:57:12 2007
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Thu 29 Nov 2007 - 16:57:17 GMT by hypermail 2.1.8