从 Windows 下的 linux USB 驱动器读取文件
read files from linux usb drive under Windows
我用的是 psutil ,但是可以看到 seam F: 驱动器...
>>> psutil.disk_partitions()
[sdiskpart(device='C:\', mountpoint='C:\', fstype='NTFS', opts='rw,fixed'), sdiskpa
drom'), sdiskpart(device='E:\', mountpoint='E:\', fstype='', opts='cdrom'), sdiskpa
s='rw,removable'), sdiskpart(device='G:\', mountpoint='G:\', fstype='NTFS', opts='r
您的驱动器是如何格式化的? Windows 只能读取 ntfs
和 fat
格式。您可以使用 windows 磁盘管理 工具进行检查:
来自http://pcsupport.about.com/od/windows7/ht/disk-management-windows-7.htm:
How To Access Disk Management in Windows 7
Click on the Start button and then choose Control Panel.
Click on the System and Security link.
Note: If you're viewing the Large icons or Small icons view of Control Panel, you won't see this link so just click on the Administrative Tools icon and skip to Step 4.
In the System and Security window, click on the Administrative Tools heading located near the bottom of the window.
In the Administrative Tools window, double-click on the Computer Management icon.
When Computer Management opens, click on Disk Management on the left side of the window, located under Storage.
After a brief loading period, Disk Management should now appear on the right side of the Computer Management window.
Note: If you don't see Disk Management listed, you may need to click on the |> icon to the left of the Storage icon.
You can now partition a hard drive, format a hard drive, change a drive's letter, or do whatever else you need to do in Windows 7's Disk Management tool.
查找驱动器 F 并检查格式。如果不是ntfs
或fat
,则需要重新格式化并重新复制数据,或安装Ext2Read或其他可以读取windows下linux格式驱动器的程序](参见:https://superuser.com/questions/37512/how-to-read-ext4-partitions-on-windows)。
我用的是 psutil ,但是可以看到 seam F: 驱动器...
>>> psutil.disk_partitions()
[sdiskpart(device='C:\', mountpoint='C:\', fstype='NTFS', opts='rw,fixed'), sdiskpa
drom'), sdiskpart(device='E:\', mountpoint='E:\', fstype='', opts='cdrom'), sdiskpa
s='rw,removable'), sdiskpart(device='G:\', mountpoint='G:\', fstype='NTFS', opts='r
您的驱动器是如何格式化的? Windows 只能读取 ntfs
和 fat
格式。您可以使用 windows 磁盘管理 工具进行检查:
来自http://pcsupport.about.com/od/windows7/ht/disk-management-windows-7.htm:
How To Access Disk Management in Windows 7
Click on the Start button and then choose Control Panel.
Click on the System and Security link.
Note: If you're viewing the Large icons or Small icons view of Control Panel, you won't see this link so just click on the Administrative Tools icon and skip to Step 4.
In the System and Security window, click on the Administrative Tools heading located near the bottom of the window.
In the Administrative Tools window, double-click on the Computer Management icon.
When Computer Management opens, click on Disk Management on the left side of the window, located under Storage.
After a brief loading period, Disk Management should now appear on the right side of the Computer Management window.
Note: If you don't see Disk Management listed, you may need to click on the |> icon to the left of the Storage icon.
You can now partition a hard drive, format a hard drive, change a drive's letter, or do whatever else you need to do in Windows 7's Disk Management tool.
查找驱动器 F 并检查格式。如果不是ntfs
或fat
,则需要重新格式化并重新复制数据,或安装Ext2Read或其他可以读取windows下linux格式驱动器的程序](参见:https://superuser.com/questions/37512/how-to-read-ext4-partitions-on-windows)。