Differences
This shows you the differences between two versions of the page.
Next revision | Previous revisionLast revisionBoth sides next revision | ||
public:wipeliveserver [2019/03/13 16:58] – created Nico | public:wipeliveserver [2019/03/14 11:01] – don't mess with host's files Nico | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | <note important> | + | ====== |
- | <pre> | + | <note important> |
+ | |||
+ | <code> | ||
mkdir / | mkdir / | ||
mount -t tmpfs none / | mount -t tmpfs none / | ||
Line 31: | Line 33: | ||
#cp -vrp / | #cp -vrp / | ||
cp -vrp /etc/* / | cp -vrp /etc/* / | ||
- | echo "" | + | echo "" |
- | echo " | + | echo " |
mount --make-rprivate / # necessary for pivot_root to work | mount --make-rprivate / # necessary for pivot_root to work | ||
pivot_root / | pivot_root / | ||
Line 45: | Line 47: | ||
#tmux a -t shred | #tmux a -t shred | ||
#echo " | #echo " | ||
- | </pre> | + | </code> |