|
19951001
高级用户
    流落街头
积分 570
发帖 272
注册 2005-10-17 来自 北京
状态 离线
|
『第 91 楼』:
使用 LLM 解释/回答一下
Originally posted by amao at 2007-1-16 09:45:
同楼上结果
但未格式化的那个DOS FAT16 的卷标则是乱码
谢谢!我会想办法处理。
Originally posted by amao at 2007-1-16 09:45:
Same result as the one above
But the volume label of the unformatted DOS FAT16 volume is garbled
Thanks! I will find a way to handle it.
|
|
2007-1-16 21:11 |
|
|
lianjiang2004
金牌会员
     
积分 3946
发帖 1884
注册 2006-1-20
状态 离线
|
|
2007-1-16 22:59 |
|
|
cchessbd
高级用户
   
积分 525
发帖 222
注册 2006-8-28
状态 离线
|
『第 93 楼』:
使用 LLM 解释/回答一下
Originally posted by 19951001 at 2007-1-16 21:11:
谢谢!我会想办法处理。
/ghost参数我感觉现在没什么用,假如你能把每分区的大小、剩余空间、ID、格式,像aefdisk.exe那样,用环境变量表示,那就最方便了。
这样搞到最好说不定可以做成一个超越aefdisk或pqmagic的命令行分区、磁盘工具。
我觉得这是你的方向。仅供参考。
aefdisk其实也很小的,其实检测参数的最好不要太大,因为这个占空间就没必要了。
Originally posted by 19951001 at 2007-1-16 21:11:
Thanks! I will find a way to handle it.
The /ghost parameter, I feel, is not very useful now. If you can represent the size of each partition, remaining space, ID, and format using environment variables, it would be the most convenient.
It would be best if this could be done, and perhaps it could be made into a command-line partition and disk tool that surpasses aefdisk or pqmagic.
I think this is your direction. For your reference.
aefdisk is actually also very small. Actually, the detection parameters should not be too large, because there is no need to take up space.
|
|
2007-1-18 06:25 |
|
|
cchessbd
高级用户
   
积分 525
发帖 222
注册 2006-8-28
状态 离线
|
『第 94 楼』:
使用 LLM 解释/回答一下
你12-28号的有严重问题!!!!
我在虚拟机及真实机器测试,
使用dspt.com 1 /l
只显示done!没有分区信息。
使用dspt.com 1 /s
得到文件是0字节!
请以后发布的版本务必自行仔细测试,确认无误后发布!
谢谢!
There are serious problems from the 12th to the 28th!!!!!
I tested in a virtual machine and a real machine.
Using dspt.com 1 /l only shows done! No partition information.
Using dspt.com 1 /s gets a file of 0 bytes!
Please be sure to test carefully by yourself for the versions released later, and release them after confirming that they are correct!
Thank you!
|
|
2007-1-18 11:44 |
|
|
lianjiang2004
金牌会员
     
积分 3946
发帖 1884
注册 2006-1-20
状态 离线
|
|
2007-1-18 20:55 |
|
|
19951001
高级用户
    流落街头
积分 570
发帖 272
注册 2005-10-17 来自 北京
状态 离线
|
『第 96 楼』:
使用 LLM 解释/回答一下
谢谢,各位的测试。
这个问题我也发现了,我在程序开始执行时设置错误代码为0,当检查到磁盘不存在时,直接退出打印错误代码,实际应该在检查到磁盘不存在时应该重新设置一下错误代码。
磁盘不存在时,显示 done!实际没有执行任何操作。
Thanks, everyone's testing.
I also found this problem. I set the error code to 0 at the beginning of the program. When detecting that the disk does not exist, I directly exit and print the error code. Actually, when detecting that the disk does not exist, I should reset the error code again.
When the disk does not exist, it displays done! Actually, no operation is performed.
|
|
2007-1-19 01:41 |
|
|
cchessbd
高级用户
   
积分 525
发帖 222
注册 2006-8-28
状态 离线
|
『第 97 楼』:
使用 LLM 解释/回答一下
Originally posted by lianjiang2004 at 2007-1-18 20:55:
不是1,应是0吧。
只有ghost版才是1开始。
呵呵,一时激动了点。
赶时间呐
Originally posted by lianjiang2004 at 2007-1-18 20:55:
It's not 1, it should be 0.
Only the ghost version starts with 1.
Hehe, I got a bit too excited.
In a hurry
|
|
2007-1-19 01:49 |
|
|
19951001
高级用户
    流落街头
积分 570
发帖 272
注册 2005-10-17 来自 北京
状态 离线
|
『第 98 楼』:
使用 LLM 解释/回答一下
to darkradx :
1.问题出现: 同一个XP的GHOST镜像还原到同一台机器两块硬盘, 结果启动不起来
2.解决方案: 先禁用其中一块, 然后下"FDISK /MBR"命令
3.根本原因: XP不允许DiskGUID相同的硬盘出现
(DiskGUID在MBR的0x1B8~0x1BB这4个bytes)
4.需求: 一个比FDISK更小更灵活的程序(FDISK占空间, 而且挂两块或者以上硬盘时候FDISK /MBR不管用)
举例:
查看: DISKGUID 80
随机修改:
DISKGUID 80 /RAMDOM
DISKGUID 80 /CHANGE
指定修改:
DISKGUID 80 0x12345678
DISKGUID 80 "78 56 34 12"
(80,81..还是0,1..随编程者意愿, 都是那个意思)
根据你的功能要求做的程序。
2007.1.22
按照第 100 楼的要求,增加显示更改前后的 GUID。
Last edited by 19951001 on 2007-1-22 at 09:45 PM ]
to darkradx :
1. Problem occurrence: The same XP GHOST image is restored to two hard drives of the same machine, and as a result, it cannot boot up.
2. Solution: First disable one of them, then issue the "FDISK /MBR" command.
3. Root cause: XP does not allow hard drives with the same DiskGUID to appear.
(DiskGUID is in the 0x1B8 to 0x1BB bytes of the MBR)
4. Requirement: A program smaller and more flexible than FDISK (FDISK takes up space, and when there are two or more hard drives, FDISK /MBR doesn't work).
Example:
View: DISKGUID 80
Random modification:
DISKGUID 80 /RAMDOM
DISKGUID 80 /CHANGE
Specified modification:
DISKGUID 80 0x12345678
DISKGUID 80 "78 56 34 12"
(80, 81... or 0, 1... it's all the same meaning as per the programmer's intention)
The program made according to your functional requirements.
2007.1.22
According to the requirement of building 100, add displaying the GUID before and after the change.
Last edited by 19951001 on 2007-1-22 at 09:45 PM ]
附件
1: diskguid.rar (2007-1-22 21:44, 9.03 KiB, 下载附件所需积分 1 点
,下载次数: 23)
|
|
2007-1-19 05:55 |
|
|
darkradx
高级用户
   
积分 972
发帖 420
注册 2004-5-16
状态 离线
|
『第 99 楼』:
使用 LLM 解释/回答一下
测试了一会, 需求功能都实现了, 真是非常感谢.
再请教几点:
1.提示OK是哪一步呢:a.回写buffer; b.回写buffer且返回值为无误; c. 回写buffer再读出来无误
2.before和after看不到
3.参数0x1234568, 结果是写"12 34 56 78", 可不可以改成写"78 56 34 12"
Tested for a while, all the required functions are implemented. Thank you very much.
Then ask a few questions:
1. Which step is the prompt OK: a. Write back buffer; b. Write back buffer and return no error; c. Write back buffer and then read back no error
2. Can't see before and after
3. The parameter is 0x1234568, the result is to write "12 34 56 78", can it be changed to write "78 56 34 12"
|

平生进退如飙风 |
|
2007-1-19 14:17 |
|
|
cchessbd
高级用户
   
积分 525
发帖 222
注册 2006-8-28
状态 离线
|
『第 100 楼』:
使用 LLM 解释/回答一下
Originally posted by 19951001 at 2007-1-19 05:55:
to darkradx :
根据你的功能要求做的程序。
我想是你ghost没有加 -pmbr 这一参数(保留原有MBR)
Originally posted by 19951001 at 2007-1-19 05:55:
to darkradx :
The program made according to your functional requirements.
I think you didn't add the -pmbr parameter (to keep the original MBR) when using Ghost.
|
|
2007-1-19 23:01 |
|
|
lianjiang2004
金牌会员
     
积分 3946
发帖 1884
注册 2006-1-20
状态 离线
|
|
2007-1-19 23:53 |
|
|
19951001
高级用户
    流落街头
积分 570
发帖 272
注册 2005-10-17 来自 北京
状态 离线
|
『第 102 楼』:
使用 LLM 解释/回答一下
Originally posted by darkradx at 2007-1-19 14:17:
测试了一会, 需求功能都实现了, 真是非常感谢.
再请教几点:
1.提示OK是哪一步呢:a.回写buffer; b.回写buffer且返回值为无误; c. 回写buffer再读出来无误
2.before和after看不到
3.参数0x1234568, 结果是写"12 34 56 78", 可不可以改成写"78 56 34 12"
1、首先从硬盘读出 mbr 到 buffer, 更改后再回写 buffer 到 mbr。
当然如果只显示的话不回写,无论读出或写入都要求正确无误。
2、diskguid 0 显示出的是当前的,你更改后,再显示就是新的,
这样befor 和 after 就都有了
3、参数格式在程序中定义为 0xhhhhhhhh ,不可以写成其它形式,其他形
式会显示用法。
Last edited by 19951001 on 2007-1-20 at 12:07 AM ]
Originally posted by darkradx at 2007-1-19 14:17:
Tested for a while, all the required functions are implemented, really very grateful.
Ask a few more points:
1. What step is the prompt OK: a. Write back buffer; b. Write back buffer and return value is error-free; c. Write back buffer and read back error-free
2. before and after are not visible
3. Parameter 0x1234568, the result is writing "12 34 56 78", can it be changed to writing "78 56 34 12"
1. First read the MBR from the hard disk to the buffer, and then write the buffer back to the MBR after modification.
Of course, if it is only displayed, it will not be written back. Both reading and writing require correct without error.
2. The diskguid 0 shows the current one. After you change it, then display it, the new one will be shown,
so both befor and after will be available
3. The parameter format is defined as 0xhhhhhhhh in the program, and it cannot be written in other forms. Other forms will display the usage.
Last edited by 19951001 on 2007-1-20 at 12:07 AM ]
|
|
2007-1-19 23:59 |
|
|
19951001
高级用户
    流落街头
积分 570
发帖 272
注册 2005-10-17 来自 北京
状态 离线
|
『第 103 楼』:
使用 LLM 解释/回答一下
Originally posted by lianjiang2004 at 2007-1-19 23:53:
能不能提供个带/noext参数的windows版本?谢谢。
可以,我这几天比较忙,你稍等几天可以吧,给我留个信箱,我发给你
Originally posted by lianjiang2004 at 2007-1-19 23:53:
Can you provide a Windows version with the /noext parameter? Thanks.
Sure, I've been busy these days. Can you wait a few days? Leave me an email address and I'll send it to you
|
|
2007-1-20 00:02 |
|
|
19951001
高级用户
    流落街头
积分 570
发帖 272
注册 2005-10-17 来自 北京
状态 离线
|
『第 104 楼』:
使用 LLM 解释/回答一下
Originally posted by cchessbd at 2007-1-19 23:01:
我想是你ghost没有加 -pmbr 这一参数(保留原有MBR)
??? 不知道你在说什么?
Originally posted by cchessbd at 2007-1-19 23:01:
I think you didn't add the parameter -pmbr when using ghost (to keep the original MBR)
??? I don't know what you're talking about?
|
|
2007-1-20 00:04 |
|
|
demotool
新手上路

积分 9
发帖 5
注册 2006-11-2
状态 离线
|
『第 105 楼』:
使用 LLM 解释/回答一下
哈哈。支持好东西.谢谢了。
Haha. Support good stuff. Thanks.
|
|
2007-1-20 00:10 |
|