Red Hat Bugzilla – Bug 6181
restore opens the device files it's restoring
Last modified: 2008-05-01 11:37:52 EDT
A 'restore rf' (and probably other restore operations)
appears to open the devices it is restoring to do, well,
something. This is easily reproduced with:
# cd /scratch/dir; dump 0f - / | restore rf -
and watch the pretty kernel messages.
Opening devices can have very dangerous consequences,
such as rewinding tape drives or worse, and I believe
that restore should not be doing this.
This behavior is new in the 6.0 restore; the 5.2 restore
does not have this problem.
I suspect that this behavior persists in 6.1, but because
of 6.1's restore-symlink problem (bug #5923, I believe)
I couldn't really run a test of this.