以下为现有的fstab文件:
--------------------------------------------------------------------------------------------------------------------------------------------------------------------
# /etc/fstab: static file system information.
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; this may be used with UUID= as a more robust way to name
# devices that works even if disks are added and removed. See fstab(5).
#
proc /proc proc nodev,noexec,nosuid 0 0
# / was on /dev/sdb7 during installation
UUID=f91baee6-633c-4e5b-adf9-7a014525563a / ext4 errors=remount-ro 0 1
# /home was on /dev/sdb8
#UUID=0675fc26-a771-4c17-8894-8686ceed34f2 /home ext3 defaults, 0 1
/dev/sdb9 none swap sw 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0
/dev/sda1 /mnt/sda1 vfat utf8,umask=0,ro 0 0
/dev/sda5 /mnt/sda5 ntfs-3g utf8,umask=0,rw,nonempty 0 0
/dev/sda6 /mnt/sda6 ntfs-3g utf8,umask=0,rw,nonempty 0 0
/dev/sda7 /mnt/sda7 ntfs-3g utf8,umask=0,ro,nonempty 0 0
/dev/sda8 /mnt/sda8 vfat utf8,umask=0,rw 0 0
/dev/sdb1 /mnt/sdb1 vfat utf8,umask=0,rw 0 0
/dev/sdb5 /mnt/sdb5 ntfs-3g utf8,umask=0,rw,nonempty 0 0
----------------------------------------------------------------------------------------------------------------------------------------------------------------------
?上面那个UUID 和后面的一串东西是什么意思?我不确定那个代码有用,所以先注释掉了。
hantu 于 2011-03-26 10:59:10发表:
用tar迁移文件,然后做个链接就可以了,当然也可以改fstab挂上.