[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Need some help
From: |
Snow Dragon |
Subject: |
Need some help |
Date: |
Tue, 13 Aug 2002 10:27:38 +0800 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686 Thiz; zh-TW; rv:1.0.0) Gecko/20020705 |
Hello everyone
I am not sure whether I should place my mail here. I am facing a problem.
I am modifying Red-Hat installer to make it support partition resizing
using parted.
I am using partedmodules of 1.4.2. I am facing a very strange
condition.everytime I use ped_set_partition_geom() to change the 'start'
and 'end' of a partition. Then I use partition_new function to create a
new partition. Then I call pedDisk.save() to write the partition table.
Here comes the problem, then the installer will call mke2fs to make file
system on the newly created partition. mke2fs didn't return any fail
message. However after that I reboot the machine and the file system is
gone.
After reboot, I run mke2fs again and this time the filesystem is made. I
have check the partition table just after peddisk.save() and after
reboot. They are the same. I am going crazy about this. Why the same
partitiontable, one can make filesystem while one cannot? The only
different is just before or after rebooting. If I don't use
set_partition_geom, everything will just work fine! Can anyone help? thanks
Snow Dragon
13/8/2002
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Need some help,
Snow Dragon <=