Mounting storage devices in linux

preview_player
Показать описание
After a partition has been formatted, the system must give you
a way to access it
• Windows uses a drive letter
• Linux uses a directory (called the mount point)

The mount command associates a partition with a directory
that allows the user to access the data
Syntax: mount –t fs_type dev dir
mounts one formatted partition
• fs_type is the file system (i.e. fat, ntfs, ext, ext4 etc.)
dev is the device file (i.e. the partition to load, such as /dev/sdc2)
dir is the mount point (a directory where the partition will be loaded)
Example:
mount –t ext4 /dev/sdb1 /var/mylogs
Рекомендации по теме