<div dir="ltr">It means I can call Format to create partition table by using dos/gpt type?<br><div class="gmail_extra"><br><br><div class="gmail_quote">2013/10/7 Krzysztof Kotlenga <span dir="ltr"><<a href="mailto:pocek@users.sf.net" target="_blank">pocek@users.sf.net</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Mon, 2013-10-07 at 04:51 +0800, Fred Chien wrote:<br>
<br>
> I'm working on a Node.js module to handle disk job with UDisks2. There<br>
> is one problem I got that no way to create a partition table.<br>
><br>
</div>> [...]<br>
<div class="im">><br>
> I suppose Udisks2 should have the way to create partition table, but i<br>
> don't found it. Any idea?<br>
<br>
</div>First, you call Format on a block device:<br>
<a href="http://tiny.cc/mpwj4w" target="_blank">http://tiny.cc/mpwj4w</a><br>
<br>
Then you will get the PartitionTable interface to do the rest.<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
The fact is, most software is crap, and most software developers<br>
are lazy and stupid. Same as most customers are stupid too.<br>
-- Hua Zhong, Linux Kernel Mailing List<br>
<br>
<br>
_______________________________________________<br>
devkit-devel mailing list<br>
<a href="mailto:devkit-devel@lists.freedesktop.org">devkit-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/devkit-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/devkit-devel</a><br>
</font></span></blockquote></div><br></div></div>