ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Yury Aliaev <mutab0r@rambler.ru>
To: ALT Linux Community <community@lists.altlinux.org>
Subject: Re: [Comm] Re: Файловая система для флэшки
Date: Tue, 15 Nov 2005 12:26:58 +0300
Message-ID: <4379A9E2.9050505@rambler.ru> (raw)
In-Reply-To: <20051114185227.0daa7da0.bga@tepkom.ru>

Grigory Batalov scripsit:

>>>>Я обзавёлся вчера флэшкой, и по этому поводу возник вопрос: какая ФС 
>>>>лучше всего подходит для подобных устройств? Пока пользуюсь той vfat, 

...skip...

> 
>   У меня сделано так:
> 
> $ sudo fdisk -l /dev/sda
> 
> Disk /dev/sda: 252 MB, 252416000 bytes
> 53 heads, 32 sectors/track, 290 cylinders
> Units = cylinders of 1696 * 512 = 868352 bytes
> 
>    Device Boot      Start         End      Blocks   Id  System
> /dev/sda1               1          38       32208    6  FAT16
> /dev/sda2              39         290      213696   83  Linux
> 
>   /dev/sda1 (32Мб) - для обмена с Windows-машинами.
> 
> $ cat /etc/modules.conf
> ...
> options blkmtd device=/dev/sda2 erasesz=128
> pre-install jffs2 modprobe blkmtd; modprobe mtdblock
> ...
> 
> $ cat /etc/fstab
> ...
> /dev/mtdblock0 /mnt/disk jffs2 user,noauto 0 0
> ...

Огромное спасибо! И ещё один наводящий вопрос: jffs2 создаётся 
каким-нибудь mkfs.jffs2 из пакета mtd?

> 
>   После чего mount /mnt/disk подгружает все модули и монтирует
> раздел. Правда, есть неудобство: перед очередным монтированием
> флэшки нужно выгрузить и обратно загрузить модуль blkmtd,

Разве при просто размонтировании не происходит автоматической 
синхронизации? И что будет, если сказать "sync"?

> поскольку её содержимое кэшируется в памяти. Либо автоматически
> выгружать всё семейство при размонтировании. Если найдёте способ
> это улучшить, поделитесь! =)
> 

А интересно, subfs/supermount к этому прикрутить можно?


  reply	other threads:[~2005-11-15  9:26 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-14 10:21 [Comm] " Yury Aliaev
2005-11-14 10:42 ` Mike Lykov
2005-11-14 11:38 ` spider
2005-11-14 13:08   ` Yury Aliaev
2005-11-14 13:51     ` Vladimir Karpinsky
2005-11-14 15:33       ` Andrey Rahmatullin
2005-11-14 15:34     ` Andrey Rahmatullin
2005-11-14 15:52     ` [Comm] " Grigory Batalov
2005-11-15  9:26       ` Yury Aliaev [this message]
2005-11-15 14:14         ` Grigory Batalov
2005-11-16  6:09           ` Yury Aliaev

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=4379A9E2.9050505@rambler.ru \
    --to=mutab0r@rambler.ru \
    --cc=community@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 Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git