惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Google DeepMind News
Google DeepMind News
N
Netflix TechBlog - Medium
The Register - Security
The Register - Security
C
Cybersecurity and Infrastructure Security Agency CISA
H
Hackread – Cybersecurity News, Data Breaches, AI and More
The Hacker News
The Hacker News
P
Proofpoint News Feed
Project Zero
Project Zero
The GitHub Blog
The GitHub Blog
The Last Watchdog
The Last Watchdog
F
Fortinet All Blogs
S
Schneier on Security
Help Net Security
Help Net Security
Security Archives - TechRepublic
Security Archives - TechRepublic
C
Check Point Blog
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
P
Proofpoint News Feed
I
InfoQ
T
The Blog of Author Tim Ferriss
Cisco Talos Blog
Cisco Talos Blog
Stack Overflow Blog
Stack Overflow Blog
T
Troy Hunt's Blog
人人都是产品经理
人人都是产品经理
T
Threatpost
www.infosecurity-magazine.com
www.infosecurity-magazine.com
C
Cyber Attacks, Cyber Crime and Cyber Security
雷峰网
雷峰网
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
爱范儿
爱范儿
Forbes - Security
Forbes - Security
Vercel News
Vercel News
S
Security Affairs
美团技术团队
P
Privacy & Cybersecurity Law Blog
N
News and Events Feed by Topic
Cyberwarzone
Cyberwarzone
Recent Commits to openclaw:main
Recent Commits to openclaw:main
Jina AI
Jina AI
Spread Privacy
Spread Privacy
Attack and Defense Labs
Attack and Defense Labs
IT之家
IT之家
U
Unit 42
Recorded Future
Recorded Future
W
WeLiveSecurity
PCI Perspectives
PCI Perspectives
P
Palo Alto Networks Blog
H
Hacker News: Front Page
S
Security @ Cisco Blogs
博客园 - 【当耐特】

N25H

Maye Nano:拒绝臃肿,回归纯粹的快速启动工具 – N25H Maye Nano Script Help – N25H 国行三星 Galaxy Watch7 其他品牌手机解锁心电图、血压等功能 – N25H 推翻重做,彻底重写WordPress主题 – N25H WordPress 模板目前采用的缓存获取方案 – N25H WordPress 通过Hook修改评论Flood判定时间 – N25H 相册测试1 – N25H 相册测试2 – N25H 从 Typecho 迁移到 WordPress 的后续 – N25H
在Linux Ubuntu上挂载新硬盘 (临时、永久挂载) – N25H
作者: N25H · 2023-10-07 · via N25H

笔记基于 Ubuntu 22.04 x64 其他 Linux 基本相同。

1.查看服务器上的硬盘

命令一: fdisk -l

命令二: lsblk

2.磁盘分区

此处略过…

3.格式化磁盘

命令: mkfs.ext4 /dev/vdb 其中 /dev/vdb 替换为盘符路径

4.挂载磁盘

命令: mount /dev/vdb /down 其中 /dev/vdb 替换为盘符路径,/down 替换为需要挂载的路径

如果要挂载的路径不存在,则使用 mkdir /down 创建

5.开机自动挂载

前面仅仅实现了手动挂载,但重启后并不会自动挂载。这里需要设置自动挂载。

命令: sudo vim /etc/fstab

在文件中添加如下一行:

/dev/vdb /down ext4 defaults 0 1

其中 /dev/vdb 替换为盘符路径,/down 替换为需要挂载的路径。

6.查看挂载好的硬盘信息

命令: df -h

赞赏作者

如果觉得我的文章对你有用,请随意赞赏