Reply to post:

When a deleted primary device file only takes 20 mins out of your maintenance window, but a whole year off your lifespan

druck Silver badge

There are much better ways of recovering a deleted open file, than crashing the system and hoping fsck recovers it. I did it the other day on Linux when I deleted an open log file, it wasn't very important but I got it back anyway. I believe even on Solaris the file handle will be under /proc/<pid>/<fd>, and a quick google shows the fsdb command will help in this situation.

POST COMMENT House rules

Not a member of The Register? Create a new account here.

  • Enter your comment

  • Add an icon

Anonymous cowards cannot choose their icon