Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Linux script - Bug?
#1
Ventoy Linux script help shows "-I" & "-i" for creating the bootable Ventoy disk.

The understand I get from the help and other documentation is that 1 will ask user confirmation, while the other will not. But, in both cases, -i and in -I, the scripts asks confirmation. Namely
Code:
Attention:
You will install Ventoy to /dev/sdb.
All the data on the disk /dev/sdb will be lost!!!

Continue? (y/n)y

All the data on the disk /dev/sdb will be lost!!!
Double-check. Continue? (y/n)y
The script does create a bootable Ventoy, so either one of the options is a bug or one of them should be removed.


Hope this helps
Smile Happy to learn how to ...
Reply
#2
You will see the difference if the /dev/sdb already contains Ventoy in it.
Reply
#3
OK, I see that one is to be used when Ventoy is present and the other when it is NOT present? Is that correct?

If so, 1 of 2 things might be appropriate:
  • A change in the help file and documentation to reflect when one vs the other
  • Combine them such that if becomes a install/update question using only one of the options
I say this merely to add some clearer meaning to those options

P.S. I do realize that this is NOT high priority. It is merely a documentation need for clearness.
Smile Happy to learn how to ...
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)