[opensuse] What are these "devices" in my partition info?
I don't recall seeing these in oS prior to 12.2, but what are these "devices" with file system of TMPFS showing in the screengrab of the partition information in YaST2?: http://susepaste.org/92624459 What created them and for what reason? (The info is for 2x 1TB SATA 3 HDDs which I formatted in order to be able to install and run a number of OSs; only sda5 and sdb1 contain OSs at the moment.) Grateful for any info re this. BC -- Using openSUSE 12.2 x86_64 KDE 4.10.00 & kernel 3.8.1-1 on a system with- AMD FX 8-core 3.6/4.2GHz processor 16GB PC14900/1866MHz Quad Channel Corsair "Vengeance" RAM Gigabyte AMD3+ m/board; Gigabyte nVidia GTX550Ti 1GB DDR5 GPU -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
В Sun, 03 Mar 2013 15:39:20 +1100
Basil Chupin
I don't recall seeing these in oS prior to 12.2, but what are these "devices" with file system of TMPFS showing in the screengrab of the partition information in YaST2?:
What created them and for what reason?
/dev/shm has always been there; cgroup is pseudo filesystem to manage kernel Control Groups (collection of processes); others are temporary volatile filesystems with content that is discarded between reboots. So it is easier to make them memory-based than run script on every boot to clean them. Most of them are heavily used by systemd. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 03/03/13 15:51, Andrey Borzenkov wrote:
� Sun, 03 Mar 2013 15:39:20 +1100 Basil Chupin
�����: I don't recall seeing these in oS prior to 12.2, but what are these "devices" with file system of TMPFS showing in the screengrab of the partition information in YaST2?:
What created them and for what reason?
/dev/shm has always been there; cgroup is pseudo filesystem to manage kernel Control Groups (collection of processes); others are temporary volatile filesystems with content that is discarded between reboots. So it is easier to make them memory-based than run script on every boot to clean them.
Most of them are heavily used by systemd.
Aha, thanks for the explanation. BC -- Using openSUSE 12.2 x86_64 KDE 4.10.00 & kernel 3.8.1-1 on a system with- AMD FX 8-core 3.6/4.2GHz processor 16GB PC14900/1866MHz Quad Channel Corsair "Vengeance" RAM Gigabyte AMD3+ m/board; Gigabyte nVidia GTX550Ti 1GB DDR5 GPU -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 2013-03-03 08:51 (GMT+0400) Andrey Borzenkov composed:
/dev/shm has always been there; cgroup is pseudo filesystem to manage kernel Control Groups (collection of processes); others are temporary volatile filesystems with content that is discarded between reboots. So it is easier to make them memory-based than run script on every boot to clean them.
Most of them are heavily used by systemd.
Why do they show up in default output of 'mount'? Seems like all those are nothing but obfuscatory when one wishes to see what user accessible filesystems (EXTx, FAT, CIFS, NFS, ISO9660, etc.) are mounted where and how. -- "The wise are known for their understanding, and pleasant words are persuasive." Proverbs 16:21 (New Living Translation) Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
В Sun, 03 Mar 2013 00:41:53 -0500
Felix Miata
On 2013-03-03 08:51 (GMT+0400) Andrey Borzenkov composed:
/dev/shm has always been there; cgroup is pseudo filesystem to manage kernel Control Groups (collection of processes); others are temporary volatile filesystems with content that is discarded between reboots. So it is easier to make them memory-based than run script on every boot to clean them.
Most of them are heavily used by systemd.
Why do they show up in default output of 'mount'?
Because they are directory that are mounted? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Felix Miata said the following on 03/03/2013 12:41 AM:
On 2013-03-03 08:51 (GMT+0400) Andrey Borzenkov composed:
/dev/shm has always been there; cgroup is pseudo filesystem to manage kernel Control Groups (collection of processes); others are temporary volatile filesystems with content that is discarded between reboots. So it is easier to make them memory-based than run script on every boot to clean them.
Most of them are heavily used by systemd.
Why do they show up in default output of 'mount'? Seems like all those are nothing but obfuscatory when one wishes to see what user accessible filesystems (EXTx, FAT, CIFS, NFS, ISO9660, etc.) are mounted where and how.
Regular readers will recall that I'm a heavy user of LVM (on all except the experimental BtrFS system). That and heavy use of NFS and aggressive partitioning so I can back up a partition onto CD/DVD means I may on some machines see as many as 40-50 "user accessible" entries when I run the basic 'mount' command. This is pretty unintelligible! So, for a long time now I have made use of the "-t filesystemtype" or the basic 'grep' command to cut down what I see and make it more manageable. You may cast aspersions on my strategy of having so many partitions, and I'll shrug it off and point out that on the other other hand I'm experimenting with BtrFS where I have just one partition for the whole drive. maybe I'll plug in another drive and have just the one (logical) partition across both of them. Maybe a third... But hey, that gets <strike>unintelligible</strike> unmanageable in other ways. Does that security flaw about having /tmp on the same partition as / still apply? What about a 'sticky bit' when it's all one partition? What about different buffering and write strategies being lost when you move from many partitions to just one partition? -- The scientific name for an animal that doesn't either run from or fight its enemies is lunch. - Michael Friedman -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
El 03/03/13 01:39, Basil Chupin escribió:
I don't recall seeing these in oS prior to 12.2, but what are these "devices" with file system of TMPFS showing in the screengrab of the partition information in YaST2?:
What created them and for what reason?
They were mounted by systemd and/or by the kernel/initrd They are required for your system to work as expected. /dev/shm --> required by glibc /run and /var/run are required by almost all basic services. that's where applications create sockets for interprocess communication and few remaining services that still create pid files. /var/lock is where apps create file locks, probably the wrong thing to do, but required. /media is where hotplugged storage devices will be mounted /sys/fs/cgroups is where the cgroups kernel subsystem operates, required by systemd, if you axe it, your system will not boot. All of them use the tmpfs filesystem because they must be clean/empty on every system start otherwise funny things will happend. In the ideal world of happy thoughts and unicorns, software should cleanup /run /var/run /var/lock on exit, that does not match reality, making those mount points volatile is the only workable solution at the scale of a large distribution. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
2013/3/3 Cristian Rodríguez
/media is where hotplugged storage devices will be mounted
How can I tell to oS 12.2 to use /media to mount hotplugged devices? When I plug a pendrive or an usb disk, it is mounted in /run/media/<user> and not in /media as happens in oS 12.1. Best, Andrea -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Mon, Mar 4, 2013 at 1:19 PM, Andrea Turrini
2013/3/3 Cristian Rodríguez
: /media is where hotplugged storage devices will be mounted
How can I tell to oS 12.2 to use /media to mount hotplugged devices? When I plug a pendrive or an usb disk, it is mounted in /run/media/<user> and not in /media as happens in oS 12.1.
There is no way. Upstream decided that it should be a) /run/media/<user> b) not configurable -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Andrey Borzenkov wrote:
/media is where hotplugged storage devices will be mounted
How can I tell to oS 12.2 to use /media to mount hotplugged devices? When I plug a pendrive or an usb disk, it is mounted in /run/media/<user> and not in /media as happens in oS 12.1.
There is no way. Upstream decided that it should be
a)/run/media/<user> b) not configurable
On my 12.2 system, a pen drive appears in /media. There isn't even a /run/media directory. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Mon, Mar 4, 2013 at 5:21 PM, James Knott
Andrey Borzenkov wrote:
/media is where hotplugged storage devices will be mounted
How can I tell to oS 12.2 to use /media to mount hotplugged devices? When I plug a pendrive or an usb disk, it is mounted in /run/media/<user> and not in /media as happens in oS 12.1.
There is no way. Upstream decided that it should be
a)/run/media/<user> b) not configurable
On my 12.2 system, a pen drive appears in /media. There isn't even a /run/media directory.
This likely depends on which DE is used and which udisks version it is using. IIRC udisk2 is using /run/media and udisks1 - /media. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
James Knott said the following on 03/04/2013 08:21 AM:
Andrey Borzenkov wrote:
/media is where hotplugged storage devices will be mounted
How can I tell to oS 12.2 to use /media to mount hotplugged devices? When I plug a pendrive or an usb disk, it is mounted in /run/media/<user> and not in /media as happens in oS 12.1.
There is no way. Upstream decided that it should be
a)/run/media/<user> b) not configurable
On my 12.2 system, a pen drive appears in /media. There isn't even a /run/media directory.
Same here. I do have a /run/mount/ and there in is a record of the NFS mounts. -- The way that can be followed is not the Way The truth that can be told is not the Truth -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 04/03/13 20:19, Andrea Turrini wrote:
2013/3/3 Cristian Rodr�guez
: /media is where hotplugged storage devices will be mounted How can I tell to oS 12.2 to use /media to mount hotplugged devices? When I plug a pendrive or an usb disk, it is mounted in /run/media/<user> and not in /media as happens in oS 12.1.
Best, Andrea
When I mount an USB device it shows up in /media on my oS 12.2, and has never ever mounted anywhere else. BC -- Using openSUSE 12.3 x86_64 KDE 4.10.00 & kernel 3.8.1-2 on a system with- AMD FX 8-core 3.6/4.2GHz processor 16GB PC14900/1866MHz Quad Channel Corsair "Vengeance" RAM Gigabyte AMD3+ m/board; Gigabyte nVidia GTX550Ti 1GB DDR5 GPU -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Basil Chupin said the following on 03/04/2013 05:31 AM:
On 04/03/13 20:19, Andrea Turrini wrote:
2013/3/3 Cristian Rodr�guez
: /media is where hotplugged storage devices will be mounted How can I tell to oS 12.2 to use /media to mount hotplugged devices? When I plug a pendrive or an usb disk, it is mounted in /run/media/<user> and not in /media as happens in oS 12.1.
Best, Andrea
When I mount an USB device it shows up in /media on my oS 12.2, and has never ever mounted anywhere else.
Same here. -- "If someone is going down the wrong road, he doesn't need motivation to speed him up. What he needs is education to turn him around." -- Jim Rohn -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 05/03/13 00:34, Anton Aylward wrote:
Basil Chupin said the following on 03/04/2013 05:31 AM:
On 04/03/13 20:19, Andrea Turrini wrote:
2013/3/3 Cristian Rodr�guez
: /media is where hotplugged storage devices will be mounted How can I tell to oS 12.2 to use /media to mount hotplugged devices? When I plug a pendrive or an usb disk, it is mounted in /run/media/<user> and not in /media as happens in oS 12.1.
Best, Andrea When I mount an USB device it shows up in /media on my oS 12.2, and has never ever mounted anywhere else. Same here.
And so the question arises: what are those people claiming otherwise running to claim what they claim? Apart from the recent (ie, many months ago) alteration of a path which now causes the nvidia driver not to be compiled without a symlink, what else has been done - and when, and to what? - to cause USB devices to be mounted in '/run/media/...."? (There is nothing like stability in a system. Or sudden instability because somebody couldn't be bothered warning people about a change..... God/Allah bless developers and all those who control them..... :-) .) BC -- Using openSUSE 12.3 x86_64 KDE 4.10.00 & kernel 3.8.2-1 on a system with- AMD FX 8-core 3.6/4.2GHz processor 16GB PC14900/1866MHz Quad Channel Corsair "Vengeance" RAM Gigabyte AMD3+ m/board; Gigabyte nVidia GTX550Ti 1GB DDR5 GPU -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
2013/3/6 Basil Chupin
How can I tell to oS 12.2 to use /media to mount hotplugged devices? When I plug a pendrive or an usb disk, it is mounted in /run/media/<user> and not in /media as happens in oS 12.1.
Best, Andrea
When I mount an USB device it shows up in /media on my oS 12.2, and has never ever mounted anywhere else.
Same here.
And so the question arises: what are those people claiming otherwise running to claim what they claim?
I have looked for this and the cause seems to be related to udisks1/2: udisks1 (still used by KDE) mounts in /media; udisks2 (used by GNOME, xfce, and lxde) mounts in /run/media/<user> Best, Andrea -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 06/03/13 18:12, Andrea Turrini wrote:
2013/3/6 Basil Chupin
: How can I tell to oS 12.2 to use /media to mount hotplugged devices? When I plug a pendrive or an usb disk, it is mounted in /run/media/<user> and not in /media as happens in oS 12.1.
Best, Andrea When I mount an USB device it shows up in /media on my oS 12.2, and has never ever mounted anywhere else. Same here.
And so the question arises: what are those people claiming otherwise running to claim what they claim? I have looked for this and the cause seems to be related to udisks1/2: udisks1 (still used by KDE) mounts in /media; udisks2 (used by GNOME, xfce, and lxde) mounts in /run/media/<user>
Best, Andrea
Aha, so it is related to other DE other than KDE. "KDE rools!" :-) BC PS As I stated, there is nothing better than consistency and uniformity in the ways things are handled..... And then people get annoyed when comments are made that Linux is for the geeks... -- Using openSUSE 12.2 x86_64 KDE 4.10.00 & kernel 3.8.2-1 on a system with- AMD FX 8-core 3.6/4.2GHz processor 16GB PC14900/1866MHz Quad Channel Corsair "Vengeance" RAM Gigabyte AMD3+ m/board; Gigabyte nVidia GTX550Ti 1GB DDR5 GPU -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (7)
-
Andrea Turrini
-
Andrey Borzenkov
-
Anton Aylward
-
Basil Chupin
-
Cristian Rodríguez
-
Felix Miata
-
James Knott