设为首页 加入收藏

TOP

3.4Linux 文件系统挂载
2019-05-12 01:50:01 】 浏览:101
Tags:3.4Linux 文件 系统
1.syntax: mount [params] path1 path2
params: -t type of filesystem
-o [param1,param2...] other paramters
ro,rw ready only or read write
sync not use cache
async use cache
remount mount again
atime update access time after files are accessed
noatime not update access time after files are accessed


2.umount fie
syntax: umount path(mount point or device)


3.if device is busy, we count not umount it, but we can use following commond to check if the device is busy
a.check if there is any process is using the device
syntax: fuser -m /mnt(mount point)

b.check which file is being used
lsof /mont(mount point)


4.mount automatically when server is starting
add a new record in file /etc/fstab
syntax: mount -a mount all folder in file /etc/fstab
】【打印繁体】【投稿】【收藏】 【推荐】【举报】【评论】 【关闭】 【返回顶部
上一篇Scala主构造器、私有构造器、构造.. 下一篇Python学习笔记(贰) - Python开..

最新文章

热门文章

Hot 文章

Python

C 语言

C++基础

大数据基础

linux编程基础

C/C++面试题目