From: "Michael A. Kangin" <mak@rsmu.ru> To: ledest@gmail.com, ALT Linux Sisyphus discussions <sisyphus@lists.altlinux.org> Subject: Re: [sisyphus] hal-mount-subfs: как понять , что флэшку можно извлекать? Date: Sat, 5 Jul 2008 09:42:32 +0400 Message-ID: <200807050942.33335.mak@rsmu.ru> (raw) In-Reply-To: <200807042341.33633.ledest@gmail.com> On 5 июля 2008 Led wrote: > > > На связке ivman/pmount пользовался апплетом wmvolman, у которого была > > > кнопка "отмонтировать", и индикатор, что отмонтирование произошло. В > > > КДЕ и прочих Гномах апплет тоже есть. А как теперь работать с > > > hal-mount-subfs? > > > > После окончания сброса данных на флешку она авторазмонтируется чекунды > > через 2, и её можно выдёргивать. > > ИМХО это не восем так. Она размонтируется практически сразу, если "when > they are no longer in use", что (размонтирование) приводит к > предварительному sync. Т.е. если FS не используется и "лампочка" не моргает > - можно вытаскивать (как правило). "Как правило" - потому что за гарантиями > того, что "неморгает лампочка" == FS засинхронизирована - к производителю > устройства с "лампочкой":) Как-то экспериментировал с ext2/3 на флешке: ------------ > watch -n 0.1 'bash -c "dumpe2fs -h 2>/dev/null /dev/sde1 |grep state"' > При копировании мелкого (600кб) файла где-то через 2-3 секунды оно уже > clean. > > Опять же, можно использовать ext3 с дополнительными опциями data=journal > (надо ли оно вообще тут, будет какой-то эффект окромя усиленного износа > флехи?) и commit=1. > Тут state постоянно находится в clean, даже в процессе записи. --------------- -- wbr, Michael A. Kangin OIOS, RSMU
next prev parent reply other threads:[~2008-07-05 5:42 UTC|newest] Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top 2008-07-04 19:50 [sisyphus] hal-mount-subfs: как понять, " Alexei V. Mezin 2008-07-04 20:22 ` [sisyphus] hal-mount-subfs: как понять , " Led 2008-07-04 20:28 ` Alexei V. Mezin 2008-07-04 20:33 ` Led 2008-07-04 20:56 ` Alexei V. Mezin 2008-07-04 21:03 ` Led 2008-07-04 21:23 ` Alexei V. Mezin 2008-07-04 21:30 ` Led 2008-07-04 21:37 ` Alexei V. Mezin 2008-07-04 21:53 ` Led 2008-07-05 10:27 ` Alexei V. Mezin 2008-07-05 11:11 ` Michael A. Kangin 2008-07-05 5:17 ` Michael A. Kangin 2008-07-05 13:21 ` Roman Savochenko 2008-07-05 13:50 ` Michael A. Kangin 2008-07-05 14:00 ` Roman Savochenko 2008-07-06 20:35 ` Sergey Shilov 2008-07-08 13:59 ` [sisyphus] Тайминги записи на флешку Michael A. Kangin 2008-07-05 5:52 ` [sisyphus] hal-mount-subfs: как понять , что флэшку можно извлекать? Michael A. Kangin 2008-07-04 20:54 ` Yura Kalinichenko 2008-07-05 5:19 ` Michael A. Kangin 2008-07-04 20:33 ` Michael A. Kangin 2008-07-04 20:41 ` Led 2008-07-05 5:42 ` Michael A. Kangin [this message] 2008-07-05 5:47 ` Michael A. Kangin 2008-07-05 10:18 ` Alexei V. Mezin
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=200807050942.33335.mak@rsmu.ru \ --to=mak@rsmu.ru \ --cc=ledest@gmail.com \ --cc=sisyphus@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
ALT Linux Sisyphus discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \ sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru public-inbox-index sisyphus Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.sisyphus AGPL code for this site: git clone https://public-inbox.org/public-inbox.git