Is there any dbus API to create a partition table?
Fred Chien
cfsghost at gmail.com
Sun Oct 6 19:39:10 PDT 2013
It means I can call Format to create partition table by using dos/gpt type?
2013/10/7 Krzysztof Kotlenga <pocek at users.sf.net>
> On Mon, 2013-10-07 at 04:51 +0800, Fred Chien wrote:
>
> > I'm working on a Node.js module to handle disk job with UDisks2. There
> > is one problem I got that no way to create a partition table.
> >
> > [...]
> >
> > I suppose Udisks2 should have the way to create partition table, but i
> > don't found it. Any idea?
>
> First, you call Format on a block device:
> http://tiny.cc/mpwj4w
>
> Then you will get the PartitionTable interface to do the rest.
>
> --
> The fact is, most software is crap, and most software developers
> are lazy and stupid. Same as most customers are stupid too.
> -- Hua Zhong, Linux Kernel Mailing List
>
>
> _______________________________________________
> devkit-devel mailing list
> devkit-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/devkit-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/devkit-devel/attachments/20131007/20ee0d18/attachment.html>
More information about the devkit-devel
mailing list