Re: Can python 'read disk sectors' like/via linux:dd ?

2005-11-06 Thread Tauno Voipio
); } > > and be sure to have the access rights on /dev/hda (and to know what > you're doing!). This means in practice that your program has to run with root rights to handle complete disks or partitions. Are you attempting to create a boot block virus? -- Tauno Voipio tauno voipio (at) iki fi -- http://mail.python.org/mailman/listinfo/python-list

Re: Can python 'read disk sectors' like/via linux:dd ?

2005-11-09 Thread Tauno Voipio
d,SECT_SIZE*sect_num,SEEK_SET)); >>> check_errors(write(fd,buffer,SECT_SIZE)); close(fd); } >>>and be sure to have the access rights on /dev/hda (and to know >>>what you're doing!). > > > Tauno Voipio wrote: > >>Are you attempting t