Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Debian Development (http://www.linux-archive.org/debian-development/)
-   -   isys.umount removes mount directory by default (http://www.linux-archive.org/debian-development/264028-isys-umount-removes-mount-directory-default.html)

Radek Vykydal 03-16-2009 11:44 AM

isys.umount removes mount directory by default
 
Joel Granados wrote:

On Mon, Mar 16, 2009 at 01:25:22PM +0100, Radek Vykydal wrote:


---
storage/formats/fs.py | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/storage/formats/fs.py b/storage/formats/fs.py
index 545970c..fa93136 100644
--- a/storage/formats/fs.py
+++ b/storage/formats/fs.py
@@ -206,7 +206,6 @@ class FS(DeviceFormat):
self.mount(mountpoint=tmppath)
buf = os.statvfs(tmppath)
self.unmount()
- os.rmdir(tmppath)



So where do we remove the temp dir?


in isys.unmount() called by self.unmount()

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


All times are GMT. The time now is 08:00 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.