William Jay Huie wrote:
> Just started pulling down the latest CVS code and poking around.
> I found the following file "yesenter.txt"
> It seems to only be used in testscripts/ltpfslvm.sh in the
> following fashion.
> mkreiserfs /dev/ltp_test_vg2/ltp_test_lv3
> My first instinct is something more like "yes | mkreiserfs" but
> I realize for embedded people it's silly to have that executable simply
> for one line in a script. Perhaps;
> echo -e "y\n" | mkreiserfs
> Just a mild change but perhaps the textfile is the way to go.
For what it's worth, busybox comes with support for 'yes' and 'no',
not to mention 'true' and 'false', so it's no big burden on
embedded folks like me to require it. (If you have mkreiserfs,
you've certainly got yes.)