#!/bin/sh

# scsimap v. 0.90

#  Copyright (C) 2001, Compaq Computer Corporation 
#  This program is free software; you can redistribute it and/or modify
#  it under the terms of the GNU General Public License as published by
#  the Free Software Foundation; either version 2, or (at your option)
#  any later version.

for device in $* 
do
	( < $device ) > /dev/null 2>&1
	if [ "$?" = "0" ]
	then
		echo -n "$device"":"
		scsi_serialno $device
	fi
done
