From: yantux yantux <yantux@yandex.ru>
To: sisyphus@lists.altlinux.org
Subject: Re: [sisyphus] mount
Date: Mon, 13 Oct 2008 01:06:47 +0400
Message-ID: <283521223845607@webmail28.yandex.ru> (raw)
In-Reply-To: <fa54e4a90810121343q79d3c828ybe2f7a58b5c419a8@mail.gmail.com>
13.10.08, 00:43, "Igor Zubkov" <igor.zubkov@gmail.com>:
> 12 октября 2008 г. 23:20 пользователь Yan <yantux@yandex.ru> написал:
> >> Может вы в начале почитаете код pmount, а только потом будете
> >> рассказывать что и как надо сделать в ядре? pmount это всего лишь
> >> wrapper для запуска mount от обычного пользователя. С кучей полезных
> >> настроек и так далее.
> >>
> >
> > Мне из пользователя хотелось бы примонтить раздел на винте. Вот что я
> > реально могу:
> > NAME
> > pmount - mount arbitrary hotpluggable devices as normal user
> > [yan@localhost ~]$ pmount /dev/sda1 sda1
> > Ошибка: /dev/sda1 - не является съемным устройством
> > Т.е. кроме флешек по usb я ни чего не могу примонить.
> Т.е. вы хотите сказать что после control pmount public (от рута) вы не
> смогли подмонтировать раздел с подключённого в текущий момент к
> системе устройства? А в fstab этот раздел есть? Если есть, то его
> pmount не должен монтировать. Иначе, показывайте логи.
[root@localhost ~]# cat /etc/fstab
proc /proc proc nosuid,noexec,gid=proc 0 0
devpts /dev/pts devpts nosuid,noexec,gid=tty,mode=620 0 0
tmpfs /tmp tmpfs nosuid 0 0
UUID=7bb92b00-51c8-4830-b583-144481719b09 / reiserfs defaults 1 1
/dev/hdd /media/cdrom udf,iso9660 ro,noauto,user,utf8 0 0
#UUID=0000-0000 /mnt/sda3 vfat codepage=866,iocharset=utf8,umask=0 0 0
/dev/hda7 swap swap defaults 0 0
/dev/hdb6 swap swap defaults 0 0
Демоны syslogd и klogd в /etc/rc5.d/ я отключил. Мне показалось они много потребляют моего процессорного времени
и создают слишком большие файлы в /var/log Давным давно таже проблема была на компакте.
Кроме этого ни чего показать не могу, если нет других файлов с логами:
[root@localhost ~]# gpasswd -a yan disk
Добавляю пользователя yan в группу disk
[yan@localhost ~]$ pmount /dev/sda1 sda
Ошибка: /dev/sda1 - не является съемным устройством
/dev/sda - SATA винчестер
> > Из-за каждого чиха надо su
> Лучше читать маны, после них "чихов" будет меньше. :)
> --
> icesik
> _______________________________________________
> Sisyphus mailing list
> Sisyphus@lists.altlinux.org
> https://lists.altlinux.org/mailman/listinfo/sisyphus
--
Много спама? Пользуйтесь Яндекс.Почтой http://mail.yandex.ru/nospam
next prev parent reply other threads:[~2008-10-12 21:06 UTC|newest]
Thread overview: 66+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-11 9:40 [sisyphus] [Sisyphus] - проблема запуска из юзера su, sudo yantux yantux
2008-10-11 9:42 ` Andrey Rahmatullin
2008-10-11 10:06 ` Slava Semushin
2008-10-11 16:14 ` yantux yantux
2008-10-11 16:17 ` Mikhail Gusarov
2008-10-11 16:19 ` Хихин Руслан
2008-10-11 20:58 ` Alexey Shabalin
2008-10-12 12:22 ` yantux yantux
2008-10-12 12:27 ` Andrey Rahmatullin
2008-10-12 12:42 ` Yan
2008-10-12 12:48 ` Mikhail Gusarov
2008-10-12 12:53 ` Mikhail Gusarov
2008-10-12 13:09 ` Yan
2008-10-12 13:11 ` Andrey Rahmatullin
2008-10-12 13:15 ` Yan
2008-10-12 13:17 ` Andrey Rahmatullin
2008-10-12 12:51 ` Andrey Rahmatullin
2008-10-12 12:54 ` Mikhail Gusarov
2008-10-12 12:59 ` Yan
2008-10-12 12:59 ` Mikhail Gusarov
2008-10-12 13:02 ` Aleksey Novodvorsky
2008-10-12 13:31 ` Yan
2008-10-12 13:33 ` Aleksey Novodvorsky
2008-10-12 12:57 ` [sisyphus] " Vitaly Ostanin
2008-10-12 13:20 ` Yan
2008-10-12 15:02 ` Sergey Shilov
2008-10-12 17:20 ` Dmitriy Kruglikov
2008-10-12 19:13 ` Yan
2008-10-12 19:21 ` Andrey Rahmatullin
2008-10-12 19:21 ` Yan
2008-10-12 13:02 ` [sisyphus] [Sisyphus] - " Mikhail Gusarov
2008-10-12 14:52 ` Sergey Shilov
2008-10-12 16:15 ` [sisyphus] mount Dmitry V. Levin
2008-10-12 19:06 ` Yan
2008-10-12 19:54 ` Igor Zubkov
2008-10-12 20:20 ` Yan
2008-10-12 20:24 ` Damir Shayhutdinov
2008-10-12 20:26 ` [sisyphus] Administrativia Dmitry V. Levin
2008-10-12 20:43 ` [sisyphus] mount Igor Zubkov
2008-10-12 21:06 ` yantux yantux [this message]
2008-10-13 7:09 ` Slava Semushin
2008-10-13 18:23 ` Ildar Mulyukov
2008-10-14 4:39 ` [sisyphus] [JT] mount Vitaly Ostanin
2008-10-13 10:18 ` [sisyphus] mount Igor Zubkov
2008-10-12 20:23 ` Dmitry V. Levin
2008-10-13 15:48 ` [sisyphus] mount [JT] Vyatcheslav Perevalov
2008-10-13 16:06 ` Vladimir V. Kamarzin
2008-10-13 10:03 ` [sisyphus] mount Alexey Shabalin
2008-10-12 16:22 ` [sisyphus] (без темы) Dmitry V. Levin
2008-10-12 19:07 ` Yan
2008-10-12 19:19 ` Damir Shayhutdinov
2008-10-12 19:23 ` Yan
2008-10-12 19:24 ` Damir Shayhutdinov
2008-10-12 19:28 ` Yan
2008-10-12 19:34 ` Damir Shayhutdinov
2008-10-12 19:36 ` Motsyo Gennadi aka Drool
2008-10-12 19:40 ` Damir Shayhutdinov
2008-10-12 19:52 ` Yan
2008-10-12 19:47 ` Yan
2008-10-12 19:53 ` Slava Semushin
2008-10-12 19:58 ` Dmitry V. Levin
2008-10-12 20:56 ` [sisyphus] ( без темы ) Ivan Adzhubey
2008-10-13 5:29 ` yantux yantux
2008-10-13 12:22 ` [sisyphus] (без темы) Alexey Tourbin
2008-10-12 19:53 ` Damir Shayhutdinov
2008-10-13 4:05 ` Andrey Rahmatullin
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=283521223845607@webmail28.yandex.ru \
--to=yantux@yandex.ru \
--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