|
|
今天升级了一下,df时发现怎么挂了两个 root?看着特别扭。怎样修正?
df -h
文件系统 容量 已用 可用 已用% 挂载点
rootfs 9.8G 2.4G 7.5G 24% /
/dev/root 9.8G 2.4G 7.5G 24% /
udev 10M 204K 9.9M 2% /dev
tmpfs 252M 0 252M 0% /dev/shm
none 1.0M 56K 968K 6% /lib/rc/init.d
tmpfs 252M 8.0K 252M 1% /tmp
/dev/sda2 198M 15M 174M 8% /boot
/dev/sda7 36G 28G 5.7G 84% /home
/dev/sda5 863M 260M 603M 31% /usr/portage
/dev/sda6 4.9G 2.9G 2.1G 59% /usr/portage/distfiles
/dev/sda10 15G 5.1G 8.7G 37% /mnt/virtual
/dev/sdb1 20G 12G 8.2G 59% /mnt/windows/study
/dev/sdb2 40G 36G 3.9G 91% /mnt/windows/media
/dev/sdb4 50G 37G 14G 74% /mnt/windows/backup
fstab:
cat /etc/fstab
# /etc/fstab: static file system information.
#
# noatime turns off atimes for increased performance (atimes normally aren't
# needed; notail increases performance of ReiserFS (at the expense of storage
# efficiency). It's safe to drop the noatime options if you want and to
# switch between notail / tail freely.
#
# The root filesystem should have a pass number of either 0 or 1.
# All other filesystems should have a pass number of 0 or greater than 1.
#
# See the manpage fstab(5) for more information.
#NOTE: The next line is critical for boot!
#proc /proc proc defaults 0 0
#sysfs /sys sysfs defaults 0 0
# glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
# POSIX shared memory (shm_open, shm_unlink).
# (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
# use almost no memory if not populated with files)
/dev/sda8 / reiserfs noatime,notail 0 0
proc /proc proc nodev,nosuid,noexec 0 0
sysfs /sys sysfs defaults 0 0
tmpfs /tmp tmpfs defaults 0 0
tmpfs /dev/shm tmpfs nodev,nosuid,noexec 0 0
none /proc/bus/usb usbfs defaults 0 0
/dev/sda2 /boot ext3 defaults 0 1
/dev/sda7 /home ext3 defaults 0 0
/dev/sda5 /usr/portage reiserfs noatime,notail 0 0
/dev/sda6 /usr/portage/distfiles reiserfs noatime,notail 0 0
# <fs> <mountpoint> <type> <opts> <dump/pass>
#/dev/cdrom /mnt/cdrom iso9660,udf noauto,users,ro 0 0
# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
# Logical volumes on sda3,sda6, ... by zzl
/dev/sda10 /mnt/virtual ext3 defaults 0 0
/mnt/virtual/Swap/tmp.swap swap swap defaults 0 0
#mount sdb by zzl ###
/dev/sdb1 /mnt/windows/study ntfs ro,umask=022,nls=utf8,nouser 0 0
/dev/sdb2 /mnt/windows/media ntfs ro,umask=022,nls=utf8,nouser 0 0
/dev/sdb4 /mnt/windows/backup ntfs ro,umask=022,nls=utf8,nouser 0 0
rc-status boot
Runlevel: boot
clock [ started ]
checkroot [ started ]
modules [ started ]
checkfs [ started ]
localmount [ started ]
hostname [ started ]
bootmisc [ started ]
my-readahead [ started ]
net.lo [ started ]
net.eth0 [ started ]
hald [ started ]
xdm [ started ]
alsasound [ started ]
keymaps [ started ]
怎么给我自动挂载上了,以前是fstab手动挂的。。。 |
|