From: Denis Smirnov <mithraen@freesource.info>
To: Maxim Tyurin <mrkooll@tdr.pibhe.com>
Cc: community@altlinux.ru
Subject: [Comm] Re: fix id for usb flash drive
Date: Wed, 8 Sep 2004 00:50:29 +0400
Message-ID: <20040907205029.GB10921@workstation> (raw)
In-Reply-To: <m3n0029cxg.fsf@mrkooll.tdr.pibhe.com>
On Tue, Sep 07, 2004 at 09:00:43PM +0300, Maxim Tyurin wrote:
MT> Можно не нужно. Во первых fstab уходит в страну мертвых пингвинов
MT> т.к. на флешках разные ФС и разбивка.
fstab для removable давно ушёл в страну мёртвых пингвинов.
MT> Кроме того оно просто не удобно.
Смотри в сторону hotplug. В эту сторону сейчас и надо копать. Linux это
принципиально кривулька в этом вопросе -- блочные устройства вечно плавают
как хотят.
MT> А нужно оно мне т.к. на одной из флешек лежит мой ключ. И нужно чтоб
MT> это флешка становилась sda не взирая на то сколько других флешек уже
MT> подключено (но это не единственная задача).
Дык зачем тебе ключ именно на /dev/sda?
Могу предложить вариант -- вставить код в hotplug, который при установке
флешки попытается (каким-либо образом) удостовериться что это именно так
флешка, и если она, то сделать симлинк на что-нибудь вроде /dev/keydisk,
заодно добавив запись в fstab.
А то что ты хочешь сделать в Linux нельзя. Убогий он в этом смысле.
--
С уважением, Денис
http://freesource.info
next prev parent reply other threads:[~2004-09-07 20:50 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-09-07 14:09 [Comm] " Maxim Tyurin
2004-09-07 17:33 ` [Comm] " Денис Смирнов
2004-09-07 18:00 ` Maxim Tyurin
2004-09-07 20:50 ` Denis Smirnov [this message]
2004-09-08 7:27 ` Maxim Tyurin
2004-09-08 12:15 ` Denis Smirnov
2004-09-08 15:05 ` Maxim Tyurin
2004-09-08 22:02 ` Denis Smirnov
2004-09-09 6:11 ` Maxim Tyurin
2004-09-09 14:59 ` Denis Smirnov
2004-09-09 15:31 ` Michael Shigorin
2004-09-09 16:44 ` Maxim Tyurin
2004-09-09 18:54 ` Денис Смирнов
2004-09-09 18:53 ` Денис Смирнов
2004-09-09 8:08 ` [Comm] Junior2.3 Aleksander N. Gorohovski
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=20040907205029.GB10921@workstation \
--to=mithraen@freesource.info \
--cc=community@altlinux.ru \
--cc=mrkooll@tdr.pibhe.com \
/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