DIOCGATTR
if (ioctl(fd, DIOCGATTR, &attr) == -1) {
error = csw->d_ioctl(dev, DIOCGATTR, (caddr_t)&arg, FREAD,
error = csw->d_ioctl(dev, DIOCGATTR, (caddr_t)&arg, FREAD,
case DIOCGATTR: {
if (nodelete == 0 && ioctl(fd, DIOCGATTR, &arg) == 0)
if (ioctl(fd, DIOCGATTR, &arg) == 0)
if (ioctl(fd, DIOCGATTR, &arg) == 0)
if (ioctl(fd, DIOCGATTR, &arg) == 0)
ret = ioctl(fd, DIOCGATTR, &arg);
if (ioctl(fd, DIOCGATTR, &arg) == 0)
if (ioctl(fd, DIOCGATTR, &arg) == 0)