From: Ilis <ilis.krou@gmail.com>
To: ALT Linux Community general discussions <community@lists.altlinux.org>
Subject: Re: [Comm] Сломалось автомонтирование флешки
Date: Sun, 22 Feb 2009 22:28:44 +0500
Message-ID: <91dc8dbf0902220928v41dfdd60pf4112d5097c53249@mail.gmail.com> (raw)
In-Reply-To: <op.uprjjsioy60z1c@oc.peooc.net>
22 февраля 2009 г. 22:15 пользователь Aleksander Gorohovski написал:
> On Sun, 22 Feb 2009 19:06:28 +0200, Andrey Rahmatullin wrote:
>
>> On Sun, Feb 22, 2009 at 10:04:36PM +0500, Ilis wrote:
>>>
>>> > mount -t vfat /dev/sda1 /mnt/куда-то-там
>>> Так монтируется только для рута, а надо для всех...
>>
>> Выросло поколение людей, не умеющих mount(8)?
>> -o users,umask=0 или о чём речь?
>
> Точнее не умеющих прочитать man mount на русском.
>
Ну ладно, ладно, уели...
Добавил всё это в fstab, вроде где-то читал, что если в fstab, то
umask не надо, и второй диск под ext3 прекрасно пишется без umask, со
флешкой такое не проканало.
[root@altus ~]# grep /mnt/flash /etc/fstab
/dev/sda1 /mnt/flash auto rw,noauto,user 0 0
[root@altus ~]# ls -ld /mnt/flash
drwxr-xr-x 2 root root 4096 Feb 22 22:07 /mnt/flash
[root@altus ~]# mount /mnt/flash
[root@altus ~]# mount | grep /mnt/flash
/dev/sda1 on /mnt/flash type vfat (rw,noexec,nosuid,nodev)
[root@altus ~]# ls -ld /mnt/flash
drwx------ 2 root root 4096 Jan 1 1970 /mnt/flash
[root@altus ~]# umount /mnt/flash
[root@altus ~]# vim /etc/fstab
[root@altus ~]# mount | grep /mnt/flash
[root@altus ~]# mount /mnt/flash
[root@altus ~]# mount | grep /mnt/flash
/dev/sda1 on /mnt/flash type vfat (rw,noexec,nosuid,nodev,umask=0)
[root@altus ~]# ls -ld /mnt/flash
drwxrwxrwx 2 root root 4096 Jan 1 1970 /mnt/flash
При этом для ext3
[root@altus ~]# grep /mnt/hda1 /etc/fstab
UUID=9ba64f24-b21c-4014-9587-1957cc2c9011 /mnt/hda1 ext3
nodev,nosuid,noexec 0 0
[root@altus ~]# mount | grep /mnt/hda1
/dev/hda1 on /mnt/hda1 type ext3 (rw,noexec,nosuid,nodev)
[root@altus ~]# ls -ld /mnt/hda1
drwxr-xr-x 5 root root 4096 Feb 1 23:12 /mnt/hda1
Ну и что делать с автомонтированием?
--
Кругликов Илья
next prev parent reply other threads:[~2009-02-22 17:28 UTC|newest]
Thread overview: 50+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-22 16:26 Ilis
2009-02-22 17:00 ` Yura Kalinichenko
2009-02-22 17:04 ` Ilis
2009-02-22 17:06 ` Andrey Rahmatullin
2009-02-22 17:15 ` Aleksander Gorohovski
2009-02-22 17:28 ` Ilis [this message]
2009-02-22 17:33 ` Andrey Rahmatullin
2009-02-22 18:21 ` Yura Kalinichenko
2009-02-22 18:32 ` Ilis
2009-02-22 17:38 ` Denis Nazarov
2009-02-22 17:48 ` Ilis
2009-02-22 18:01 ` Ilis
2009-02-22 18:20 ` a-nje-y
2009-02-22 18:22 ` Andrey Rahmatullin
2009-02-22 19:22 ` a-nje-y
2009-02-22 19:40 ` Andrey Rahmatullin
2009-02-22 20:33 ` a-nje-y
2009-02-22 20:39 ` Andrey Rahmatullin
2009-02-22 22:44 ` a-nje-y
2009-02-22 19:55 ` Vladimir Karpinsky
2009-02-22 18:48 ` Vladimir Karpinsky
2009-02-23 19:36 ` Ilis
2009-02-24 7:49 ` Vladimir Karpinsky
2009-02-24 19:01 ` Michael A. Kangin
2009-02-24 19:09 ` Andriy Dobrovol`s`kii
2009-02-24 21:56 ` Yura Kalinichenko
2009-02-27 15:22 ` Andriy Dobrovol`s`kii
2009-02-28 16:55 ` Yura Kalinichenko
2009-02-28 17:09 ` Andriy Dobrovol`s`kii
2009-02-28 17:11 ` Michael Shigorin
2009-02-28 17:40 ` Andriy Dobrovol`s`kii
2009-02-28 18:01 ` Michael Shigorin
2009-02-28 22:18 ` Yura Kalinichenko
2009-03-01 10:23 ` Alexei V. Mezin
2009-03-01 11:54 ` Ivan Fedorov
2009-03-01 12:12 ` Alexei V. Mezin
2009-03-01 12:44 ` Yura Kalinichenko
2009-03-01 12:57 ` Alexei V. Mezin
2009-03-01 19:00 ` Yura Kalinichenko
2009-03-01 19:26 ` Alexei V. Mezin
2009-03-01 20:41 ` Yura Kalinichenko
2009-03-01 21:31 ` Alexei V. Mezin
2009-03-02 16:52 ` Yura Kalinichenko
2009-03-02 17:27 ` Alexei V. Mezin
2009-03-04 12:12 ` Maxim Tyurin
2009-03-01 20:41 ` Michael A. Kangin
2009-02-27 21:14 ` Michael Shigorin
2009-02-28 12:22 ` Andriy Dobrovol`s`kii
2009-02-28 16:50 ` Michael Shigorin
2009-05-01 8:12 ` Ilis
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=91dc8dbf0902220928v41dfdd60pf4112d5097c53249@mail.gmail.com \
--to=ilis.krou@gmail.com \
--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