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

推荐订阅源

WordPress大学
WordPress大学
Microsoft Azure Blog
Microsoft Azure Blog
MongoDB | Blog
MongoDB | Blog
小众软件
小众软件
Apple Machine Learning Research
Apple Machine Learning Research
O
OpenAI News
酷 壳 – CoolShell
酷 壳 – CoolShell
The GitHub Blog
The GitHub Blog
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
博客园 - 聂微东
Engineering at Meta
Engineering at Meta
W
WeLiveSecurity
Hacker News: Ask HN
Hacker News: Ask HN
大猫的无限游戏
大猫的无限游戏
Vercel News
Vercel News
D
Docker
F
Full Disclosure
AI
AI
罗磊的独立博客
博客园 - 【当耐特】
U
Unit 42
S
SegmentFault 最新的问题
Stack Overflow Blog
Stack Overflow Blog
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
P
Palo Alto Networks Blog
博客园_首页
H
Help Net Security
量子位
月光博客
月光博客
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
博客园 - 司徒正美
F
Fortinet All Blogs
D
DataBreaches.Net
B
Blog RSS Feed
Webroot Blog
Webroot Blog
TaoSecurity Blog
TaoSecurity Blog
S
Secure Thoughts
爱范儿
爱范儿
I
InfoQ
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
www.infosecurity-magazine.com
www.infosecurity-magazine.com
Attack and Defense Labs
Attack and Defense Labs
Application and Cybersecurity Blog
Application and Cybersecurity Blog
C
CERT Recently Published Vulnerability Notes
Martin Fowler
Martin Fowler
Blog — PlanetScale
Blog — PlanetScale
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
S
Securelist

博客园 - y9902

雅虎存在严重安全漏洞,可以轻松获得账户的控制权 I AM BACK 深入浅出 ck1.in/N.JS 新加了一个友情链接 雅虎书签存在严重安全漏洞,可以轻松获得账户的控制权 Deamhost 的当机页面 一个美丽,智慧,心善的明星:张瑶 Windows的蓝屏秀 c# 时间戳 推荐一个网站 vista 自带的IE7 的 User Agent 国外虚拟主机购买 卡巴斯基互联网安全套装V6.0个人版激活码 域名的巨大潜力 一个操作firebird的helper类 如何修复DNS? GzipStream 相关(操作steam绝对经典) pcc的文件格式面世了 Building XML File in C#
修改系统分区后挂载的问题 - y9902 - 博客园
y9902 · 2008-05-10 · via 博客园 - y9902

就和windows一样,在linux下手工修改分区的事情也经常发生。但是linux却要比windows麻烦了一点点:
修改了分区,自然放在 /etc/fstab 里自然挂载,而不是在 /etc/rc.local 里开机后挂载。
如何写?

这里以修改“LABEL=/nat           /nat                     ext3    rw,noatime"为例子:

1.umount /nat

2.e2label /dev/hdd3 /nat

3.mount LABEL=/nat /nat

4.修改并写入/etc/fstab
例如:
LABEL=/nat           /nat                   ext3    rw,noatime        1 2

这样就好了,千万不可不经过1,2,3步,直接进入第四步,否则你会出现以下错误提示,进入 filesystem repair 模式:
fsck.ext3:unable to resolve /LABEL=/nat'
give root password for maintenance
(or type control -D to continue):

如果出现这个错误,还怎么办呢?以下是方法:
进入repair system模式,然后进入运行级别1(init 1),再回到运行级别3(init 3)就可以了,不过我是在fedora5,和redhat恩enterprise上试验的,进入系统后可能处于只读状态,可以通过mount -n -o remount,rw / 来变为可读写状态。