背景:买了一块新的ssd硬盘,挂载到ubuntu下。

1、快速格式化:

1)查看ssd硬盘的盘符: sudo fdisk -l

2)快速格式化: sudo mkfs.ext4 -T default /dev/sdc

关于mkfs命令的T参数, man mkfs.ext4 有一段解释:

-T usage-type[,...]Specify how the filesystem is going to be used, so that mke2fs can choose optimal filesystem parameters for that use.   Theusage  types  that  are supported are defined in the configuration file /etc/mke2fs.conf.  The user may specify one or moreusage types using a comma separated list.If this option is is not specified, mke2fs will pick a single default usage type based on the size of the filesystem to  becreated.   If  the filesystem size is less than 3 megabytes, mke2fs will use the filesystem type floppy.  If the filesystemsize is greater than or equal to 3 but less than 512 megabytes, mke2fs(8) will use  the  filesystem  type  small.   If  thefilesystem  size is greater than or equal to 4 terabytes but less than 16 terabytes, mke2fs(8) will use the filesystem typebig.  If the filesystem size is greater than or equal to 16 terabytes, mke2fs(8) will use the filesystem type huge.  Other‐wise, mke2fs(8) will use the default filesystem type default.

2、挂载:

mkdir -p /mnt/abc
mount -t auto /dev/sdc /mnt/abc

3、

1)卸载: umount /mnt/abc

2)如果碰到无法卸载,提示:device is busy等等,可以用fuser命令: fuser -km /mnt/abc

linux下工具exfs用法相关推荐

  1. Linux下的awk用法详解

    Linux下的awk用法详解 一.awk介绍 二.awk的语法 三.awk常见用法 四.awk其他用法 五.awk语言特性 一.awk介绍 1.AWK 是一种处理文本文件的语言,是一个强大的文本分析工 ...

  2. linux下chkConfig的用法,mysqld开机自启动

    linux下chkConfig的用法,mysqld开机自启动 使用语法: chkconfig[--add][--del][--list][系统服务]或chkconfig[--level<等级代号 ...

  3. Linux 下 strace 命令用法总结

    Linux 下 strace 命令用法总结 1 功能说明 strace 命令是一种强大的工具, 能够显示任何由用户空间程式发出的系统调用. strace 显示这些调用的参数并返回符号形式的值. str ...

  4. linux下防火墙iptables用法规则详解

    linux下防火墙iptables用法规则详解 分享者: du52.com 邮件: wangaibo168@163.com 主页: http://www.du52.com linux下防火墙iptab ...

  5. linux下svn的用法(转)

    linux下svn的用法 2008-10-30 17:12:56 标签:linux svn 用法 [推送到技术圈] 来源:http://zhoutao.blog.51cto.com/425866/10 ...

  6. Linux下find命令用法详解

    Linux下find命令用法详解 学神VIP烟火 学神IT教育:XueGod-IT 最负责任的线上直播教育平台 本文作者为VIP学员 烟火 第一部分:根据文件名查找 1.在当前目录查找名称为test的 ...

  7. Linux下scp的用法

    Linux下scp的用法 scp就是secure copy,一个在linux下用来进行远程拷贝文件的命令. 有时我们需要获得远程服务器上的某个文件,该服务器既没有配置ftp服务器,也没有做共享,无法通 ...

  8. LINUX下poll函数用法

    LINUX下poll函数用法 文章目录 LINUX下poll函数用法 一.函数介绍 二.使用 1. 一.函数介绍 int poll(struct pollfd *fds, nfds_t nfds, i ...

  9. Linux下diff命令用法详解

    大家好,我是良许. 我们在平时工作的时候,经常要知道两个文件之间,以及同个文件不同版本之间有何异同点.在 Windows 下,有 beyond compare 这个好用的工具,而在 Linux 下,也 ...

最新文章

  1. supesite之空间篇
  2. 神经网络neural network简单理解
  3. 自定义带进度条的WebView , 增加获取web标题和url 回掉
  4. SAP Spartacus Organization Unit List三个按钮的技术实现
  5. 向量合并 matlab,MATLAB追加向量
  6. 中科院大学计算机研究生考试大纲,中国科学院大学《计算机原理》2019年硕士研究生入学考试大纲...
  7. 高通量数据中批次效应的鉴定和处理(五)- 预测并校正可能存在的混杂因素...
  8. DevOps on DevCloud|如何构建Kotlin开发的Android Apps
  9. Being a good boy in the spring festival NIM博弈
  10. Linux Socket学习--面向非连接的协议
  11. Python解析JSON对象
  12. 零信任嵌入式安全沙箱技术,企业应用软件的技术底座
  13. 用 StarRocks on ES 实现 分词
  14. Page Visibility(页面可见性) API介绍、微拓展
  15. 六世喇嘛-仓央嘉措诗集
  16. HTML5学习之路(电影影评网)
  17. centos操作系统简介
  18. 李开复给大学生的第四封信---大学四年应是这样度过
  19. 百度前端技术学院—斌斌学院题库 转载 cristina-guan
  20. eclipse Mars.2 Release (4.5.2)安装springtool

热门文章

  1. python实现文件上传下载
  2. C语言浮点数据在内存中的存储方式
  3. python如何提交作业_玛雅截稿作业提交python命令
  4. java ftp下载文件 慢_java实现ftp文件上传下载,解决慢,中文乱码,多个文件下载等问题...
  5. 不同品牌的内存条可以混用吗_混用不同品牌护肤品的技巧
  6. adb指令禁用软件_三星等安卓手机续航差?禁用部分系统组件后提升明显
  7. php ci url,URL路由设置-CI(codeigniter)PHP框架再探
  8. java面试题十二 String返回类型
  9. 在MySQL登录时出现Access denied for user ‘root‘@‘localhost‘ (using password: YES)
  10. 如何缩短IDEA行号的距离