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 previous 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 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.
  • Attachment: fs.c.patch
    (Size: 0.71KB, Downloaded 195 times)
 
Read Message
Read Message
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: Mon Jul 15 20:01:05 GMT 2024

Total time taken to generate the page: 0.02359 seconds