formating a filesystem with python

Diez B. Roggisch deets at
Wed Sep 10 23:14:42 CEST 2008

Ricardo Tiago schrieb:
> Hi all,
> is there a package in python that allows to mount/umount and format
> (to ext3) a filesystem? I know that this is possible by just calling
> the os commands 'mount/umount and mkfs' but this would imply to have
> to change sudoers to run the script as non-root.

well, that's a very sensible unix-restriction. and you can't overcome that.

IOW: no, there is no such thing.


More information about the Python-list mailing list