Home
Categories
WIKI
Topic
User
LANGUAGE:
中文
English
能否修改分区挂载点?
Experiences and Insight
2245
views ·
6
replies ·
To
floor
Go
weiminnihao9
deepin
2012-04-21 00:50
Author
我有个1G的ext4分区,原来用作tmp,现在发现太浪费了,想挂载到var,不知道行不行?
Reply
Like 0
Favorite
View the author
All Replies
cxbii
deepin
2012-04-21 01:05
#1
肯定可以!
可是我不会,而且这个很危险吧?
谷歌下很多类是的回答,但不一样。。。
不敢推荐了
Reply
Like 0
View the author
woodelf
deepin
2012-04-21 01:36
#2
可以。最好在chroot环境操作。
Reply
Like 0
View the author
weiminnihao9
deepin
2012-04-21 02:08
#3
修改不方便,那么可否与临近的根分区直接合并而不丢失数据?
Reply
Like 0
View the author
bsfmig
deepin
2012-04-21 17:42
#4
个人用户没必要搞那么多挂载点。甚至一个大根即可。
建议楼主直接使用gparted删除此分区,删除fstab当中对此分区的引用,然后用root账户在根目录下面建立一个/tmp。
顺便,1G对于/var太小,除非你到死不使用apt-get。
Reply
Like 0
View the author
cnchanghai
deepin
2012-04-22 04:02
#5
我的分区如下 可以参考
changhai@chpc:~$ df
文件系统 1K-块 已用 可用 已用% 挂载点
/dev/sda1 49213248 7008712 39704596 16% /
udev 2051044 4 2051040 1% /dev
tmpfs 824160 1136 823024 1% /run
none 5120 0 5120 0% /run/lock
none 2060392 1988 2058404 1% /run/shm
/dev/sda3 127255308 28729548 92061504 24% /data1
/dev/sda4 127256332 63214752 57577276 53% /data2
changhai@chpc:~$
Reply
Like 0
View the author
cnchanghai
deepin
2012-04-22 04:04
#6
补充 SDA2 做了一个swap 浪费啊! 如果你的内存不小,就不要用swap了
Reply
Like 0
View the author
Please
sign
in first
New Thread
Popular Ranking
Change
Closing lid, but display still active.
Bluetooth not working after laptop suspend mode
keyring deepin password.. WTF... Not user friendly
UNABLE TO SYNC IN BRAZIL
Popular Events
More