Hi Darren.
Thanks so much for reviewing...
On 07/29/10 12:17 AM, Darren Kenny wrote:
Hi Jack,
Looks good, and a lot better than the previous way of reading the file :)
A couple of small questions, just for confirmation:
- What happens if the file doesn't exist - with the cat it would result in
nothing to loop over, but the script execution would continue - in this case
does it impact the execution of the script?
This shouldn't be an issue. The file in question is ${TMP_DIR}/mlst.
create_sym_links() is called in only one place (from the bottom of the
same module), right after mlst is created. mlst is created with
contents from /etc and /var, and so will never be empty. (System won't
boot with certain /etc files missing.)
- Lines 84-86
- Is this really necessary to do? I believe that ln will do this itself if
the
file is a directory - but maybe there is a reason it was written this way
originally?
This (or something like it) has been there from the beginning* and I
don't feel comfortable removing it.
I only changed the variable processed by that line because that variable
was not really needed.
* Search for "p=$p" in bugzilla bug 835, for example.
Thanks,
Jack
Thanks,
Darren.
On 07/28/10 11:41 PM, Jack Schwartz wrote:
Hi everyone.
Here is a webrev of a fix for:
6971381<http://monaco.sfbay.sun.com/detail.jsf?cr=6971381> DC needs to
better
account for spaces in filenames when creating /mnt/misc symlinks
Code changes are in boot_archive_configure:
- changes how a list of files is read so the filenames are not split apart,
- envelopes the variable representing a filename with quotes so the shell
doesn't split the filename apart as it builds a commandline with it.
--> Lines of code is barely into double-digits.<--
Please review by Friday COB.
http://cr.opensolaris.org/~schwartz/100726.1/webrev/
Testing done with live images built: X86 live CD, text and AI; SPARC: text and
AI
Thanks,
Jack
_______________________________________________
caiman-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/caiman-discuss
_______________________________________________
caiman-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/caiman-discuss