Difference between revisions of "Mount (command)"
Jump to navigation
Jump to search
Tags: Mobile web edit, Mobile edit |
|||
(49 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/ | + | * Related files: <code>[[/etc/fstab]]</code> |
− | * [[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> |
− | == Related | + | |
+ | mount /dev/sdc1342 /test | ||
+ | mount: /test: unknown filesystem type '[[zfs_member]]'. | ||
+ | |||
+ | mount /dev/VG_NAME/LV_NAME /directory/ | ||
+ | |||
+ | |||
+ | * <code> [[tune2fs -c]] max-[[mount]]-counts</code> | ||
+ | |||
+ | == [[macOS]] == | ||
+ | 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: <code>[[/Volumes]]</code> folder in [[macOS]]) | ||
+ | |||
+ | == [[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> | ||
− | * < | + | * <code>docker volume ls --format "{{.Driver}} {{.Name}} {{.Mountpoint}}"</code> |
+ | |||
+ | * <code>[[podman image mount]]</code> | ||
* <code>[[swapon]]</code>, <code>[[swapoff]]</code> | * <code>[[swapon]]</code>, <code>[[swapoff]]</code> | ||
+ | * [[List mounted NFS resources]] | ||
+ | * <code>[[e2fsck]]</code> | ||
+ | * [[multipass mount]] | ||
+ | * [[SMB]] | ||
+ | * [[read only]] | ||
+ | * <code>[[udisksctl mount]]</code> | ||
+ | * <code>[[findmnt]]</code> | ||
+ | * <code>[[guestmount]]</code> command to mount <code>[[qcow2]]</code> images. | ||
+ | mount | [[column -t]] | ||
+ | [[ansible.posix.mount]] | ||
== See also == | == See also == | ||
* {{mount}} | * {{mount}} | ||
+ | * {{ACL}} | ||
+ | * {{ext4}} | ||
* {{filesystems}} | * {{filesystems}} | ||
* {{fs}} | * {{fs}} | ||
− | |||
* {{files}} | * {{files}} | ||
− | + | ||
[[Category:Linux commands]] | [[Category:Linux commands]] |
Latest revision as of 17:02, 15 October 2024
mount
command mounts filesystems
- Related files:
/etc/fstab
- Mount a remote nfs share:
mount -t nfs .../...
- Windows:
mount -o nolock
mount /dev/sdc1342 /test mount: /test: unknown filesystem type 'zfs_member'.
mount /dev/VG_NAME/LV_NAME /directory/
tune2fs -c max-mount-counts
Contents
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]
umount
showmount
systemd-mount
mount -o remount /dev/shm
docker volume ls --format "Template:.Driver Template:.Name Template:.Mountpoint"
podman image mount
swapon
,swapoff
- List mounted NFS resources
e2fsck
- multipass mount
- SMB
- read only
udisksctl mount
findmnt
guestmount
command to mountqcow2
images.
mount | column -t ansible.posix.mount
See also[edit]
- File systems:
mount
,umount
,findmnt
,find
,swapon
,swapoff
,UUID, blkid
, mount options:/etc/fstab
,udisksctl mount
,guestmount
,/proc/mounts
,fstrim
,systemd-mount
,defaults
- ACL,
SubInACL.exe
, Cisco ACLs,getfacl
,setfacl
,lsattr
,chattr, xattr
, NACLs ext4
e2fsck,
,fsck.ext4
, superblock, inode, block size, mkfs.ext4 tune2fswipefs
,resize2fs
stat
,extents
, Review ext4 journalctl logs. Read-only file system,virt-resize
, ACL- File systems: clustered file system,
tune2fs
mkfs.ext4
,superblock, e2fsck,resize2fs
,mount
,df
,umount
, UUID,fstab
- File systems:
ext4
,XFS
,ZFS
,btrfs
,wipefs
,findfs
,HDFS
,overlay
,aufs
,virt-filesystems
, Windows: (FAT, NTFS, ReFS), GPFS, squashfs, Ecryptfs, Encfs, FUSE, VMFS, Comparison of distributed file systems, Userspace filesystem, Resize filesystem size - file, File system, directory,
touch
,mkdir
,ls
,ln
truncate
,fallocate
,split
,stat
, inode, File descriptor, superblock, block size (blockdev
),fuser
,lsof
,scrub
,chattr
, ulimit (nofiles),cp
,mv
,file (command)
,mkfifo
,chmod
Advertising: