bug-parted
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ped_partition_new


From: Andrew Clausen
Subject: Re: ped_partition_new
Date: Tue, 17 Oct 2000 05:53:45 +1100

Stephane BRANGER wrote:
> 
> Yes I did ! I solved the pbs with adding :
> 
> fs = ped_file_system_create 
> (&boot_partition->geom,ped_file_system_type_get("ext2"));

That looks right :-)

> Something funny too, I have a scsi disk:
> 
> parted /dev/sda print
> Disk geometry for /dev/sda: 0-1030,0 megabytes
> Minor   Start     End    Type            Filesystem     Flags
> 1          0,0     10,0  primary         ext2
> 2         10,0   1029,0  extended
> 5         10,0   1010,0  logical         ext2
> 6       1010,0   1029,0  logical         FAT
> 
> and with the previous command I can change to fat system to only the minor 6.
> If I try to do that to minor 5 or 1 I get a:
> Instruction illégale (core dumped)

Could you send in a backtrace?  To do this, compile & link your program
with the -g option, and do:

        # gdb your-program core
        (gdb) bt

(it's hard for me to see what's wrong, because you didn't send in the
config file, etc.)

Thanks!
Andrew Clausen



reply via email to

[Prev in Thread] Current Thread [Next in Thread]