Set device to first atapi drive for cd rom testing

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2331 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Tyler Dauwalder 2002-12-31 07:34:14 +00:00
parent 5494accf0a
commit 7683e96fd8

View File

@ -147,7 +147,9 @@ int
main()
{
// const char *deviceName = "/dev/disk/virtual/0/raw";
const char *deviceName = "/dev/disk/ide/ata/0/master/0/raw";
// const char *deviceName = "/dev/disk/ide/ata/0/master/0/raw";
const char *deviceName = "/dev/disk/ide/atapi/1/master/0/raw";
int device = open(deviceName, 0);
if (device >= 0) {
printf("device: `%s'\n", deviceName);