Re: /dev/null > /dev/sdb1 !
On 2008-04-22 16:05 +0200, Eduardo M KALINOWSKI wrote:
> On Tue, Apr 22, 2008 at 10:49 AM, paragasu <paragasu@gmail.com> wrote:
>> thiscommanddoesnotexist > /tmp/test
>>
>> > ls -lha /tmp/test
>> >
>> > Perhaps an EOF was written
>>
>> opps.. a correction.
>> what i did was $cat /dev/null > /dev/sdb1
>> i forgot to include the cat command :(
>
> Then you zeroed the disk. As others said, hope you have a backup.
No, you would only zero out the disk if you cat /dev/zero to it.
Catting /dev/null immediately returns and does nothing.
Sven
Reply to: