Raw devices are now the normal device name, not prefixed with 'r'.

This commit is contained in:
David E. O'Brien 2000-04-19 18:51:28 +00:00
parent e3c693b9d4
commit cc7f40abaa

View file

@ -460,7 +460,7 @@ Disk_Names()
for (j = 0; device_list[j]; j++) {
for (i = 0; i < MAX_NO_DISKS; i++) {
sprintf(diskname, "%s%d", device_list[j], i);
sprintf(disk, "/dev/r%s", diskname);
sprintf(disk, "/dev/%s", diskname);
if (stat(disk, &st) || !(st.st_mode & S_IFCHR))
continue;
if ((fd = open(disk, O_RDWR)) == -1)