If you like BoxMatrix then please contribute Supportdata, Supportdata2, Firmware and/or Hardware (get in touch).
My metamonk@yahoo.com is not reachable by me since years. Please use hippie2000@webnmail.de instead.

0
U

Property:mounts

From BoxMatrix


BoxMatrix >> System >> mounts @ BoxMatrix   -   IRC-Chat   -   Translate: de es fr it nl pl
News Selectors Models Accessories Components Environment Config Commands System Webif Software Develop Lexicon Community Project Media

Devices Filesystems Partitions Sockets Netlink Pipes Interfaces Bridges Ports Events Sources Sinks AVMIPC Processes Watchdogs Memory Slab Vmalloc ProcFS SysFS Research

Procfs-Object

Goto:   Examples  -  Dependencies   -   Model-Matrix   -   Help Supportdata2   -   SMW-Browser

Details

mounts provides the mounted filesystems, globally or in the process's mount namespace. This is what mount prints.

Before kernel 2.4.19 /proc/mounts is a file, later it is a symlink to /proc/self/mounts which is a file.

Supportdata2 includes mounts in the Filesystems section since sd2-09.
In Supportdata-Probes it is included since fw 4.76. The Linux-Filesystems section uses this data.

mounts is provided by proc_namespace.ko. See also mountinfo, mountstats and the mount_namespaces(7) man page.

Excerpt from the proc(5) man page:

/proc/mounts

       Before kernel 2.4.19, this file was a list of all the
       filesystems currently mounted on the system.  With the
       introduction of per-process mount namespaces in Linux
       2.4.19 (see mount_namespaces(7)), this file became a link
       to /proc/self/mounts, which lists the mounts of the
       process's own mount namespace.  The format of this file is
       documented in fstab(5).

Examples

3050 fw 4.07 examples:

# ls -l /proc/mounts

-r--r--r--    1 root     root            0 Sep 11 04:05 /proc/mounts

# cat /proc/mounts  

/dev/mtdblock/0 / squashfs ro 0 0
none /dev devfs rw 0 0
proc /proc proc rw 0 0
ramfs /var ramfs rw 0 0
none /proc/bus/usb usbdevfs rw 0 0

# mount

/dev/mtdblock/0 on / type squashfs (ro)
none on /dev type devfs (rw)
proc on /proc type proc (rw)
ramfs on /var type ramfs (rw)
none on /proc/bus/usb type usbdevfs (rw)


6490 fw 7.29 examples:

root@fritz2:/var/mod/root# ls -l /proc/mounts

lrwxrwxrwx    1 root     root            11 Nov 23 12:39 /proc/mounts -> self/mounts

root@fritz2:/var/mod/root# cat /proc/mounts

rootfs / rootfs rw 0 0
/dev/root / squashfs ro,relatime 0 0
devtmpfs /dev devtmpfs rw,relatime,size=115732k,nr_inodes=28933,mode=755 0 0
proc /proc proc rw,relatime 0 0
tmpfs /var tmpfs rw,relatime 0 0
sysfs /sys sysfs rw,relatime 0 0
devpts /dev/pts devpts rw,relatime,mode=600 0 0
securityfs /sys/kernel/security securityfs rw,relatime 0 0
none /sys/kernel/debug debugfs rw,relatime 0 0
no-scratch /var/remote tmpfs rw,relatime 0 0
/dev/mmcblk0p9 /var/media/ftp ext4 rw,sync,relatime,barrier=1,data=ordered 0 0
usbfs /proc/bus/usb usbfs rw,relatime 0 0
tmpfs /usr/www/all/dvb/m3u tmpfs rw,relatime 0 0

root@fritz2:/var/mod/root# mount

rootfs on / type rootfs (rw)
/dev/root on / type squashfs (ro,relatime)
devtmpfs on /dev type devtmpfs (rw,relatime,size=115732k,nr_inodes=28933,mode=755)
proc on /proc type proc (rw,relatime)
tmpfs on /var type tmpfs (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
devpts on /dev/pts type devpts (rw,relatime,mode=600)
securityfs on /sys/kernel/security type securityfs (rw,relatime)
none on /sys/kernel/debug type debugfs (rw,relatime)
no-scratch on /var/remote type tmpfs (rw,relatime)
/dev/mmcblk0p9 on /var/media/ftp type ext4 (rw,sync,relatime,barrier=1,data=ordered)
usbfs on /proc/bus/usb type usbfs (rw,relatime)
tmpfs on /usr/www/all/dvb/m3u type tmpfs (rw,relatime)

Dependencies

Daily updated index of all dependencies of this object. Last update: GMT.
A ** in the Mod column marks info from Supportdata2 probes, which will always stay incomplete.
A - in the Mod column marks manual research, the Firmware then shows where the Object occurs, not the Relation.

Relation Typ Object Mod Firmware Info Origin
0 dependencies for this object

Model-Matrix

Daily updated index of the presence, path and size of this object for each model. Last update: 2024-11-15 05:19 GMT.
Showing all models using this object. Click any column header (click-wait-click) to sort the list by the respective data.
The (main/scrpn/boot/arm/prx/atom/rtl) label in the Model column shows which CPU is meant for Multi-Linux models.
Note that this list comes from Supportdata2 probes, which can have arbitrary settings and come from different firmware versions.
It doesn't say much if a model is not listed here. It may be a missing supportdata2 file or just a disabled feature.

Help Supportdata2

The data in this article is incomplete since it was manually collected using the Supportdata2 project.

Unlike the Supportdata-Probes which have been collected for years Supportdata2 is brand new and only has a few probes.
If you have access to a shell then please help to extend the Supportdata2 collection to improve this data.

It's easy and it's done in minutes. Please send created data as an Email attachment to the address listed here. Thanks!

SMW-Browser

Information is currently being retrieved from the backend.
 

Synonyms

Showing 1 related property.

m