I have a Debian Linux server with two eSATA drives attached to it (NTFS, bleh). They are currently mounted fine and have proper fstab entries s开发者_如何转开发etup (using UUID, not /dev locations).
What\'s the best way to issue disk commands (read k blocks from lba n etc.) to a SATA disk? The choice of OS does not开发者_开发问答 matter. I also need to be able to issue ATA commands. I would rathe
Does anyone know of a method I can use to programmatically detect if a SATA hard drive has been unplugged?Our file system is mounted in READ-ONLY mode when we need to detect the removal of the drive.W