OpenVZ Forum


Home » Mailing lists » Devel » [PATCH] umount: run <VEID>.umount before vps.umount
[PATCH] umount: run <VEID>.umount before vps.umount [message #8614] Wed, 29 November 2006 09:54 Go to next message
kfh is currently offline  kfh
Messages: 28
Registered: October 2006
Junior Member
Make umount scripts run in the opposite order of mount scripts

Signed-off-by: Kristian Hgh
---

At VPS mount time the following scripts are run:
/etc/vz/conf/vps.mount
/etc/vz/conf/<VEID>.mount

At VPS umount time the following scripts are run:
/etc/vz/conf/vps.umount
/etc/vz/conf/<VEID>.umount

I mount /mnt from vps.mount and mount /mnt/veid from <VEID>.mount
I would like to umount /mnt/veid from <VEID>.mount and
umount /mnt from vps.mount. But the scripts run in the wrong order.
  • Attachment: fs.c.patch
    (Size: 0.71KB, Downloaded 181 times)
Re: [PATCH] umount: run <VEID>.umount before vps.umount [message #8623 is a reply to message #8614] Wed, 29 November 2006 14:30 Go to previous message
Mishin Dmitry is currently offline  Mishin Dmitry
Messages: 112
Registered: February 2006
Senior Member
On Wednesday 29 November 2006 12:54, Kristian F. Høgh wrote:
> Make umount scripts run in the opposite order of mount scripts
>
> Signed-off-by: Kristian Høgh
> ---
>
> At VPS mount time the following scripts are run:
> /etc/vz/conf/vps.mount
> /etc/vz/conf/<VEID>.mount
>
> At VPS umount time the following scripts are run:
> /etc/vz/conf/vps.umount
> /etc/vz/conf/<VEID>.umount
>
> I mount /mnt from vps.mount and mount /mnt/veid from <VEID>.mount
> I would like to umount /mnt/veid from <VEID>.mount and
> umount /mnt from vps.mount. But the scripts run in the wrong order.
Applied, thanks!
http://git.openvz.org/?p=vzctl;a=commit;h=ec772653c2c72dc3d407954df9ddb15f676b60f4

--
Thanks,
Dmitry.
Previous Topic: OpenVZ patch for VE disk i/o accounting :: 2.6.18
Next Topic: [PATCH, try2, 1/3] Separate logfile and console loglevel
Goto Forum:
  


Current Time: Tue Apr 23 02:41:23 GMT 2024

Total time taken to generate the page: 0.01228 seconds