中国DOS联盟论坛

中国DOS联盟

-- 联合DOS 推动DOS 发展DOS --
联盟域名:www.cn-dos.net 论坛域名:www.cn-dos.net/forum
游客 | 登录 | 注册 | 会员 | 搜索 | 中国DOS联盟
中国DOS联盟论坛
现在时间是 2026-09-06 07:46
47,812 主题排行 / 349,914 发帖 / 今日 0 篇 / 48,268 会员排行
DOS开发编程 & 发展交流 (开发室) » 磁盘扇区读写、分区信息管理工具 Dsptw (2008.11.29 更新)
可打印版本  120,008 / 565
第46楼 xuxuezeng 发表于 2006-12-23 11:44
新手上路 发帖 9 积分 18
基于HPA的一键恢复程序
厉害!不过基于HPA的一键恢复程序我已搞了一个出来,只是用了GURB和网上的一键恢复GHOST就是DOS之家的那个,与清华同方的HPA结合在一起,严格的说并没有用程序实现对HPA区域的访问,而且在无忧启动中有有关这方面的详细的介绍,但与我的有些不一样,但思路是一样的!
第47楼 cchessbd 发表于 2006-12-24 05:15
高级用户 发帖 222 积分 525
Originally posted by cba-xyz at 2006-12-19 09:32:
如果楼主有时间的话编写一个DOS下创建、管理HPA分区的软件,应该很多人想要的吧。如果有兴趣的话,呵呵。


我觉得这个没必要。其一是HPA使用的人较少。并且都有自带的管理程序。
并且楼主自己的时间有限。
与其花时间来研究众多的程序是怎么管理的,倒不如来开发更多有用的程序。
到一个比较稳定的时候,是该出一个最终版的。
第48楼 cba-xyz 发表于 2006-12-24 05:28
中级用户 发帖 70 积分 295
创建HPA倒是没关系,要删除HPA不是很容易,因为有很多不同供应商自己创建的HPA,需要删除的话要找对应的工具很麻烦,有些根本找不到。
DPIT好象也可以删除,希望能傻瓜一点。
第49楼 cba-xyz 发表于 2006-12-25 03:35
中级用户 发帖 70 积分 295
1 mbr中第一个分区表项中为扩展分区,其后为主分区;
2 mbr中第一个分区表项中为主分区,第二分区表项为扩展分区,其后为主分区;
只测试了/FIND:ALL和/FIND:ALL NOEXT,结果正确。
第50楼 xuxuezeng 发表于 2006-12-26 06:28
新手上路 发帖 9 积分 18
DPITW
Disk: 0-First Hard disk, 1-Second Hard Disk, ...
/S: Save Disk Partition Info to File.
/R: Restore Disk Partiton Info from File.
/C: Compare Disk Partiton Info with File.
FileName: Disk Partition Info File.
我想问下DPITW 0 /C: 比较完以后,全部相同后返回值是多少?不相同返回值又是多少?
第51楼 19951001 发表于 2006-12-26 23:26
高级用户 发帖 272 积分 570 来自 北京
Originally posted by xuxuezeng at 2006-12-26 06:28:
DPITW
Disk: 0-First Hard disk, 1-Second Hard Disk, ...
/S: Save Disk Partition Info to File.
/R: Restore Disk Partiton Info from File.
/C: C ...


比较相同返回值为0; 不相同会在屏幕上显示,返回结果是100
第52楼 19951001 发表于 2006-12-26 23:29
高级用户 发帖 272 积分 570 来自 北京
最后测试版本,两个功能集成到了一起(diskrw / dpit)
diskrw 新增一个磁盘扇区复制功能。

请大家帮忙测试,如果没有没有问题元旦发布正式版本。

[ Last edited by 19951001 on 2006-12-28 at 01:46 AM ]
第53楼 cba-xyz 发表于 2006-12-27 10:55
中级用户 发帖 70 积分 295
顶,软件越来越完善了。
第54楼 19951001 发表于 2006-12-28 01:47
高级用户 发帖 272 积分 570 来自 北京
新版本发布,见一楼。
第55楼 amao 发表于 2006-12-28 20:49
中级用户 发帖 152 积分 316
正在下载使用
第56楼 xuserynamez 发表于 2006-12-29 04:23
新手上路 发帖 4 积分 10
dspt 0 /act:* 操作只能在把 Active 标志在几个分区之间切换,但我想将同一硬盘的两个分区同时设成 Active,不知道楼主能不能提供这种功能。(原由:在给U盘分区时,发现用普通的方式去分,即一个主分区(Active),一个逻辑分区,分好区后在XP系统中只能显示出主分区,逻辑分区只能在"磁盘管理"里看到,但没分配盘符,手动也分配不了盘符。后来有一个U盘用iFormat分区后,在XP下两个分区都能正常显示,在"磁盘管理"里看到,这个U盘的两个分区都被设成了主分区(Active)。但我试了FDISK、PQ,都只能设置一个活动标志,没拆了!)
第57楼 19951001 发表于 2006-12-29 04:32
高级用户 发帖 272 积分 570 来自 北京
Originally posted by xuserynamez at 2006-12-29 04:23:
dspt 0 /act:* 操作只能在把 Active 标志在几个分区之间切换,但我想将同一硬盘的两个分区同时设成 Active,不知道楼主能不能提供这种功能。(原由:在砮..


主分区(Primary)可以有四个,但 活动分区(Active)只能有一个,这个Active分区首先必须是主分区(Primary),Active分区是启动分区,如果有两个ACTIVE分区,则系统将不知道从那个分区启动。
第58楼 amao 发表于 2006-12-29 04:37
中级用户 发帖 152 积分 316
经在VMWare里测试,未格式化的分区被误认为是DOS FAT16分区,实机未测试。
第59楼 19951001 发表于 2006-12-29 04:46
高级用户 发帖 272 积分 570 来自 北京
Originally posted by amao at 2006-12-29 04:37:
经在VMWare里测试,未格式化的分区被误认为是DOS FAT16分区,实机未测试。


实际机器使用windows的磁盘管理进行分区未格式化的分区也是显示DOS FAT16,这点我测试过,这是因为磁盘管理进行分区时将未格式化的分区标志设置成DOS FAT16,这是windows的处理方式。


ID Name
== ====
00h empty

01h DOS 12-bit FAT

02h XENIX root file system

03h XENIX /usr file system (obsolete)

04h DOS 16-bit FAT (up to 32M)

05h DOS 3.3+ extended partition

06h DOS 3.31+ Large File System (16-bit FAT, over 32M)

07h QNX
07h OS/2 HPFS

07h Windows NT NTFS

07h Advanced Unix
08h OS/2 (v1.0-1.3 only)

08h AIX bootable partition, SplitDrive

08h Commodore DOS
08h DELL partition spanning multiple drives

09h AIX data partition

09h Coherent filesystem

0Ah OS/2 Boot Manager

0Ah OPUS
0Ah Coherent swap partition

0Bh Windows 95 with 32-bit FAT

0Ch Windows 95 with 32-bit FAT (using LBA-mode INT 13 extensions)

0Eh LBA VFAT (same as 06h but using LBA-mode INT 13)

0Fh LBA VFAT (same as 05h but using LBA-mode INT 13)

10h OPUS
11h OS/2 Boot Manager hidden 12-bit FAT partition

12h Compaq Diagnostics partition

14h (using Novell DOS 7.0 FDISK to delete Linux Native part)

14h OS/2 Boot Manager hidden sub-32M 16-bit FAT partition

16h OS/2 Boot Manager hidden over-32M 16-bit FAT partition

17h OS/2 Boot Manager hidden HPFS partition

18h AST special Windows swap file

1Bh Hidden Windows 95 with 32-bit FAT

1Ch Hidden Windows 95 with 32-bit LBA FAT

1Eh Hidden Windows 95 with LBA BIGDOS

21h officially listed as reserved

23h officially listed as reserved

24h NEC MS-DOS 3.x
26h officially listed as reserved

31h officially listed as reserved

33h officially listed as reserved

34h officially listed as reserved

36h officially listed as reserved

38h Theos
3Ch PowerQuest PartitionMagic recovery partition

40h VENIX 80286
41h Personal RISC Boot

42h SFS (Secure File System) by Peter Gutmann

4Fh Oberon
50h OnTrack Disk Manager, read-only partition

51h OnTrack Disk Manager, read/write partition

51h NOVELL
52h CP/M
52h Microport System V/386
53h OnTrack Disk Manager, write-only partition???

54h OnTrack Disk Manager (DDO)
56h GoldenBow VFeature
61h SpeedStor
63h Unix SysV/386, 386/ix
63h Mach, MtXinu BSD 4.3 on Mach
63h GNU HURD
64h Novell NetWare 286
65h Novell NetWare (3.11)
67h Novell
68h Novell
69h Novell
70h DiskSecure Multi-Boot
71h officially listed as reserved

73h officially listed as reserved

74h officially listed as reserved

75h PC/IX
76h officially listed as reserved

80h Minix v1.1 - 1.4a
81h Minix v1.4b+
81h Linux
81h Mitac Advanced Disk Manager
82h Linux Swap partition

82h Prime
82h Solaris
83h Linux native file system (ext2fs/xiafs)

84h OS/2-renumbered type 04h partition (hiding DOS C: drive)
86h officially listed as reserved

87h HPFS Fault-Tolerant mirrored partition

93h Amoeba file system

94h Amoeba bad block table

A1h officially listed as reserved

A3h officially listed as reserved

A4h officially listed as reserved

A5h FreeBSD, BSD/386
A6h officially listed as reserved

B1h officially listed as reserved

B3h officially listed as reserved

B4h officially listed as reserved

B6h officially listed as reserved

B7h BSDI file system (secondarily swap)

B8h BSDI swap partition (secondarily file system)

C1h DR DOS 6.0 LOGIN.EXE-secured 12-bit FAT partition

C4h DR DOS 6.0 LOGIN.EXE-secured 16-bit FAT partition

C6h DR DOS 6.0 LOGIN.EXE-secured Huge partition

C7h Syrinx Boot
D8h CP/M-86
DBh CP/M, Concurrent CP/M, Concurrent DOS
DBh CTOS (Convergent Technologies OS)
E1h SpeedStor 12-bit FAT extended partition

E3h DOS read-only

E3h Storage Dimensions
E4h SpeedStor 16-bit FAT extended partition

E5h officially listed as reserved

E6h officially listed as reserved

EBh BeOS partition
F1h Storage Dimensions
F2h DOS 3.3+ secondary partition

F3h officially listed as reserved

F4h SpeedStor
F4h Storage Dimensions
F6h officially listed as reserved

FEh LANstep
FEh IBM PS/2 IML
FFh Xenix bad block table


[ Last edited by 19951001 on 2006-12-29 at 05:04 AM ]
第60楼 amao 发表于 2006-12-29 05:04
中级用户 发帖 152 积分 316
Originally posted by 19951001 at 2006-12-29 04:46:


实际机器使用windows的磁盘管理进行分区未格式化的分区也是显示DOS FAT16,这点我测试过,这是因为磁盘管理进行分区时将未格式化的分区标志设置栮..

请参考PQ Magic 或许可以借鉴一下,
以及本论坛xusen大侠发过的一篇帖子你或许受到启发,题目忘了。
xusen大侠在深度论坛也发过同样的帖子,题目叫“DeepDOS personal edition“之类的,记得不是很确切了。我现在在国外,这几天访问国内网站很慢(都是地震惹的祸),无法给你链接。你自己去看吧。
这个问题解决了,我认为就可以发正式版了。当然前提是文件不要增大太多。
我这里现在已是半夜,希望过几天有好消息。
上一页  1 2 3 4 5 6 738  下一页
[ 联系联盟系统管理团队 - 中国DOS联盟 - 标准版 ]
Sponsored by ifanr Inc | © 2001–2023