1 #!/bin/bash 2 # SPDX-License-Identifier: GPL-2.0 3 i=0 4 file=/dev/media$1 5 while :; do 6 echo $file 7 i=$((i+1)) 8 R=$(./media_device_open -d $file); 9 # clear 10 echo -e "Loop $i\n$R" 11 done
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.