From: Speccyfighter <zxwarior@yandex.ru>
To: ALT Linux Community general discussions <community@lists.altlinux.org>
Subject: Re: [Comm] автомонтирование без DE
Date: Fri, 25 Jul 2014 03:09:47 +0400
Message-ID: <1256811406243387@web28h.yandex.ru> (raw)
In-Reply-To: <20140725012132.5a6a5835@sem-notebook>
25.07.2014, 01:21, "Mikhail Efremov" <sem@altlinux.ru>:
> HAL мёртв уже несколько лет как. Я вообще удивлен, что оно еще
> шевелится. Но рано или поздно перестанет.
Отлично.
Что предлагается для шелл равноценное hal'у по простоте
и минимуму времени от поставил однострочником до работает,
которое у hmount с hal равно нулю?
Можно конечно pmount использовать:
$ lsblk |grep -v sda|grep -v ^sr
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sdb 8:16 1 7,5G 0 disk
└─sdb1 8:17 1 707M 0 part
$ blkid -s LABEL /dev/sdb1 # угадай с полраза
bash: blkid: команда не найдена
$ pmount -rs /dev/sdb1
$ lsblk |grep -v sda|grep -v ^sr
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sdb 8:16 1 7,5G 0 disk
└─sdb1 8:17 1 707M 0 part /media/sdb1
$ pumount /dev/sdb1
$ lsblk |grep -v sda|grep -v ^sr
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sdb 8:16 1 7,5G 0 disk
└─sdb1 8:17 1 707M 0 part
Нет, если кому нравится по клавиатуре стучать, - не против.
Но по сравнению со связкой hmount+hal, pmount тот
ещё подарок:
$ hmount -l
</dev/sdb1>=8_17 label: "ALT Linux altlinux-p7-sysv-tde%i" product: "ALT Linux altlinux-p7-sysv-tde%i" FS: "iso9660"
Found 1 devices
$ hmount /dev/sdb1
.... s= <sdb1>
$ hmount -l
</dev/sdb1>=8_17 at "/media/sdb1" label: "ALT Linux altlinux-p7-sysv-tde%i" product: "ALT Linux altlinux-p7-sysv-tde%i" FS: "iso9660"
Found 1 devices
$ hmount -u /dev/sdb1
$ hmount -l
</dev/sdb1>=8_17 label: "ALT Linux altlinux-p7-sysv-tde%i" product: "ALT Linux altlinux-p7-sysv-tde%i" FS: "iso9660"
Found 1 devices
Куда уж проще? Проще некуда.
> Лучше уж тогда udisks2 использовать.
>
Угу.
Не забыл:
https://bugzilla.altlinux.org/show_bug.cgi?id=29134#c9
про побочный эффект.
Который если побочный, то непременно пофиксят, сделав:
хотели как лучше, а получилось как всегда.
Тот ещё подарок.
--
Лучшее - враг хорошего!
(Спектрумовский фольклор)
next prev parent reply other threads:[~2014-07-24 23:09 UTC|newest]
Thread overview: 66+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-23 16:50 Денис Смирнов
2014-07-23 20:54 ` Michael Shigorin
2014-07-24 8:35 ` Денис Смирнов
2014-07-24 8:57 ` Michael Shigorin
2014-07-24 12:55 ` Владимир Гусев
2014-07-28 23:36 ` Денис Смирнов
2014-07-29 3:55 ` Eugene Prokopiev
2014-07-29 15:10 ` Денис Смирнов
2014-07-24 18:00 ` Speccyfighter
2014-07-24 19:41 ` Фаизов Алишер
2014-07-24 19:49 ` Speccyfighter
2014-07-24 21:21 ` Mikhail Efremov
2014-07-24 23:09 ` Speccyfighter [this message]
2014-07-28 23:41 ` Денис Смирнов
2014-07-29 10:48 ` Speccyfighter
2014-07-29 10:52 ` Speccyfighter
2014-07-29 16:16 ` Денис Смирнов
2014-07-29 18:13 ` Speccyfighter
2014-07-29 19:20 ` Денис Смирнов
2014-07-29 19:52 ` Speccyfighter
2014-07-29 19:59 ` Speccyfighter
2014-07-30 0:52 ` Денис Смирнов
2014-07-30 3:26 ` Speccyfighter
2014-07-30 18:11 ` Денис Смирнов
2014-07-31 2:00 ` Speccyfighter
2014-07-31 14:06 ` Денис Смирнов
2014-07-31 14:39 ` Speccyfighter
2014-07-31 16:47 ` Денис Смирнов
2014-07-31 17:35 ` Speccyfighter
2014-07-31 19:05 ` Денис Смирнов
2014-08-01 0:47 ` Speccyfighter
2014-08-01 2:43 ` Денис Смирнов
2014-08-01 17:13 ` Speccyfighter
2014-08-02 14:09 ` Денис Смирнов
2014-08-02 18:51 ` Speccyfighter
2014-08-03 3:58 ` Денис Смирнов
2014-08-03 14:22 ` Speccyfighter
2014-08-03 19:46 ` Денис Смирнов
2014-08-03 22:33 ` Speccyfighter
2014-08-04 13:29 ` Денис Смирнов
2014-08-05 15:15 ` Speccyfighter
2014-08-05 18:43 ` Денис Смирнов
2014-08-06 12:55 ` Speccyfighter
2014-08-06 21:52 ` Денис Смирнов
2014-08-07 0:24 ` Speccyfighter
2014-08-07 15:56 ` Speccyfighter
2014-08-07 16:14 ` Speccyfighter
2014-08-07 16:55 ` Денис Смирнов
2014-08-07 17:07 ` Speccyfighter
2014-08-08 3:28 ` Денис Смирнов
2014-08-09 19:50 ` Michael Shigorin
2014-08-15 9:52 ` Денис Смирнов
2014-08-15 10:22 ` Michael Shigorin
2014-08-15 11:26 ` Денис Смирнов
2014-08-04 18:35 ` Michael Shigorin
2014-07-30 4:46 ` Speccyfighter
2014-07-30 5:31 ` Speccyfighter
2014-07-30 14:41 ` Денис Смирнов
2014-07-30 16:39 ` Speccyfighter
2014-07-29 19:27 ` Speccyfighter
2014-07-29 19:04 ` Speccyfighter
2014-07-30 0:10 ` Денис Смирнов
2014-07-30 9:23 ` Michael Shigorin
2014-07-30 14:39 ` Денис Смирнов
2014-07-30 9:38 ` Sergey
2014-07-30 11:16 ` Sergey
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=1256811406243387@web28h.yandex.ru \
--to=zxwarior@yandex.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