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-07-01 22:36
中国DOS联盟论坛 » 其它操作系统综合讨论区 » Discovery: WinXP still supports HPFS of OS/2 View 37,095 Replies 45
Floor 16 Posted 2007-06-21 22:27 ·  中国 山东 威海 荣成市 联通
新手上路
Credits 2
Posts 1
Joined 2007-06-21 22:06
19-year member
UID 92029
Gender Male
Status Offline
I just encountered this problem
Floor 17 Posted 2007-06-24 22:28 ·  中国 江苏 徐州 电信
新手上路
Credits 4
Posts 2
Joined 2007-06-24 22:03
19-year member
UID 92262
Gender Male
Status Offline
### Overview of HPFS
The HPFS file system was first introduced with OS/2 1.2, aiming to enhance the ability to access larger hard disks emerging in the market at that time. Additionally, a new file system was needed then that could expand the naming system, organization, and security to meet the growing demands of the network server market. HPFS retained the directory organization of FAT while adding automatic directory sorting based on file names. File names were extended to up to 254 double-byte characters. HPFS also allowed files to be composed of "data" and special attributes, thereby increasing flexibility in supporting other naming rules and security. Moreover, the allocation unit was changed from clusters to physical sectors (512 bytes), which reduced the waste of disk space.

Under HPFS, directory entries contain more information than under FAT. As for attribute files, they also include information about modification, creation, access dates, and times. Under HPFS, directory entries do not point to the first cluster of a file but to an FNODE. An FNODE can contain the file's data, pointers to the file's data, or other structures that ultimately point to the file's data.

HPFS attempts to allocate a file in as many consecutive sectors as possible. This is done to improve the speed of sequential file processing.

HPFS organizes a drive into a series of 8 MB bands, and files are included in one of these bands whenever possible. Between bands are 2K allocation bitmaps to track which sectors within a band are allocated and which are not. Banding can improve performance because the drive head does not have to return to the logical top of the disk (usually cylinder 0), but only needs to return to the nearest band allocation bitmap to determine where the file is stored.

In addition, HPFS also includes two unique special data objects
Floor 18 Posted 2008-08-21 17:55 ·  中国 广东 广州 鹏博士宽带
高级用户
★★★
Credits 740
Posts 373
Joined 2008-05-23 14:40
18-year member
UID 119498
Gender Male
From 中国,广东
Status Offline
别看我是高级用户,其实菜鸟一个,^-^
Floor 19 Posted 2009-04-25 01:25 ·  中国 湖北 黄石 电信
中级用户
★★
Credits 330
Posts 244
Joined 2006-04-14 14:07
20-year member
UID 53823
Gender Male
From 湖北
Status Offline
Learning
Floor 20 Posted 2009-05-04 21:02 ·  中国 福建 厦门 电信
高级用户
★★★
Credits 741
Posts 366
Joined 2007-07-25 19:11
18-year member
UID 94024
Gender Male
Status Offline
The partition flags of HPFS and NTFS are both 07H. It is best not to mix them, otherwise problems are very likely to occur.
Floor 21 Posted 2009-05-05 05:02 ·  德国 马克斯-普朗克等离子物理研究所
金牌会员
★★★★
Credits 3,467
Posts 1,616
Joined 2004-06-21 00:00
22-year member
UID 27148
Status Offline
Originally posted by netwinxp at 2009-5-4 09:02 PM:
Both HPFS and NTFS use partition flag 07H. It's best not to mix them, otherwise problems are likely to occur.

HPFS and NTFS indeed both use 07, but Windows' NTFS driver can well distinguish between the two and won't make a mistake. Because the code in Windows NT from the very beginning included code to identify HPFS partitions, and it can distinguish HPFS and NTFS from other information of the file system.

I tried it before. The chkdsk and convert commands in XP can recognize HPFS partitions. When trying to operate on an HPFS partition, it will prompt that this version of chkdsk/convert doesn't support HPFS partitions, while these commands in Windows NT 3.x can directly operate on HPFS partitions.

[ Last edited by fujianabc on 2009-5-5 at 05:03 ]
Floor 22 Posted 2009-06-08 21:41 ·  中国 河北 石家庄 电信
新手上路
Credits 1
Posts 1
Joined 2009-06-08 00:39
17-year member
UID 146914
Gender Male
Status Offline
Waited all day and need this thing
Floor 23 Posted 2009-06-22 01:15 ·  中国 天津 联通
新手上路
Credits 1
Posts 1
Joined 2009-06-19 00:15
17-year member
UID 147690
Gender Male
Status Offline
Floor 24 Posted 2010-04-20 09:47 ·  中国 浙江 绍兴 新昌县 电信
新手上路
Credits 1
Posts 1
Joined 2010-04-08 11:41
16-year member
UID 164053
Gender Male
Status Offline
Let's see if it's really true
Floor 25 Posted 2010-04-25 09:56 ·  中国 黑龙江 牡丹江 联通
版主
★★
系统收藏家
Credits 326
Posts 285
Joined 2010-02-22 00:00
16-year member
UID 160972
Gender Male
From 黑龙江省
Status Offline
After the shared folder of the VMware virtual machine is mapped to a hard disk, the format of the hard disk is hffs
Floor 26 Posted 2010-04-25 17:47 ·  中国 湖南 常德 电信
银牌会员
★★★
Credits 1,384
Posts 709
Joined 2005-10-29 22:22
20-year member
UID 44271
Status Offline
Haha, IBM was really messed up by Microsoft and also Intel...
Floor 27 Posted 2010-04-30 20:51 ·  中国 北京 联通
新手上路
Credits 1
Posts 1
Joined 2010-04-22 23:08
16-year member
UID 165279
Gender Male
Status Offline
Floor 28 Posted 2010-05-08 23:36 ·  中国 辽宁 沈阳 联通
新手上路
Credits 2
Posts 2
Joined 2010-04-28 13:55
16-year member
UID 165702
Gender Male
Status Offline
Floor 29 Posted 2010-05-11 18:37 ·  中国 山东 青岛 联通
新手上路
Credits 1
Posts 1
Joined 2010-05-10 18:10
16-year member
UID 166553
Gender Male
Status Offline
Thanks for sharing
Floor 30 Posted 2010-05-21 23:06 ·  中国 河北 廊坊 联通
新手上路
Credits 1
Posts 1
Joined 2010-05-21 01:00
16-year member
UID 167295
Gender Male
Status Offline
Apple, IBM, and Microsoft were previously partners, and Windows NT maintained most compatibility with OS/2.
Forum Jump: