каковы спецификации, которые обеспечивает команда монтирования?

при чтении о Linux я получил следующее..

Ввод монтируется без любых аргументов, покажет все в настоящее время смонтированные файловые системы.

когда я попробовал это в своей системе, я добрался..

anupam@JAZZ:~$ mount
/dev/sda5 on / type ext4 (rw,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
none on /sys/fs/cgroup type tmpfs (rw)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
udev on /dev type devtmpfs (rw,mode=0755)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
none on /run/shm type tmpfs (rw,nosuid,nodev)
none on /run/user type tmpfs (rw,noexec,nosuid,nodev,size=104857600,mode=0755)
none on /sys/fs/pstore type pstore (rw)
selinuxfs on /sys/fs/selinux type selinuxfs (rw,relatime)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
systemd on /sys/fs/cgroup/systemd type cgroup (rw,noexec,nosuid,nodev,none,name=systemd)
gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,user=anupam)
/dev/sda2 on /media/anupam/1C44CC1044CBEA9A type fuseblk (rw,nosuid,nodev,allow_other,default_permissions,blksize=4096)

хорошо, я получаю это все прежде on a device node и после этого a mount point , но я не получаю некоторые типы.

Эти типы файловых систем как ext4 ,ext3 , btrfs ,xfs - потому что в /dev/sda5 его тип ext4(which is file system for linux), но для /dev/sda2(which is C:\ of windows 8) это показывает fuseblk(but file system for it is ntfs) .

и 'параметры (rw, noexec, nosuid, nodev и т.д.) связанный с этими типами, может кто-то давать мне справочник для получения всех их,

1
задан 7 September 2014 в 12:50

1 ответ

Так как мы не должны давать ссылку, только отвечает, от этот сайт :

auto - Mount automatically at boot, or when the command mount -a is issued.
noauto - Mount only when you tell it to.
exec - Allow execution of binaries on the filesystem.
noexec - Disallow execution of binaries on the filesystem.
ro - Mount the filesystem read-only.
rw - Mount the filesystem read-write.
user - Allow any user to mount the filesystem. This automatically implies noexec, nosuid, nodev, unless overridden.
users - Allow any user in the users group to mount the filesystem. This automatically implies noexec, nosuid, nodev, unless overridden.
nouser - Allow only root to mount the filesystem.
owner - Allow the owner of device to mount.
sync - I/O should be done synchronously.
async - I/O should be done asynchronously.
dev - Interpret block special devices on the filesystem.
nodev - Don't interpret block special devices on the filesystem.
suid - Allow the operation of suid, and sgid bits. They are mostly used to allow users on a computer system to execute binary executables with temporarily elevated privileges in order to perform a specific task.
nosuid - Block the operation of suid, and sgid bits.
noatime - Don't update inode access times on the filesystem. Can help performance (see atime options).
nodiratime - Do not update directory inode access times on the filesystem. Can help performance (see atime options).
relatime - Update inode access times relative to modify or change time. Access time is only updated if the previous access time was earlier than the current modify or change time. (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.) Can help performance (see atime options).
discard - Issue TRIM commands to the underlying block device when blocks are freed. Recommended to use if the filesystem is located on an SSD.
flush - The vfat option to flush data more often, thus making copy dialogs or progress bars to stay up until all data is written.
nofail - Mount device when present but ignore if absent. This prevents errors being reported at boot for removable media.
defaults - the default mount options for the filesystem to be used. The default options for ext4 are: rw, suid, dev, exec, auto, nouser, async.

сравнение А в файловых системах Вы найдете здесь: http://en.wikipedia.org/wiki/Comparison_of_file_systems . Это действительно слишком много для вставки здесь.

"fuseblk" (среди других), как о ntfs разделе сообщают через команду "монтирования". Больше на Предохранителе: http://en.wikipedia.org/wiki/Filesystem_in_Userspace . (но ссылка не помогает многому в понимании)

2
ответ дан 11 November 2019 в 09:33

Другие вопросы по тегам:

Похожие вопросы: