It means I can call Format to create partition table by using dos/gpt type?
2013/10/7 Krzysztof Kotlenga <po...@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@lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/devkit-devel >
_______________________________________________ devkit-devel mailing list devkit-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/devkit-devel