[ale] Simple shell scripting

Christopher Fowler cfowler at outpostsentinel.com
Wed Mar 30 16:41:27 EST 2005


I am creating a bootable usb stick and I need to somehow cycle through
the devices until I get a successful mount.  Right now I'm doing it with
cdrom so I do something like this

mount -t iso9660 /dev/hdb /cd || mount -t iso9660 /dev/hdc /cd

What would be good loop that could do this for me?







More information about the Ale mailing list