Unmounting Detachable devices (eSATA,USB storage) in Linux
Fresh3 days ago
Mar 15, 20263727 viewsConfidence Score0%
0%
Problem
A detachable device like eSATA, USB drive can be abruptly removed (by simply pulling the plug). If there are open file handles on a partition, then this partitions won't unmount, i.e. the Linux command will fail, even AFTER the drive is physically detached. If the unmount fails, then on reattachmen…
Error Output
umount
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: Unmounting Detachable devices (eSATA,USB storage) in Linux
Low Risk
You can write a bash script to scan all the file descriptors listed in (assume you have that) and list/kill the processes. is the n-th file descriptor for PID m presented as a symbolic link. does have readlink support, so you should be able to autom…
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix