part --badblocks is now part of Anaconda in RHL 7.2. http://www.redhat.com/docs/manuals/linux/RHL-7.2-Manual/custom-guide/s1-kickstart2-options.html Maybe you can look at the new source and figure out what went wrong. Sincerely, Tammy On Thu, Oct 18, 2001 at 01:41:00PM -0700, Claude Johnson wrote: > Being new to Python, I have a quick question about how to > do this. Specifically, I am attempting to create a --badblock > option for the part command. However, our previous 2 attempt > have failed. > > Right, now we do this: > > elif str == "--badblock": > fstab.setBadBlockCheck(1) > > This is in kickstart.py, around lines 600-630 (if looking > at the /usr/lib/anaconda/kickstart.py installed by anaconda-7.1-5 > on RH 7.1). > > When anaconda tries to execute this dring a kickstart, we > get an AttributeError, which I can't find documented anywhere > on python.org, but I'd love to make this section of code work > more like the other elif statements by setting an appropriate > variable, which is tested in another class and the proper > setBadBlockCheck call is then made from there. But this code > is so densely OO that I can't find the exact section of fstab.py > (presumably) where this is handled. > > Can anyone please provide some guidance/documentation/advice > on how to handle this? > > Thanks in advance! Peace! > > Claude Johnson > Network Scientist > Avamar Technologies > 949.743.5145 Vox > 949.743.5190 Fax > www.avamar.com > > > > > _______________________________________________ > Kickstart-list mailing list > Kickstart-list@xxxxxxxxxx > https://listman.redhat.com/mailman/listinfo/kickstart-list --