bug-parted
[Top][All Lists]
Advanced

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

Re: parted creates linux-swap instead of hfs


From: Andrew Clausen
Subject: Re: parted creates linux-swap instead of hfs
Date: Sun, 17 Dec 2000 09:37:38 -0200

Scott Scriven wrote:
> I see what happened, and it makes sense.  Is there any way to make parted
> list the partition type, in addition to (or instead of) the filesystem type?

libparted doesn't provide an API for this, because partition types tend
to be highly ambiguous / inaccurate.  For example, reiserfs and ext2
tend to use type 0x83 on msdos partition tables.
 
> I suppose I should write proper Python bindings for libparted, but since I
> haven't had enough time I've just been running the parted binary and parsing
> its output.

Matt Wilson has already written some.  Lost the URL... (hint hint)

(Matt: my xchat crashed immediately after you sent the URL... IIRC)

Andrew Clausen



reply via email to

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