[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bug in GNU Parted
From: |
Charles Briscoe-Smith |
Subject: |
Re: Bug in GNU Parted |
Date: |
Sun, 13 May 2001 00:04:46 +0100 |
User-agent: |
Mutt/1.2.5i |
On Sun, May 13, 2001 at 07:41:36AM +1000, Andrew Clausen wrote:
> Wouter Coene wrote:
> >
> > According to Charles Briscoe-Smith (address@hidden):
> > > Seen when I hit Ctrl-D at the (parted) prompt:
> > >
> > > You found a bug in GNU Parted. Please email a bug report to
> > > address@hidden containing the version (1.4.11), and the following message:
> > >
> > > Assertion (dev->open_count > 0) at device.c:816 in function
> > > ped_device_close()
> > > failed.
> > > Ignore Cancel ?
> > >
> > > I'm using the Debian parted package, version 1.4.11-1
>
> Did you type anything before?
Before I started, the 6 partitions on /dev/hdc were all FAT16, according
to fdisk. At present, fdisk says that /dev/hdc9 is "Win95 FAT32".
I don't have a record of the session, but I think it went something
like this:
address@hidden:~# parted /dev/hdc
GNU Parted 1.4.11
[...]
Using /dev/hdc
Warning: The operating system thinks the geometry on /dev/hdc is 779/128/63.
You should check that this matches the BIOS geometry before using this program.
(parted) print
Disk geometry for /dev/hdc: 0.000-3067.312 megabytes
Disk label type: msdos
Minor Start End Type Filesystem Flags
1 0.031 507.937 primary FAT boot
2 507.938 3063.375 extended
5 507.968 1015.875 logical FAT
6 1015.906 1523.812 logical FAT
7 1523.843 2031.750 logical FAT
8 2031.781 2539.687 logical FAT
9 2539.718 3063.375 logical FAT
(parted) check 9
(parted) resize 9 2539.718 3063.375
[At this point, parted asked me whether I'd like to convert the partition
to FAT32. I think I said cancel the first time, then entered the resize
command again and said no, then did it again and said yes.]
(parted) print
Disk geometry for /dev/hdc: 0.000-3067.312 megabytes
Disk label type: msdos
Minor Start End Type Filesystem Flags
1 0.031 507.937 primary FAT boot
2 507.938 3063.375 extended
5 507.968 1015.875 logical FAT
6 1015.906 1523.812 logical FAT
7 1523.843 2031.750 logical FAT
8 2031.781 2539.687 logical FAT
9 2539.718 3063.375 logical FAT
[IIRC, this last entry said FAT32 when I ran it before.]
(parted) [Ctrl-D]
> I can't reproduce the bug here.
Neither can I now. If I could reproduce the state of the disk beforehand,
I suppose I'd have a better chance of doing so... I've just tried the
sequence of events I described above on partition 8 of the same disk,
but this doesn't trigger the bug. Sorry.
--
Charles Briscoe-Smith Hacking Free Software for fun and profit
PGP/GPG: 1024R/B35EE811 74 68 AB 2E 1C 60 22 94 B8 21 2D 01 DE 66 13 E2
I sign these contracts / that means I'm willing / to keep on doing bloody
awful evil things / [...] No! No! / This nightmare must come to an end!
-- Seymour, "Little Shop of Horrors", lyrics by Howard Ashman, apparently
referring to the ethics of signing non-disclosure agreements