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开发编程 & 发展交流 (开发室) » Comprehensively enhance the integration of "disk/system backup/files/compression" all in one TOdisk View 23,698 Replies 183
Floor 166 Posted 2007-04-17 02:10 ·  中国 广东 广州 教育网
铂金会员
★★★★
C++启程者
Credits 5,154
Posts 1,827
Joined 2003-07-18 00:00
22-year member
UID 7105
Gender Male
Status Offline
[Supplement]
If after booting into DOS, you then load disk drives (such as USB devices), the drive letter of TODISK will be incorrect. (Driving the CD-ROM is fine because the CD-ROM is not a disk.)
Therefore, it is recommended not to use drive letters to represent partitions. (However, when used with files, of course, drive letters must be used, and only drive letters can be used, not numbers.)
Floor 167 Posted 2007-04-17 02:17 ·  中国 江苏 常州 溧阳市 电信
银牌会员
★★★
Credits 2,404
Posts 946
Joined 2005-09-08 13:44
20-year member
UID 42345
Status Offline
I tried using 2:3 to (d:\e.toz). Does that mean backing up the entire partition? In that case, my D drive would need a lot of space. After running 2:3 to (d:\e.toz), I estimated it would take a long time based on the progress, so I didn't continue!
Floor 168 Posted 2007-04-17 02:20 ·  中国 广东 广州 教育网
铂金会员
★★★★
C++启程者
Credits 5,154
Posts 1,827
Joined 2003-07-18 00:00
22-year member
UID 7105
Gender Male
Status Offline
Found that the version from 04-15 13:27 couldn't recognize the USB flash drive when running on my machine for the first time, but others could

If the BIOS supports USB device booting, TODISK will be completely fine, and the drive letters will be correct because the BIOS has already loaded the USB driver before booting. So there's no need to drive again after booting, and driving again will反而 cause errors.
If the BIOS doesn't support USB booting, and then the USB driver is loaded after booting into DOS, TODISK can also recognize it, but the displayed USB drive letter will be incorrect.

My situation:
BIOS supports USB booting, one hard disk, one USB hard disk, one USB flash drive
All are displayed correctly
Previously, with a motherboard where BIOS didn't support USB booting, after booting and loading the USB driver, I remember that TODISK could also recognize it
Because the USB disk, after successful driving, simulates a hard disk (except for USB-FD/USB-ZIP of the USB flash drive), and occupies an IDE number. All IDE devices start from 0X80;

My situation:
0x80 Real hard disk
0x81 USB hard disk
0x82 USB flash drive (USB-HDD mode)

Since there are all IDE devices, there's no reason for TODISK not to recognize, except for hardware failure

[ Last edited by GOTOmsdos on 2007-4-17 at 02:29 AM ]
Floor 169 Posted 2007-04-17 02:46 ·  中国 广东 广州 教育网
铂金会员
★★★★
C++启程者
Credits 5,154
Posts 1,827
Joined 2003-07-18 00:00
22-year member
UID 7105
Gender Male
Status Offline
If I use 2:3 to (d:\e.toz), will that back up the entire partition?

Yes

In that case, my D drive will need a lot of space, right?

It depends on how large the space of 2:3 is

After running 2:3 to (d:\e.toz), I estimated it would take a long time based on the progress, so I didn't continue! ,

Speed issue (especially during compression, the speed is slow. The speed without compression is still quite fast). Currently, this is a shortcoming of TODISK. I've tried many methods, but haven't solved it for now.. Hope to solve it in the future...
However, for smaller partitions within 2GB, the time is acceptable. Moreover, since it's a self-written program, it's quite interesting to use, and it's small in size, 1/8 of GHOST, yet can perform the main work of GHOST
Also, many other functions of TODISK are very rich, flexible, and powerful, which are what GHOST doesn't have
Floor 170 Posted 2007-04-17 03:15 ·  中国 江苏 常州 溧阳市 电信
银牌会员
★★★
Credits 2,404
Posts 946
Joined 2005-09-08 13:44
20-year member
UID 42345
Status Offline
The other many functions of TODISK are very rich, flexible and powerful. Indeed, they are what GHOST doesn't have.

Regarding my own usage situation, I would like to say a few points:

First, because I want to use it in combination with GHOST, can you provide a streamlined one? Just the functions of TODISK -D and TODISK -P -NTFSPRO will be fine! In this way, the volume can be smaller;

Second, in the function of TODISK -P, can there be a TODISK -Pn? Now the information listed by TODISK -P is the partition information of all disks, that is, only the partition information of a single disk is needed to be listed, where n represents the disk number,

The following is the list after my TODISK -P -NTFSPRO:
1> * 1 1 C: *04 FAT16(<32M) USBZIP-BOOT 32 252440 123
2> * 1 5 G: *07 HPFS/NTFS 63 10522512 5137
2 2 D: 0B FAT32 NO NAME 10522638 42106302 20559
3 6 H: 07 HPFS/NTFS 52629003 19454652 9499
4 3 E: 0B FAT32 NO NAME 72083718 42106302 20559
5 4 F: 0B FAT32 NO NAME 114190083 42106302 20559

Among them, 1 5 G: is the primary partition of my second hard disk. I want to know what the primary partition identification is? It would be perfect if it is represented by PRIMARY like GDISK to indicate the first primary partition of the disk!

[ Last edited by terse on 2007-4-17 at 03:22 AM ]
Floor 171 Posted 2007-04-17 03:25 ·  中国 广东 广州 教育网
铂金会员
★★★★
C++启程者
Credits 5,154
Posts 1,827
Joined 2003-07-18 00:00
22-year member
UID 7105
Gender Male
Status Offline
Both points are okay, no problem.

First, if you need, I can help you simplify it out. However, -SALL / -RALL to backup/restore the entire partition table chain is very practical, something GHOST doesn't have, and it's very convenient to use.

Second, it's already there, take a look at the first post.

[ Last edited by GOTOmsdos on 2007-4-17 at 03:27 AM ]
Floor 172 Posted 2007-04-17 03:38 ·  中国 江苏 常州 溧阳市 电信
银牌会员
★★★
Credits 2,404
Posts 946
Joined 2005-09-08 13:44
20-year member
UID 42345
Status Offline
If you can give a streamlined one, I'm extremely grateful!
After reading the first post, I still don't understand how to list the entire partition of the second hard disk (not a specified partition, just the entire partition of a single disk)! -P2:? Tried it and it doesn't seem to work;
Example:
-d : Display all hard disks
-d2 : Display hard disk 2
-p : Display all partitions of all hard disks
-pfn : Display FAT and NTFS partitions
-p2:3 : Display partition 3 of hard disk 2
-pc: : Display C:
Floor 173 Posted 2007-04-17 03:40 ·  中国 广东 广州 教育网
铂金会员
★★★★
C++启程者
Credits 5,154
Posts 1,827
Joined 2003-07-18 00:00
22-year member
UID 7105
Gender Male
Status Offline
No. DR P P N : A ID
> 1 A: 01
1> * 1 2 C: *0B
* 2 07

Actually, it's obvious at a glance, the very prominent * symbol.
The asterisk under the first P is the primary partition.
Originally wanted to display PRIMARY, but there's no space left, it's all filled up.
Using the asterisk under P is more concise.

(The second asterisk is the active partition, which is the bootable partition)

[ Last edited by GOTOmsdos on 2007-4-17 at 03:41 AM ]
Floor 174 Posted 2007-04-17 03:43 ·  中国 广东 广州 教育网
铂金会员
★★★★
C++启程者
Credits 5,154
Posts 1,827
Joined 2003-07-18 00:00
22-year member
UID 7105
Gender Male
Status Offline
Oh, display the entire partition of the disk?
It seems not
Then add it in...
Floor 175 Posted 2007-04-17 04:38 ·  中国 江苏 常州 溧阳市 电信
银牌会员
★★★
Credits 2,404
Posts 946
Joined 2005-09-08 13:44
20-year member
UID 42345
Status Offline
Floor 176 Posted 2007-04-17 06:39 ·  中国 广东 广州 教育网
铂金会员
★★★★
C++启程者
Credits 5,154
Posts 1,827
Joined 2003-07-18 00:00
22-year member
UID 7105
Gender Male
Status Offline
Floor 177 Posted 2007-04-17 06:45 ·  中国 广东 广州 教育网
铂金会员
★★★★
C++启程者
Credits 5,154
Posts 1,827
Joined 2003-07-18 00:00
22-year member
UID 7105
Gender Male
Status Offline
Additionally, the following updates are made:
The display method of disks/partitions is adjusted:
All partitions of a certain hard disk can be displayed.

The usage is as follows:
TODISK -P1
Displays all partitions of the first hard disk

The latest version can be found in the first post
Floor 178 Posted 2007-12-29 00:11 ·  中国 四川 成都 联通
初级用户
Credits 26
Posts 12
Joined 2007-12-18 01:09
18-year member
UID 105995
Gender Male
Status Offline
I hope buddy can continue to do it.
Hope you can increase the speed.
Come on
Floor 179 Posted 2008-02-01 06:32 ·  中国 山东 烟台 联通
初级用户
Credits 28
Posts 13
Joined 2008-02-01 02:33
18-year member
UID 109941
Gender Male
Status Offline
"GHOST uses the file mode. Even if only processing files and not dealing with data without files, (so actually GHOST is not a CLONE, but a reorganization). In this way, the speed is faster, especially for partitions with few files. However, the weakness is: partitions restored in this way cannot retrieve deleted or lost files, because the data of illegal files is not saved.

MYdisk uses the sector mode, which is a complete copy. Although the speed is not as fast as the file mode, it is a true mode. That is, exactly the same, which is the real CLONE."

Hope to see TODISK add the file mode. The file mode still has its advantages, no need for disk defragmentation: 0
At the same time, hope to perfectly support NTFS

Wish TODISK to be more perfect.
Floor 180 Posted 2008-02-13 22:21 ·  中国 广东 广州 教育网
铂金会员
★★★★
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 lsq726 at 2008-2-1 06:32 AM:
"GHOST uses file mode


This statement was made by me, but I have corrected it before: Here I would like to emphasize again:

GHOST defaults to file mode, but it can also be run in sector mode with parameters
Forum Jump: