Vi giro quest'email, nella speranza che qualcuno di voi, BSD addicted, possa dare una mano a Hubert - e quindi a me - per il suo tool.

premessa:

G4U (Ghost For Unix) è un minisistema NetBSD il cui scopo è copiare interi dischi o partizioni per poterli clonare, come il Norton Ghost. Supporta la copia disco-disco e disco-ftp. Alla base c'è sostanzialmente dd. Se però c'è qualche settore corrotto sul disco, dd ovviamente si ferma e la copia non continua. Ho suggerito allora di fargli attivare il flag conv=noerror e lui mi ha risposto nell'email che vi forwardo qui sotto. Se qualcuno di voi sa come dargli una mano, forse riusciamo a migliorare questo già ottimo software :)

grazie

On Sat, 24 Nov 2007, Fausto Napolitano wrote:
Used G4U yesterday, but, my machine returned a Sense Key Media Access Error. I'm sure it's only a small problem that doesn't affect the hard disk. I think there are very few bytes unreadable from the scsi disks, and they're not important. By the way, i wanted to use the uploaddisk with the conv=noerror option, and I found it was disabled!

G4U is great, it saved my life many times, but, i think you should enable the conv=noerror flag for dd. Even if only for advanced users.

I'd love to do that. I've been digging a bit, and the problem seems to be that the CPP symbol "SMALL" is defined when building dd with crunchgen, which disables that option. I haven't found the time to get rid of that behaviour (at least for a single program like dd) in the build process.

If you have any ideas (other than patching dd sources :), let me know.
(My guts tell me this should work from the "list" file...)


- Hubert


________________________________________________________
http://www.sikurezza.org - Italian Security Mailing List

Rispondere a