1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mageia-dev] Too many tmp directories
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Too%20many%20tmp%20directories&In-Reply-To=%3C4F1B0CCE.3050608%40colin.guthr.ie%3E">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="011479.html">
<LINK REL="Next" HREF="011489.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mageia-dev] Too many tmp directories</H1>
<B>Colin Guthrie</B>
<A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Too%20many%20tmp%20directories&In-Reply-To=%3C4F1B0CCE.3050608%40colin.guthr.ie%3E"
TITLE="[Mageia-dev] Too many tmp directories">mageia at colin.guthr.ie
</A><BR>
<I>Sat Jan 21 20:06:54 CET 2012</I>
<P><UL>
<LI>Previous message: <A HREF="011479.html">[Mageia-dev] Too many tmp directories
</A></li>
<LI>Next message: <A HREF="011489.html">[Mageia-dev] Too many tmp directories
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#11483">[ date ]</a>
<a href="thread.html#11483">[ thread ]</a>
<a href="subject.html#11483">[ subject ]</a>
<a href="author.html#11483">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>'Twas brillig, and eatdirt at 21/01/12 17:35 did gyre and gimble:
><i> On 21/01/12 18:21, Oliver Burger wrote:
</I>>><i> I found at least three different tmp directories:
</I>>><i> /tmp/
</I>>><i> /var/tmp/
</I>>><i> ~/tmp/ (one for every user)
</I>><i>
</I>><i>
</I>><i> Hi,
</I>><i> I am taking the opportunity of this thread to also mention the
</I>><i> incredible number of shit mounted by systemd that completely render the
</I>><i> output of a mount command unreadable :)
</I>><i>
</I>>><i> mount
</I>><i>
</I>><i>
</I>><i> rootfs on / type rootfs (rw)
</I>><i> proc on /proc type proc (rw,relatime)
</I>><i> sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
</I>><i> devtmpfs on /dev type devtmpfs
</I>><i> (rw,nosuid,relatime,size=1018236k,nr_inodes=254559,mode=755)
</I>><i> devpts on /dev/pts type devpts
</I>><i> (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
</I>><i> tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev,relatime)
</I>><i> /dev/sda1 on / type ext4
</I>><i> (rw,relatime,user_xattr,acl,barrier=1,data=ordered)
</I>><i> /dev/sda7 on /usr type ext4
</I>><i> (rw,relatime,user_xattr,acl,barrier=1,data=ordered)
</I>><i> tmpfs on /run type tmpfs (rw,nosuid,nodev,relatime,mode=755)
</I>><i> tmpfs on /sys/fs/cgroup type tmpfs
</I>><i> (rw,nosuid,nodev,noexec,relatime,mode=755)
</I>><i> cgroup on /sys/fs/cgroup/systemd type cgroup
</I>><i> (rw,nosuid,nodev,noexec,relatime,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd)
</I>><i>
</I>><i> cgroup on /sys/fs/cgroup/cpuset type cgroup
</I>><i> (rw,nosuid,nodev,noexec,relatime,cpuset)
</I>><i> cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup
</I>><i> (rw,nosuid,nodev,noexec,relatime,cpuacct,cpu)
</I>><i> cgroup on /sys/fs/cgroup/memory type cgroup
</I>><i> (rw,nosuid,nodev,noexec,relatime,memory)
</I>><i> cgroup on /sys/fs/cgroup/devices type cgroup
</I>><i> (rw,nosuid,nodev,noexec,relatime,devices)
</I>><i> cgroup on /sys/fs/cgroup/freezer type cgroup
</I>><i> (rw,nosuid,nodev,noexec,relatime,freezer)
</I>><i> cgroup on /sys/fs/cgroup/net_cls type cgroup
</I>><i> (rw,nosuid,nodev,noexec,relatime,net_cls)
</I>><i> cgroup on /sys/fs/cgroup/blkio type cgroup
</I>><i> (rw,nosuid,nodev,noexec,relatime,blkio)
</I>><i> systemd-1 on /proc/sys/fs/binfmt_misc type autofs
</I>><i> (rw,relatime,fd=26,pgrp=1,timeout=300,minproto=5,maxproto=5,direct)
</I>><i> mqueue on /dev/mqueue type mqueue (rw,relatime)
</I>><i> hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
</I>><i> debugfs on /sys/kernel/debug type debugfs (rw,relatime)
</I>><i> securityfs on /sys/kernel/security type securityfs (rw,relatime)
</I>><i> tmpfs on /media type tmpfs (rw,nosuid,nodev,noexec,relatime,mode=755)
</I>><i> /dev/sda8 on /opt type ext4
</I>><i> (rw,relatime,user_xattr,acl,barrier=1,data=ordered)
</I>><i> /dev/sda6 on /home type ext3
</I>><i> (rw,relatime,errors=continue,user_xattr,acl,commit=5,barrier=1,data=ordered)
</I>><i>
</I>><i> fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
</I>
What's wrong with this? It's showing you the mounts that are active...
would you rather it filtered out e.g. /sys etc?
There are other commands you can use other than mount... e.g. df
[<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">colin at jimmy</A> ~]$ df
Filesystem Size Used Avail Use% Mounted on
rootfs 15G 12G 2.1G 85% /
devtmpfs 1.6G 0 1.6G 0% /dev
tmpfs 1.6G 804K 1.6G 1% /dev/shm
/dev/mapper/solidstate-slash 15G 12G 2.1G 85% /
tmpfs 1.6G 3.2M 1.6G 1% /run
tmpfs 1.6G 0 1.6G 0%
/sys/fs/cgroup
tmpfs 1.6G 0 1.6G 0% /media
/dev/mapper/solidstate-home 130G 128G 1.6G 99% /home
/dev/sda2 85M 47M 34M 59% /boot
Generally speaking df is a more useful command than mount IMO anyway,
and it's always been the command I use when I'm just wanting a quick
overview.
Col
--
Colin Guthrie
colin(at)mageia.org
<A HREF="http://colin.guthr.ie/">http://colin.guthr.ie/</A>
Day Job:
Tribalogic Limited <A HREF="http://www.tribalogic.net/">http://www.tribalogic.net/</A>
Open Source:
Mageia Contributor <A HREF="http://www.mageia.org/">http://www.mageia.org/</A>
PulseAudio Hacker <A HREF="http://www.pulseaudio.org/">http://www.pulseaudio.org/</A>
Trac Hacker <A HREF="http://trac.edgewall.org/">http://trac.edgewall.org/</A>
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="011479.html">[Mageia-dev] Too many tmp directories
</A></li>
<LI>Next message: <A HREF="011489.html">[Mageia-dev] Too many tmp directories
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#11483">[ date ]</a>
<a href="thread.html#11483">[ thread ]</a>
<a href="subject.html#11483">[ subject ]</a>
<a href="author.html#11483">[ author ]</a>
</LI>
</UL>
<hr>
<a href="https://www.mageia.org/mailman/listinfo/mageia-dev">More information about the Mageia-dev
mailing list</a><br>
</body></html>
|