electricface
deepin
2013-04-07 05:18 我觉得将linux安装在NTFS分区没有多大技术难度了,已经有高效的ntfs-3g驱动,只要linux肯认可NTFS权限模式不就行了,以前的状况是NTFS上都是WIN系统的文件,现在LD加入进来在NTFS放了一大堆的文件,以和WIN系统一样的态度去对待文件的权限模式就行了吧,至于影响效率那WIN系统不一样也用着NTFS吗,顶多加一个磁盘碎片整理。
我在ntfs-3g页面上看到的这里写的很清楚,完全没有技术障碍了.可以将ld的文件伪装成win的系统文件(不过要谨防杀毒软件的检测)然后得到win系统的保护.还要做win系统下保障ld系统文件的安全的工作,保障不会因为win系统的程序随意修改linux系统文件,然后造成ld系统完全被控制.需要有一种保护机制.目前的windows病毒如果想修改ext3分区下的文件内容易如反掌,如果再让linux系统没有保护的话,ld系统以后的安全性完全没有保障.同理在ld系统运行的恶意软件也可以随意读取修改win分区的内容,这是很危险的.ld系统也有责任保障用户在win系统的安全.
我在ntfs-3g页面上看到的
User Mapping
NTFS uses specific ids to record the ownership of files instead of the uid and gid used by Linux. As a consequence a mapping between the ids has to be defined for ownerships to be recorded into NTFS and recognized. By default this mapping is fetched from the file .NTFS-3G/UserMapping located in the NTFS partition. The option usermapping= may be used to define another location.
Each line in the user mapping file defines a mapping. It is organized in three fields separated by colons. The first field identifies a uid, the second field identifies a gid and the third one identifies the corresponding NTFS id, known as a SID. The uid and the gid are optional and defining both of them for the same SID is not recommended.
If no interoperation with Windows is needed, you can use the option permissions to define a standard mapping. Alternately, you may define your own mapping by setting a user mapping file with a single line with no uid or gid. In both cases, files created on Linux will appear to Windows as owned by a foreign user, and files created on Windows will appear to Linux as owned by root. Copy the example below and replace the 9 and 10-digit numbers by any number not greater than 4294967295.
::S-1-5-21-3141592653-589793238-462643383-10000
If interoperation with Windows is needed, the mapping has to be defined for each user and group known in both system, and the SIDs used by Windows has to be collected. This will lead to a user mapping file like :
john::S-1-5-21-3141592653-589793238-462643383-1008
mary::S-1-5-21-3141592653-589793238-462643383-1009
:smith:S-1-5-21-3141592653-589793238-462643383-513
::S-1-5-21-3141592653-589793238-462643383-10000
The utility ntfs-3g.usermap may be used to create the user mapping file.
Reply Like 0 View the author
很久以前,我在这个帖子(这篇帖子中关于虚拟机运行win核心的问题,请略去不看)上发表的一种观点,就是要加速ld系统的安装。所谓兵贵神速,安装系统的速度是很重要的一点,让小白在毫无反抗意识的情况下就上了ld的“船”。
还是期待能够将ld系统安装在D盘或者E盘的第一级子目录下(D:\DEEPIN),这样可以避免分区操作,避免格式化分区,丢失珍贵数据,避免文件转移,减少安装负担。
内置一个colinux,可以理解为colinux能让linux内核以特权级运行在win系统之上,(目前开发停滞)别人看来没有什么用途,但是我觉得在这里它很有价值。mozilla2.png
我想法的有价值的地方在于用户只要像安装qq一样选择一个空闲区很大的硬盘,然后等待进度走到底,然后再提示重启就能进入稳定可长期使用的系统(目前最简单的方法是用硬盘引导进liveCD,但还需经历一个较长的安装流程)。别人只知道colinux可以运行linux程序,而ld却可以用它来在win系统下(在用户刚接触ld的30分钟之内)就配置好ld系统,在win下完成大部分操作。在安装之前或过程中可以通过网络媒体、视频介绍ld系统,是很好的宣传手段,比用户下载完iso文件然后自己去找安装方法,然后进入一个陌生环境,然后联网还可能有困难的状况,要好100倍,安装门槛将大大降低。
小白大概流程:通过网络介绍知道linux deepin然后找ld官网,然后下载一个安装器,或者直接得到一个链接,接着30分钟之后就能用ld,这比安装黑苹果或者盗版win7简单太多。如果以后软件基本够用,桌面环境足够吸引人,系统清净、无流氓软件、无病毒ld系统将会很留住大多数接触过它的人。