With reckless abandon, I vhashified a couple of vserver Ubuntu guests
with no exclusions. Now I find that upgrading is a problem. These
vservers are just for fun, so no harm done, but I'm curious as to the
best way to unhashify, should a mistake be made.
Would it be:
for each file in /vservers/.hash
for all files in /vservers/* (except /vservers/.hash) with the same
inode
cp the file, preserving username, perms, timestamp, to a temp file
rm the file
mv the copied file to the original file
remove the file in /vservers/.hash
Or is there a more elegant way?
Tony
_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
Received on Mon Mar 13 23:11:11 2006