This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
linux:installation [2018/07/17 13:14] mstraub |
linux:installation [2018/12/07 11:13] mstraub [Mounting] |
||
---|---|---|---|
Line 291: | Line 291: | ||
===== Mounting ===== | ===== Mounting ===== | ||
- | The ''mount'' command and various files can be used to inquire the currently mounted devices and swap spaces. | + | The ''findmnt'' command and various files can be used to inquire the currently mounted devices and swap spaces. |
<code bash> | <code bash> | ||
- | mount # show currently mounted devices | + | lsblk # list block devices (i.e. no network or virtual devices) |
+ | findmnt # show all currently mounted devices | ||
+ | findmnt -t ext4,cifs # show mounted devices with a certain file system type | ||
+ | mount # show all currently mounted devices (deprecated!) | ||
cat /etc/mtab # .. | cat /etc/mtab # .. | ||
cat /proc/mounts # .. | cat /proc/mounts # .. |