From: "Denis G. Samsonenko" <earthsea@ngs.ru>
To: community@altlinux.ru
Subject: Re: [Comm] usb-storage + subfs
Date: Mon, 16 Aug 2004 07:49:48 -0500
Message-ID: <4120AD6C.9030506@ngs.ru> (raw)
In-Reply-To: <20040816081755.GR20614@osdn.org.ua>
День добрый!
Michael Shigorin пишет:
> On Mon, Aug 16, 2004 at 04:07:35AM -0500, Denis G. Samsonenko wrote:
>> Понравилось использовать subfs, настроил его на флопик и на
>> cdrom. Пока не знаю, как его настроить на флешку и фотик (через
>> usb).
>
> /dev/sda1 /mnt/camera subfs fs=vfat,user,showexec,nodev,nosuid,iocharset=koi8-u,quiet,sync,codepage=866 0 0
Спасибо, примерно так я себе это и представлял. Только есть 2 трудности.
Первая: у меня и флешка и камера, соответственно, кого вперёд всунул у
того и /dev/sda1, а у второго уже потом /dev/sda2, пока не
перегрузишься. Можно ли как-нибуть жёско зафиксировать, что допустим для
флешки /dev/sda1, а для камеры /dev/sda2 вне зависимости кого первого
воткнул?
Трудность вторая: hotplug прописывает в fstab соответствующие строки,
когда вставляешь флешку или камеру, а когда их вытыкаешь, то удаляет.
Соответственно, если что-то в fstab было прописано на /mnt/camera или
/mnt/starage, то при вытыкании эти строки удаляется. Во всяком случае
так было на АЛК2.3, как сейчас не проверял пока. Можно ли как-нибуть
запретить hotplug'у эти самовольства с прописыванием и удалением строк
из fstab?
Кстати о subfs. Заметил, что при его использовании gtop как-то странно
показывает заполненность дисков, когда сменные носители не вставленны,
там какие-то совершенно левые числа.
--
Всего доброго,
Денис.
---------------
earthsea@ngs.ru
next prev parent reply other threads:[~2004-08-16 12:49 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-08-16 9:07 [Comm] ALM2.2 -> ALC2.3+Contrib -> ALM2.4beta5 Denis G. Samsonenko
2004-08-16 8:17 ` [Comm] usb-storage + subfs (was: ALM2.2 -> ALC2.3+Contrib -> ALM2.4beta5) Michael Shigorin
2004-08-16 11:53 ` Sergey V Turchin
2004-08-16 12:34 ` [Comm] " Michael Shigorin
2004-08-16 13:10 ` Sergey V Turchin
2004-08-16 12:49 ` Denis G. Samsonenko [this message]
2004-08-16 10:12 ` [Comm] Re: usb-storage + subfs Michael Shigorin
2004-08-18 12:31 ` Denis G. Samsonenko
2004-08-18 15:24 ` [Comm] IPT INPUT packet died ... in logs Denis G. Samsonenko
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=4120AD6C.9030506@ngs.ru \
--to=earthsea@ngs.ru \
--cc=community@altlinux.ru \
/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