Re: Recommended method for creating file of zeros?

Поиск
Список
Период
Сортировка
От Jason L. Buberel
Тема Re: Recommended method for creating file of zeros?
Дата
Msg-id 471501A0.4050705@buberel.org
обсуждение исходный текст
Ответ на Re: Recommended method for creating file of zeros?  (Kevin Hunter <hunteke@earlham.edu>)
Список pgsql-general
And thank you to Kevin - this did the trick perfectly. I've been able to recover everything successfully.

Regards,
Jason

Kevin Hunter wrote:
The tool is 'dd' and /dev.  /dev/zero in this case.  The summary of what
you asked:

$ dd if=/dev/zero of=./zblah count=1 bs=256k
1+0 records in
1+0 records out
262144 bytes (262 kB) copied, 0.00130993 seconds, 200 MB/s

$ dd if=/dev/zero of=./zblah count=1 bs=256000
1+0 records in
1+0 records out
256000 bytes (256 kB) copied, 0.00136915 seconds, 187 MB/s

HTH,

Kevin 

В списке pgsql-general по дате отправления:

Предыдущее
От: Laurent Duperval
Дата:
Сообщение: Re: 8.2.3: Server crashes on Windows using Eclipse/Junit
Следующее
От: Thomas Kellerer
Дата:
Сообщение: Re: Preserving view source code