China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-06-25 11:13
中国DOS联盟论坛 » DOS开发编程 & 发展交流 (开发室) » miniTO Single Program DPT/DBR/FAT/CMOS Multi-function Maintenance Tool View 26,882 Replies 230
Floor 76 Posted 2007-04-19 04:15 ·  中国 河南 开封 教育网
中级用户
Credits 204
Posts 44
Joined 2003-08-08 00:00
22-year member
UID 8224
Gender Male
Status Offline
The modified version I've been testing.

Tested the latest version 1.3, and it interrupted and exited. It seems because it tried to read the remaining capacity of drive E?? Unfortunately, drive E is not formatted...

No. N:N : N PRI/LOG ACTIVE HIDE ID FILE SYSTEM LABEL TOTALmb FREEmb
[ 1] 1:1 PRIMARY YES NO 7 HPFS/NTFS 2000
[ 2] 1:2 LOGICAL NO NO 7 HPFS/NTFS 800
[ 3] 1:3 LOGICAL NO NO 131 Linux Native 196
[ 4] 1:4 C: 1 PRIMARY NO NO 11 FAT32 NO NAME 596 575
[ 5] 1:5 PRIMARY NO NO 6 FAT16(>=32M) NO NAME 196
[ 6] 2:1 PRIMARY NO NO 7 HPFS/NTFS 500
Invalid media type reading drive E
Abort, Retry, Fail?

Also, the data alignment still needs to be adjusted, it's not very aligned yet
Floor 77 Posted 2007-04-19 05:10 ·  中国 广东 深圳 福田区 电信
高级用户
★★
Credits 525
Posts 222
Joined 2006-08-28 21:07
19-year member
UID 61476
Status Offline
Originally posted by llztt at 2007-4-19 04:15:
The alternative version I've been testing
Test the latest version 1.3, the interrupt exited, it seems because it tried to read the remaining capacity of drive E??, but drive E is not formatted...
No. N:N : N PRI/LOG ACTIVE HIDE ID FILE S ...


It seems that alignment is necessary. Wait for the stable version to come out before downloading.

It is suggested to first estimate the maximum length (the hard disk should preferably support up to 1024T), leave one space between each column, do not display the number of sectors, add a parameter to display the number of sectors at the end of each line. Include the remaining space, and it must be aligned. The start and end of sectors can use hexadecimal.

However, I think the best way is to use one parameter per column. When this parameter is used, output that column, so that everyone can freely extract the information they want.

The objects to operate on are disks, partitions (single: C:/1:2, a certain type, excluding a certain type)
Each object supports several operations, and defines the default operation when no parameter is added.

Then add parameters to support ntfs4dos, ntfspro, ifs.
The parameters are estimated not to be too many, and should be easy to handle.

It is best to output help in the program when it is written, and it must be concise and effective.
Floor 78 Posted 2007-04-19 05:37 ·  中国 安徽 马鞍山 电信
金牌会员
★★★★
Credits 3,946
Posts 1,884
Joined 2006-01-20 13:00
20-year member
UID 49283
Gender Male
Status Offline
Originally posted by cchessbd at 2007-4-19 05:10:

It seems that alignment is necessary. Wait for the stable version to come out before downloading.

It is suggested to first estimate the maximum length (the hard drive should preferably support up to 1024T), leave one space between each column, do not display the sector number, add a parameter to...

Supported!!!
Windows 一键还原
http://www.yjhy.com
Floor 79 Posted 2007-04-19 06:37 ·  中国 江苏 常州 溧阳市 电信
银牌会员
★★★
Credits 2,404
Posts 946
Joined 2005-09-08 13:44
20-year member
UID 42345
Status Offline
Just tried the latest version, and after running with the -P2 parameter, the following is displayed:
No. N:N : N PRI/LOG ACTIVE HIDE ID FILE SYSTEM LABEL TOTALmb FREEmb
[ 2] 2:1 G: 5 PRIMARY YES NO 7 HPFS/NTFS 5137 2047
[ 3] 2:2 D: 2 LOGICAL NO NO 11 FAT32 NO NAME 20559 4082
[ 4] 2:3 H: 6 LOGICAL NO NO 7 HPFS/NTFS 9499 2047
[ 5] 2:4 E: 3 LOGICAL NO NO 11 FAT32 NO NAME 20559 1097
[ 6] 2:5 F: 4 LOGICAL NO NO 11 FAT32 NO NAME 20559 3316

The [ 2] in front of 2:1 should probably display 1 correctly? I'm not sure about the original display method anymore? I remember it used to be 1;
Floor 80 Posted 2007-04-19 07:01 ·  中国 广东 广州 教育网
铂金会员
★★★★
C++启程者
Credits 5,154
Posts 1,827
Joined 2003-07-18 00:00
22-year member
UID 7105
Gender Male
Status Offline
The previous version had some alignment issues, and using side display and side search for the display space was problematic when encountering exceptions. Now it's corrected. If you search well once before displaying, there will be no problem.. It's improved and has been updated, see the first post
Floor 81 Posted 2007-04-19 07:05 ·  中国 广东 广州 教育网
铂金会员
★★★★
C++启程者
Credits 5,154
Posts 1,827
Joined 2003-07-18 00:00
22-year member
UID 7105
Gender Male
Status Offline
The before 2:1 should be displayed as 1, which is correct.


It's okay to change it.
Floor 82 Posted 2007-04-19 07:07 ·  中国 广东 广州 教育网
铂金会员
★★★★
C++启程者
Credits 5,154
Posts 1,827
Joined 2003-07-18 00:00
22-year member
UID 7105
Gender Male
Status Offline
It is recommended to first estimate the maximum length (the hard drive should preferably support up to 1024T),

The maximum hard drive is 4999GB, which is not enough.
Floor 83 Posted 2007-04-19 07:40 ·  中国 广东 广州 教育网
铂金会员
★★★★
C++启程者
Credits 5,154
Posts 1,827
Joined 2003-07-18 00:00
22-year member
UID 7105
Gender Male
Status Offline
Just now, I changed the display number to always start from 1 and changed the "ERROR" for unformatted or problematic partitions to "UNREADY". It has been updated, see the first post.
Floor 84 Posted 2007-04-19 11:02 ·  中国 河南 开封 教育网
中级用户
Credits 204
Posts 44
Joined 2003-08-08 00:00
22-year member
UID 8224
Gender Male
Status Offline
Test the new version, under the virtual machine: after running, it comes up with
Invalid media type reading drive E
Abort, Retry, Fail?
If you press A, the operation will be interrupted. If you press F, you need to repeat the same kind of operation one more time to display the final partition information..

I don't know if this is a problem only in the virtual machine. What about on a real machine??
Floor 85 Posted 2007-04-19 12:50 ·  中国 广东 广州 教育网
铂金会员
★★★★
C++启程者
Credits 5,154
Posts 1,827
Joined 2003-07-18 00:00
22-year member
UID 7105
Gender Male
Status Offline
Originally posted by llztt at 2007-4-19 11:02 AM:
Testing the new version, in the virtual machine: After running, it comes up with
Invalid media type reading drive E
Abort, Retry, Fail?
If you press A, the operation will be interrupted. If you press F, you need to repeat the same kind of operation a few more times to display the most ...


This has nothing to do with the virtual machine

This is the program reading an invalid partition when checking the partition space. This is given by DOS. To escape from it, you can add SHELL=XXX:\COMMAND.COM /P /F /E:4096 in CONFIG.SYS. Try it and see if it can escape..

[ Last edited by GOTOmsdos on 2007-4-19 at 12:57 PM ]
Floor 86 Posted 2007-04-19 12:52 ·  中国 广东 广州 教育网
铂金会员
★★★★
C++启程者
Credits 5,154
Posts 1,827
Joined 2003-07-18 00:00
22-year member
UID 7105
Gender Male
Status Offline
It's best to output help in the program, and it must be concise and effective.


Help has been written! It has been updated and uploaded, see the first post...
Floor 87 Posted 2007-04-19 20:52 ·  中国 河南 开封 教育网
中级用户
Credits 204
Posts 44
Joined 2003-08-08 00:00
22-year member
UID 8224
Gender Male
Status Offline
Originally posted by GOTOmsdos at 2007-4-19 12:50 PM:


This has nothing to do with the virtual machine

This is when the program reads an invalid partition when checking the partition space, this is given by DOS. To escape from it, you can add SHELL=XXX:\COMMAND.COM /P /F /E:4096 in CONFIG.SYS, try, can you ...

Can't you check in advance, such as checking whether it is unformatted, whether it does not support the remaining space, to avoid DOS errors? ?
When I get an error here, even the function that causes the error is displayed, and this kind of error is not nice to look at.

Modifying CONFIG is not a good solution. The generality and stability of a program should best start from itself, and try to avoid having to do other things.
Floor 88 Posted 2007-04-19 23:11 ·  中国 广东 广州 教育网
铂金会员
★★★★
C++启程者
Credits 5,154
Posts 1,827
Joined 2003-07-18 00:00
22-year member
UID 7105
Gender Male
Status Offline
Well, even DOS's own commands and programs are like this..
Okay, I'll see if I can improve it..
That function is intentionally displayed, if you don't want to see it, you can remove it.. I'll go check now if I can solve this problem..
Floor 89 Posted 2007-04-19 23:23 ·  中国 黑龙江 哈尔滨 电信
高级用户
★★★
Credits 760
Posts 357
Joined 2005-10-10 22:33
20-year member
UID 43332
Status Offline
After assembling with AVLGO, you must press Enter, but the batch processing cannot be executed (the floppy drive has been removed):

INSERT DISKETTE FOR DRIVE A: AND PRESS ANY KEY WHEN READY

INSERT DISKETTE FOR DRIVE B: AND PRESS ANY KEY WHEN READY

INSERT DISKETTE FOR DRIVE A: AND PRESS ANY KEY WHEN READY

INSERT DISKETTE FOR DRIVE B: AND PRESS ANY KEY WHEN READY


AVLGO:
http://zhenlove.com.cn/cndos/fileup/files/Avlgomgr_2007m_v2.101.zip

[ Last edited by 0451lym on 2007-4-19 at 11:50 PM ]
Floor 90 Posted 2007-04-20 00:13 ·  中国 安徽 马鞍山 电信
金牌会员
★★★★
Credits 3,946
Posts 1,884
Joined 2006-01-20 13:00
20-year member
UID 49283
Gender Male
Status Offline
Do I need to provide a backup of the first 63 sectors? Let's see why my computer freezes during operation?
Windows 一键还原
http://www.yjhy.com
‹ Prev 1 4 5 6 7 8 16 Next ›
Forum Jump: