12 May
2008
12 May
'08
10:57 a.m.
Hi, 2008/5/12 Mark Rogers <mark@quarella.co.uk>:
I just carelessly overwrote my /etc/fstab file with the following: echo /dev/md0 /storage ext3 defaults 0 1 | sudo tee /etc/fstab .. when I meant: echo /dev/md0 /storage ext3 defaults 0 1 | sudo tee -a /etc/fstab (-a means append)
To append, I usually use cat "foobar" >> /file/to/append/to No use of tee :)
Any suggestions for recovery?
Can you not just recreate it by hand? - Srdj