Disk images
Florian Diesch
diesch at spamfence.net
Fri Apr 14 18:03:49 UTC 2006
Daniel Carrera <daniel.carrera at zmsl.com> wrote:
> Another issue is that fdisk is an interactive program. I'd need a
> non-interactive counterpart so I can write a script that automates all
> of this.
fdisk reads commands from stdin so you can use it non-interactive:
echo -e 'p\nq\n' | fdisk /dev/hda
Or have a look at sfdisk
Florian
--
So, in pornography there's no interpretation step involved; therefore, by
pure logic, all "compiled to machine code" languages should be looked down
upon as pornographic, and Python is art. QED.
[Christos Georgiou in <25m902p4k4ccj80hkmor8gngar89evjjdc at 4ax.com>]
More information about the ubuntu-users
mailing list