[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: need XFS in anaconda (i.e. mounting XFS while installing(
- From: "Parimal Sardar" <parimal sardar gmail com>
- To: "Discussion of Development and Customization of the Red Hat Linux Installer" <anaconda-devel-list redhat com>
- Subject: Re: need XFS in anaconda (i.e. mounting XFS while installing(
- Date: Mon, 2 Jul 2007 13:16:25 +0530
Hi Hara ,
thanks a lot for ur quick reply.
Are there xfs.ko in your modules.cgz ?
yes,
Do i need to ldconfig or .. something like that
& I think , I have make changes in isys.py
---------
36 def pathSpaceAvailable(path, fsystem = "ext2"):
37 return _isys.devSpaceFree(path)
38
39 def spaceAvailable(device, fsystem = "ext2"):
40 mount(device, "/mnt/space", fstype = fsystem)
41 space = _isys.devSpaceFree("/mnt/space/.")
42 umount("/mnt/space")
43 return space
169 def mount(device, location, fstype = "ext2", readOnly = 0, bindMount = 0, remount = 0):
170 location = os.path.normpath(location)
171
188 log("isys.py:mount()- going to mount %s on %s" %(device, location))
189 rc = _isys.mount(fstype, device, location, readOnly, bindMount, remount)
190
191 if not rc:
192 mountCount[location] = 1
193
200 def umount(what, removeDir = 1):
201 what = os.path.normpath(what)
202
203 if not os.path.isdir
(what):
204 raise ValueError, "isys.umount() can only umount by mount point"
205
206 if mountCount.has_key(what) and mountCount[what] > 1:
207 mountCount[what] = mountCount[what] - 1
208 return
209
210 rc = _isys.umount(what)
211
thank & regard
parimal
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]