detect frozen drives and show that the user
This commit is contained in:
@ -21,6 +21,7 @@ struct tfnge_stream
|
||||
};
|
||||
|
||||
static struct tfnge_stream tfnge;
|
||||
#endif
|
||||
|
||||
Shred::Shred()
|
||||
{
|
||||
@ -34,7 +35,7 @@ Shred::~Shred()
|
||||
}
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
/**
|
||||
* \brief shred drive with shred
|
||||
* \param pointer of Drive instance
|
||||
@ -51,7 +52,6 @@ void Shred::shredDrive(Drive* drive, int* ipSignalFd)
|
||||
}
|
||||
drive->setTaskPercentage(i+0.05);
|
||||
write(*ipSignalFd, "A",1);
|
||||
|
||||
usleep(20000);
|
||||
}
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user