Testing Done: |
|
---|
6039 installgrub MBR update response check should use locale specific yesexpr
Review Request #69 — Created June 26, 2015 and submitted
Information | |
---|---|
tsoome | |
illumos-gate | |
6039 | |
f3abc21... | |
Reviewers | |
general | |
6039 installgrub MBR update response check should use locale specific yesexpr
executed installgrub -m stage1 stage2 device and tested with different responses. only locale specific yes did result in mbr update. In et_EE the yesexpr is ^((jJ?)|(yY?))
root@test:/home/tsoome# ./installgrub -m /boot/grub/stage1 /boot/grub/stage2 /dev/rdsk/c3t2d0s0
Updating master boot sector destroys existing boot managers (if any).
continue (y/n)? kei
master boot sector not updated
Unable to gather device information for /dev/rdsk/c3t2d0s0
root@test:/home/tsoome# ./installgrub -m /boot/grub/stage1 /boot/grub/stage2 /dev/rdsk/c3t2d0s0
Updating master boot sector destroys existing boot managers (if any).
continue (y/n)? no
master boot sector not updated
Unable to gather device information for /dev/rdsk/c3t2d0s0
root@test:/home/tsoome# ./installgrub -m /boot/grub/stage1 /boot/grub/stage2 /dev/rdsk/c3t2d0s0
Updating master boot sector destroys existing boot managers (if any).
continue (y/n)? qui
master boot sector not updated
Unable to gather device information for /dev/rdsk/c3t2d0s0
root@test:/home/tsoome# ./installgrub -m /boot/grub/stage1 /boot/grub/stage2 /dev/rdsk/c3t2d0s0
Updating master boot sector destroys existing boot managers (if any).
continue (y/n)? jah
WARNING: target device /dev/rdsk/c3t2d0s0 has a versioned stage2 that is going to be overwritten by a non versioned one
stage2 written to partition 0, 289 sectors starting at 1024 (abs 1280)
stage1 written to partition 0 sector 0 (abs 256)
stage1 written to master boot sector
root@test:/home/tsoome# ./installgrub -m /boot/grub/stage1 /boot/grub/stage2 /dev/rdsk/c3t2d0s0
Updating master boot sector destroys existing boot managers (if any).
continue (y/n)? yes
stage2 written to partition 0, 289 sectors starting at 1024 (abs 1280)
stage1 written to partition 0 sector 0 (abs 256)
stage1 written to master boot sector
root@test:/home/tsoome# ./installgrub -m /boot/grub/stage1 /boot/grub/stage2 /dev/rdsk/c3t2d0s0
Updating master boot sector destroys existing boot managers (if any).
continue (y/n)? yes
stage2 written to partition 0, 289 sectors starting at 1024 (abs 1280)
stage1 written to partition 0 sector 0 (abs 256)
stage1 written to master boot sector
root@test:/home/tsoome# ./installgrub -m /boot/grub/stage1 /boot/grub/stage2 /dev/rdsk/c3t2d0s0
Updating master boot sector destroys existing boot managers (if any).
continue (y/n)? j
stage2 written to partition 0, 289 sectors starting at 1024 (abs 1280)
stage1 written to partition 0 sector 0 (abs 256)
stage1 written to master boot sector
root@test:/home/tsoome#
-
Sorry, let me understand something here... the question is answered in English, but the response is to be input localised?
As I frequently work in multiple locales, I'd like to make sure that the question is always posed in the language
that the response should be in (with apropriate yes/no clues like oui/non, kylää/ei, já/nei and so on)Example: how to differentiate between a greek Ναι/Όχι from a french Oui/Non
(this is why I also don't like (y/n) which should be (yes/no))
Change Summary:
removed inc.flg
Commit: |
|
||||
---|---|---|---|---|---|
Diff: |
Revision 2 (+15 -4) |