相当于Linux挂载命令Windows [英] Linux Mount Command Windows Equivalent

查看:85
本文介绍了相当于Linux挂载命令Windows的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有人能让我知道Linux挂载命令的Windows等效什么吗?
在Linux中,我们必须挂载诸如scsi disk/pendrive之类的设备才能访问它.
但是在Windows中,它会自动发生.
Windows如何做到这一点.

Will anybody pls let me know what is Windows Equivalent of the Linux Mount Command?
In linux we have to mount the devices like scsi disk / pendrive to access it.
But in windows it happens automatically.
How does the windows does so.
Any good link to article will will help.

推荐答案

请参阅以下内容:

http://technet.microsoft.com/en-us/library/cc770943.aspx [ ^ ],
http://technet.microsoft.com/en-us/library/cc771607.aspx [ ^ ],
http://technet.microsoft.com/en-us/library/cc733060.aspx [ ^ ],
http://technet.microsoft.com/en-us/library/cc753321.aspx [ ^ ].

特别是,请看最后一个链接.它显示了如何将磁盘卷与目录相关联,就像在Linux中一样,而不是那些笨拙的驱动器号.因此,即使在Windows中,您也可以创建统一的文件系统,在单个目录系统中安装多个磁盘.

一些密切相关的信息:不管您是否相信,硬链接和软链接(在Windows中称为结点或重新解析点)也都可以使用(但Microsoft保留了对非程序员的隐藏功能,对于不是很高级的程序员也很困难),就像在Unix/Linux,这是因为现代Microsoft文件系统也实现了Posix.



可以使用Windows API在Windows上实现硬链接和软链接实用程序.这将是一个很短但不平凡的代码.这些功能不会直接向一般Windows用户公开. Windows Resource Kit提供了一些功能,但据我所知,并不是100%可用,因此我在Sysinternals上的信息的帮助下开发了自己的功能.

—SA
Please see this:

http://technet.microsoft.com/en-us/library/cc770943.aspx[^],
http://technet.microsoft.com/en-us/library/cc771607.aspx[^],
http://technet.microsoft.com/en-us/library/cc733060.aspx[^],
http://technet.microsoft.com/en-us/library/cc753321.aspx[^].

In particular, look at the last link. It shows how one can associate a disk volume with a directory, just like in Linux, instead of those stupid drive letters. So, even in Windows you can create the uniform file system where more than one disks are mounted in a single directory system.

Some closely related information: believe or not, hard links and soft links (called junctions or re-parse points in Windows) are also available (but Microsoft keep the hidden from non-programmers and difficult for not very advanced programmers), just like in Unix/Linux, and this is because modern Microsoft file systems also implements Posix.



It is possible to implement hard link and soft link utilities on Windows using Windows API; it would be a pretty short but not trivial code. These features are not directly exposed to a general Windows user. Some of functionality was available via Windows Resource Kit, but, as far as I can remember, not 100% of it, so I developed my own, with some help from information found at Sysinternals.

—SA


这篇关于相当于Linux挂载命令Windows的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆