ei all, this is just a quick suggestion.. will it be possible enrike to add an option to create the partitions in a way that the key could be also prepared for booting macs? that will be a real kick to many.
saludos, /a On Sat, Jun 5, 2010 at 8:52 AM, Aymeric Mansoux <[email protected]> wrote: > enrike said : >> what about this? >> >> du -sb /live/image | cut -f1 > > This cut splits the output of the pipe, after the 1st element, it would be > roughly translated in Python as: > > output.split()[0] > > >> I know it calculates the size of the first partition but i am not >> sure how, the cut -f1 confuses me. I am not sure i can translate >> this line to python. I am now running it with os.popen and returning >> the output of the subprocess. > > BTW, os.popen is obsolete, check the subprocess module instead. > http://docs.python.org/library/subprocess.html > > >> i am getting very close to have the python version ready, next step >> would be to add a GTK GUI to control it. > > woohoo :D > > a. > -- > http://su.kuri.mu > > > --- > [email protected] > http://identi.ca/group/puredyne > irc://irc.goto10.org/puredyne > --- [email protected] http://identi.ca/group/puredyne irc://irc.goto10.org/puredyne
