我已经在32位系统上安装了Centos
现在我想挂载NTFS文件系统的外部硬盘。 我已经阅读了这里的文章,并在这里安装了fuse&ntfs-3g。 我已经安装了以下库:
现在我想继续使用这个命令来挂载
mount -t ntfs-3g /dev/device /mnt/mountpoint
但我不知道设备名称或watsoeva。 在terminal上给出的例子是:
ntfs-3g /dev/sda1 /mnt/windows
但是我不太明白。 我怎样才能find我的设备名称?
更新
我其实从结果中得到了这个结果:
SCSI device sda: 625142448 512-byte hdwr sectors (320073 MB) sda: Write Protect is off sda: Mode Sense: 38 00 00 00 sda: assuming drive cache: write through SCSI device sda: 625142448 512-byte hdwr sectors (320073 MB) sda: Write Protect is off sda: Mode Sense: 38 00 00 00 sda: assuming drive cache: write through sda: sda1 sd 2:0:0:0: Attached scsi disk sda SCSI device sdb: 3940479 512-byte hdwr sectors (2018 MB) sdb: Write Protect is off sdb: Mode Sense: 45 00 00 08 sdb: assuming drive cache: write through SCSI device sdb: 3940479 512-byte hdwr sectors (2018 MB) sdb: Write Protect is off sdb: Mode Sense: 45 00 00 08 sdb: assuming drive cache: write through sdb: sdb1 sd 4:0:0:0: Attached scsi removable disk sdb sd 3:0:0:0: Attached scsi removable disk sdc sd 3:0:0:1: Attached scsi removable disk sdd sd 3:0:0:2: Attached scsi removable disk sde sd 3:0:0:3: Attached scsi removable disk sdf sd 2:0:0:0: Attached scsi generic sg0 type 0 sd 4:0:0:0: Attached scsi generic sg1 type 0 sd 3:0:0:0: Attached scsi generic sg2 type 0 sd 3:0:0:1: Attached scsi generic sg3 type 0 sd 3:0:0:2: Attached scsi generic sg4 type 0 sd 3:0:0:3: Attached scsi generic sg5 type 0 SELinux: initialized (dev sdb1, type vfat), uses genfs_contexts
那么应该如何修改我的mount -t ntfs-3g /dev/device /mnt/mountpoint
什么是/ mnt / mountpoint? 我是否定义了?
如果你知道你的磁盘的大小,你可以运行'dmesg | grep sd',然后在输出中查找与正在使用的磁盘(ntfs磁盘)大小相匹配的磁盘。 从那里,sdX1,sdX2,sdX3将是要安装在/ dev中的分区,其中X是磁盘标签
对于第二个问题: /mnt/mountpoint是磁盘将被连接的目录。 这可以是你喜欢的任何目录: /mnt/usbdisk , /home/me/hdd , /media/hdd或其他。 但是:这个目录应该存在,所以你可能需要在安装任何东西之前创build它。