怎样知道是否成功把home文件夹挂载到单独的分区上?
rt, thanks 可以啊!!你分区的时候就可以单独分出一个 /home 分区! df 把原home文件夹里的东西全删了,再在fstab里加入:/dev/hdaX /home ext3 defaults 1 2
重启后,看看/home里有没有东西或lost+found文件夹就知道有没有挂上了 :mrgreen: 以下是我的fstab文件的内容:
LABEL=/ / ext3 defaults 1 1
none /dev/pts devptsgid=5,mode=6200 0
LABEL=/home /home ext3 defaults 1 2
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/hdc7 swap swap defaults 0 0
/dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0
/dev/cdrom1 /mnt/cdrom1 udf,iso9660 noauto,owner,kudzu,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0
里面的
LABEL=/home /home ext3 defaults 1 2
是不是表示已经挂好了?
by the way, what is the meaning "1 2" above? my 拼音 is very poor, so I just can type littlechinese in this BBS,but I am studying pinyin now, please don't mind my writing.
Thank you. 简单的查看方法: 命令 df -h
页:
[1]