* [Comm] Флешка монтируется в два каталога сразу
@ 2014-02-10 15:44 crontab crontab
0 siblings, 1 reply; 2+ messages in thread
From: crontab crontab @ 2014-02-10 15:44 UTC (permalink / raw)
To: ALT Linux Community general discussions
По мотивам вот этого
https://bugzilla.altlinux.org/show_bug.cgi?id=29134#c4
и вот этого
http://lists.altlinux.org/pipermail/community/2013-July/679742.html
обсуждений.
Настраивал коньки, чтобы они показывали параметры съёмных накопителей,
и обнаружил, что флешка монтируется одновременно и в /run/media/$USER/флешка,
и в /var/run/media/$USER/флешка.
Это зачем вообще так?
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Comm] Флешка монтируется в два каталога сразу
@ 2014-02-10 16:28 ` crontab crontab
0 siblings, 0 replies; 2+ messages in thread
From: crontab crontab @ 2014-02-10 16:28 UTC (permalink / raw)
To: ALT Linux Community general discussions
10.02.2014, 20:14, "Mykola S. Grechukh" <gns@altlinux.org>:
> Ну может --bind. Я ж говорю, покажите полный /proc/mounts
| grep /run/media/
/dev/sdd4 /run/media/$USER/687A-7A8D vfat rw,nosuid,nodev,relatime,uid=500,gid=500,fmask=0022,dmask=0077,codepage=866,iocharset=utf8,shortname=mixed,showexec,utf8,flush,errors=remount-ro 0 0
/dev/sdd4 /var/run/media/$USER/687A-7A8D vfat rw,nosuid,nodev,relatime,uid=500,gid=500,fmask=0022,dmask=0077,codepage=866,iocharset=utf8,shortname=mixed,showexec,utf8,flush,errors=remount-ro 0 0
А если всё в кучу, то
cat /proc/mounts
udevfs /dev devtmpfs rw,relatime,size=5120k,nr_inodes=211742,mode=755 0 0
runfs /run tmpfs rw,relatime,size=5120k,mode=755 0 0
/dev/sdc / ext4 rw,relatime,discard,data=ordered 0 0
proc /proc proc rw,nosuid,noexec,relatime,gid=19 0 0
sysfs /sys sysfs rw,nosuid,nodev,noexec,relatime 0 0
securityfs /sys/kernel/security securityfs rw,nosuid,nodev,noexec,relatime 0 0
tmpfs /dev/shm tmpfs rw,nosuid,nodev 0 0
devpts /dev/pts devpts rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000 0 0
tmpfs /sys/fs/cgroup tmpfs rw,nosuid,nodev,noexec,mode=755 0 0
cgroup /sys/fs/cgroup/systemd cgroup rw,nosuid,nodev,noexec,relatime,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd 0 0
pstore /sys/fs/pstore pstore rw,nosuid,nodev,noexec,relatime 0 0
cgroup /sys/fs/cgroup/cpuset cgroup rw,nosuid,nodev,noexec,relatime,cpuset 0 0
cgroup /sys/fs/cgroup/cpu,cpuacct cgroup rw,nosuid,nodev,noexec,relatime,cpuacct,cpu 0 0
cgroup /sys/fs/cgroup/memory cgroup rw,nosuid,nodev,noexec,relatime,memory 0 0
cgroup /sys/fs/cgroup/devices cgroup rw,nosuid,nodev,noexec,relatime,devices 0 0
cgroup /sys/fs/cgroup/freezer cgroup rw,nosuid,nodev,noexec,relatime,freezer 0 0
cgroup /sys/fs/cgroup/net_cls cgroup rw,nosuid,nodev,noexec,relatime,net_cls 0 0
cgroup /sys/fs/cgroup/blkio cgroup rw,nosuid,nodev,noexec,relatime,blkio 0 0
cgroup /sys/fs/cgroup/perf_event cgroup rw,nosuid,nodev,noexec,relatime,perf_event 0 0
cgroup /sys/fs/cgroup/hugetlb cgroup rw,nosuid,nodev,noexec,relatime,hugetlb 0 0
systemd-1 /proc/sys/fs/binfmt_misc autofs rw,relatime,fd=25,pgrp=1,timeout=300,minproto=5,maxproto=5,direct 0 0
hugetlbfs /dev/hugepages hugetlbfs rw,relatime 0 0
mqueue /dev/mqueue mqueue rw,relatime 0 0
debugfs /sys/kernel/debug debugfs rw,relatime 0 0
runfs /var/run tmpfs rw,relatime,size=5120k,mode=755 0 0
runfs /var/lock tmpfs rw,relatime,size=5120k,mode=755 0 0
/dev/sdb2 /home ext4 rw,nosuid,relatime,data=ordered 0 0
/dev/sdb2 /tmp ext4 rw,nosuid,relatime,data=ordered 0 0
binfmt_misc /proc/sys/fs/binfmt_misc binfmt_misc rw,relatime 0 0
fusectl /sys/fs/fuse/connections fusectl rw,relatime 0 0
/dev/sdd4 /run/media/$USER/687A-7A8D vfat rw,nosuid,nodev,relatime,uid=500,gid=500,fmask=0022,dmask=0077,codepage=866,iocharset=utf8,shortname=mixed,showexec,utf8,flush,errors=remount-ro 0 0
/dev/sdd4 /var/run/media/$USER/687A-7A8D vfat rw,nosuid,nodev,relatime,uid=500,gid=500,fmask=0022,dmask=0077,codepage=866,iocharset=utf8,shortname=mixed,showexec,utf8,flush,errors=remount-ro 0 0
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-02-10 16:28 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-10 15:44 [Comm] Флешка монтируется в два каталога сразу crontab crontab
2014-02-10 16:28 ` crontab crontab
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