Difference between revisions of "Mount (command)"

From wikieduonline
Jump to navigation Jump to search
 
(17 intermediate revisions by 5 users not shown)
Line 1: Line 1:
 +
{{lc}}
 
<code>mount</code> command mounts [[filesystems]]
 
<code>mount</code> command mounts [[filesystems]]
 
:https://linux.die.net/man/8/mount
 
:https://linux.die.net/man/8/mount
  
  
<code>mount -a</code>
+
* <code>[[mount -a]]</code>
  
 
* Related files: <code>[[/etc/fstab]]</code>
 
* Related files: <code>[[/etc/fstab]]</code>
Line 9: Line 10:
 
* [[Mount a remote nfs share]]: <code>[[mount -t nfs]] .../...</code>
 
* [[Mount a remote nfs share]]: <code>[[mount -t nfs]] .../...</code>
  
* Windows: <code>mount -o nolock</code>
+
* [[Windows]]: <code>mount -o nolock</code>
  
  
Line 18: Line 19:
  
  
[[tune2fs]] -c max-[[mount]]-counts
+
* <code> [[tune2fs -c]] max-[[mount]]-counts</code>
  
 
== [[macOS]] ==
 
== [[macOS]] ==
Line 24: Line 25:
 
  mount: You must specify a filesystem type with -t.
 
  mount: You must specify a filesystem type with -t.
  
  sudo mount -t [[exfat]] /dev/disk2s1 /tmp/foo
+
  sudo [[mount -t]] [[exfat]] /dev/disk2s1 /tmp/foo
  
 
  See also: <code>[[/Volumes]]</code> folder in [[macOS]])
 
  See also: <code>[[/Volumes]]</code> folder in [[macOS]])
  
== Related terms ==
+
== [[Linux Kernel]] ==
 +
* ID mapping in mounts which allows to map an [[UID]] to a different one in a mount;
 +
 
 +
== Errors ==
 +
* [[access denied by server while mounting]]
 +
 
 +
== Related ==
 
* <code>[[umount]]</code>
 
* <code>[[umount]]</code>
 +
* <code>[[showmount]]</code>
 
* <code>[[systemd-mount]]</code>
 
* <code>[[systemd-mount]]</code>
 
* <code>[[mount]] -o remount /dev/[[shm]]</code>
 
* <code>[[mount]] -o remount /dev/[[shm]]</code>
* <pre>docker volume ls --format "{{.Driver}}  {{.Name}}  {{.Mountpoint}}"</pre>
+
* <code>docker volume ls --format "{{.Driver}}  {{.Name}}  {{.Mountpoint}}"</code>
  
 
* <code>[[podman image mount]]</code>
 
* <code>[[podman image mount]]</code>
Line 44: Line 52:
 
* <code>[[findmnt]]</code>
 
* <code>[[findmnt]]</code>
 
* <code>[[guestmount]]</code> command to mount <code>[[qcow2]]</code> images.
 
* <code>[[guestmount]]</code> command to mount <code>[[qcow2]]</code> images.
 +
mount | [[column -t]]
 +
[[ansible.posix.mount]]
  
 
== See also ==
 
== See also ==
 +
* {{mount}}
 
* {{ACL}}
 
* {{ACL}}
 
* {{ext4}}
 
* {{ext4}}
* {{mount}}
 
 
* {{filesystems}}
 
* {{filesystems}}
 
* {{fs}}
 
* {{fs}}
* [[LVM]]
 
 
* {{files}}
 
* {{files}}
* [[Windows Unified Write Filter (UWF)]]
+
 
  
 
[[Category:Linux commands]]
 
[[Category:Linux commands]]

Latest revision as of 17:02, 15 October 2024

mount command mounts filesystems

https://linux.die.net/man/8/mount



mount /dev/sdc1342 /test
mount: /test: unknown filesystem type 'zfs_member'.
mount /dev/VG_NAME/LV_NAME /directory/


macOS[edit]

sudo mount /dev/disk2s1 /tmp/foo
mount: You must specify a filesystem type with -t.
sudo mount -t exfat /dev/disk2s1 /tmp/foo
See also: /Volumes folder in macOS)

Linux Kernel[edit]

  • ID mapping in mounts which allows to map an UID to a different one in a mount;

Errors[edit]

Related[edit]

mount | column -t
ansible.posix.mount

See also[edit]

Advertising: