Skip to content

Mount options

An explanation of some options of the command sh mount

rw

Mount the filesystem read/write.

nosuid

Do not allow set-user-identifier or set-group-identifier bits to take effect.

nodev

Do not interpret character or block special devices on the file system.

relatime

Similar to noatime, but doesn't break mutt or other applications that need to know if a file has been read since the last time it was modified.

uid & gid

Set the owner and group of the files in the filesystem. Use 1000

umask

Set the bitmask of the permissions that are not present. Use 0022

showexec

Permits the execution of executables

flush

The kernel flushes all writes as soon as the drive becomes idle. No "need" for manual save.

errors=remount-ro

If an error occurs then the filesystem will be remounted as read-only

sudo mount -o uid=1000,gid=1000,noatime,flush,errors=remount-ro /dev/sdX flash/