From: "Денис Смирнов" <mithraen@altlinux.ru> To: shigorin@gmail.com, "Культурный офтопик" <smoke-room@lists.altlinux.org> Subject: Re: [room] Восстановление файлов Date: Sat, 21 Aug 2010 13:09:58 +0400 Message-ID: <20100821090958.GA15908@mw.office.seiros.ru> (raw) In-Reply-To: <20100821081945.GX3495@osdn.org.ua> On Sat, Aug 21, 2010 at 11:19:46AM +0300, Michael Shigorin wrote: MS> Вот для этого и "забивания с запасом пофайлово", чтоб сперва MS> дополнить пустующие части непустых блоков. Так, стоп. Если ты файлы _удаляешь_, то тебя спасет и забивание всего диска. Проблема возникает только в том случае, если есть файл, в хвосте которого _были_ секретные данные. И тут тебе не поможет shred (ибо он убивает файл весь). И не поможет dd=/dev/zero of=..., ибо оно не очистит хвосты. Собственно лобовое решение, для каждого файла: а) запомнить размер файла б) resize вверх (при этом, AFAIR, хвост забивается нулями сам) в) resize назад весело будет если умная FS эти операции объединит. А еще веселее -- если FS и так хвосты обнуляют, а мы тут фигней страдаем :) Самое грустное в том, что все о чем мы здесь говорим для SSD не работает вообще. -- С уважением, Денис http://mithraen.ru/ ----------------------------------------------------------------------------
next prev parent reply other threads:[~2010-08-21 9:09 UTC|newest] Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top 2010-08-06 12:03 Денис Черносов 2010-08-06 12:07 ` Andrey Rahmatullin 2010-08-06 12:21 ` Michael Shigorin 2010-08-09 8:57 ` Денис Черносов 2010-08-09 20:22 ` Денис Черносов 2010-08-09 20:29 ` Michael Shigorin 2010-08-10 3:54 ` Andrey Rahmatullin 2010-08-10 16:42 ` Michael Shigorin 2010-08-10 16:54 ` Andrey Rahmatullin 2010-08-12 7:21 ` Michael Shigorin 2010-08-12 7:23 ` Andrey Rahmatullin 2010-08-17 17:20 ` Michael Shigorin 2010-08-17 18:33 ` Andrey Rahmatullin 2010-08-17 19:33 ` Денис Смирнов 2010-08-20 14:25 ` Michael Shigorin 2010-08-20 14:32 ` Andrey Rahmatullin 2010-08-20 14:33 ` Michael Shigorin 2010-08-20 14:37 ` Andrey Rahmatullin 2010-08-21 4:49 ` Денис Смирнов 2010-08-21 8:19 ` Michael Shigorin 2010-08-21 9:09 ` Денис Смирнов [this message] 2010-08-21 9:52 ` Michael Shigorin 2010-08-21 10:39 ` Денис Смирнов 2010-08-21 17:33 ` Michael Shigorin 2010-08-21 18:11 ` Денис Смирнов 2010-08-21 10:24 ` melcomtec 2010-08-21 10:41 ` Денис Смирнов 2010-08-21 12:27 ` melcomtec
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20100821090958.GA15908@mw.office.seiros.ru \ --to=mithraen@altlinux.ru \ --cc=shigorin@gmail.com \ --cc=smoke-room@lists.altlinux.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
Культурный офтопик This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/smoke-room/0 smoke-room/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 smoke-room smoke-room/ http://lore.altlinux.org/smoke-room \ smoke-room@lists.altlinux.org smoke-room@lists.altlinux.ru smoke-room@lists.altlinux.com smoke-room@altlinux.ru smoke-room@altlinux.org smoke-room@altlinux.com public-inbox-index smoke-room Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.smoke-room AGPL code for this site: git clone https://public-inbox.org/public-inbox.git