]>
git.ipfire.org Git - ipfire-2.x.git/blob - src/install+setup/install/scsi.c
1 /* IPCop install program.
3 * This program is distributed under the terms of the GNU General Public
4 * Licence. See the file COPYING for details.
6 * (c) Alan Hourihane, 2003 <alanh@fairlite.demon.co.uk>
15 try_scsi(char *disk_device
)
20 sprintf(dev
, "/dev/%s", disk_device
);
22 if ((fd
= open(dev
, O_RDONLY
)) < 0)