📄 dospartlibata.c
字号:
lowercase-only filenames: not enabled volume mode: O_RDWR (read/write) available space: 11599872 bytes max avail. contig space: 11599872 bytes value = 0 = 0x0 -> dosFsConfigShow "/ataCtrl0Drive0Part1" device name: /ataCtrl0Drive0Part1 total number of sectors: 2100609 bytes per sector: 512 media byte: 0xf0 # of sectors per cluster: 33 # of reserved sectors: 1 # of FAT tables: 2 # of sectors per FAT: 249 max # of root dir entries: 112 # of hidden sectors: 0 removable medium: TRUE disk change w/out warning: not enabled auto-sync mode: not enabled See: long file names: ENABLED <- LONG FILENAMES! exportable file system: not enabled lowercase-only filenames: not enabled volume mode: O_RDWR (read/write) available space: 1075244544 bytes max avail. contig space: 1075244544 bytes value = 0 = 0x0 -> ------------------------------------------------------------------------------ ***********************************************************4.) EXAMPLE OF USING dosPartMountScsi and dosPartShowScsi ***********************************************************VxWorks (for Motorola MVME167) version 5.3.1.-> scsiAutoConfig value = 0 = 0x0-> scsiShowID LUN VendorID ProductID Rev. Type Blocks BlkSize pScsiPhysDev -- --- -------- ---------------- ---- ---- -------- ------- ------------ 0 0 QUANTUM P80S 980-80-94xx 6.8 0 164058 512 0x01fff7f8 4 0 CONNER CFP1080S 4649 0 2110812 512 0x01ffe518 value = 0 = 0x0-> -> ld < C:\dosPartLib\scsi\dosPartLibScsi.ovalue = 14385160 = 0xdb8008-> -> sp dosPartMountScsi, pSysScsiCtrltask spawned: id = 1fb5814, name = u0value = 33249300 = 0x1fb5814-> Mounting partition 00 - VxWorks device Name "ID0/LUN0/Part0"Absolute sector: 0x00000020 Number of sectors: 0x00003fe0Approximate Partition size: 7 MBsMounting partition 01 - VxWorks device Name "ID0/LUN0/Part1"Absolute sector: 0x00004020 Number of sectors: 0x000047e0Approximate Partition size: 8 MBsMounting partition 02 - VxWorks device Name "ID0/LUN0/Part2"Absolute sector: 0x00008820 Number of sectors: 0x000067e0Approximate Partition size: 12 MBsMounting partition 03 - VxWorks device Name "ID0/LUN0/Part3"Absolute sector: 0x0000f020 Number of sectors: 0x000027e0Approximate Partition size: 4 MBsMounting partition 04 - VxWorks device Name "ID0/LUN0/Part4"Absolute sector: 0x00011820 Number of sectors: 0x00001fe0Approximate Partition size: 3 MBsMounting partition 05 - VxWorks device Name "ID0/LUN0/Part5"Absolute sector: 0x00013820 Number of sectors: 0x00010fe0Approximate Partition size: 33 MBsMounting partition 06 - VxWorks device Name "ID0/LUN0/Part6"Absolute sector: 0x00024820 Number of sectors: 0x00000fe0Approximate Partition size: 1 MBsMounting partition 07 - VxWorks device Name "ID0/LUN0/Part7"Absolute sector: 0x00025820 Number of sectors: 0x000027e0Approximate Partition size: 4 MBsMounting partition 00 - VxWorks device Name "ID4/LUN0/Part0"Absolute sector: 0x0000003f Number of sectors: 0x00032f8eApproximate Partition size: 101 MBsMounting partition 01 - VxWorks device Name "ID4/LUN0/Part1"Absolute sector: 0x0003300c Number of sectors: 0x0000fac5Approximate Partition size: 31 MBsMounting partition 02 - VxWorks device Name "ID4/LUN0/Part2"Absolute sector: 0x00042b10 Number of sectors: 0x00098f28Approximate Partition size: 305 MBsMounting partition 03 - VxWorks device Name "ID4/LUN0/Part3"Absolute sector: 0x000dba77 Number of sectors: 0x00065f5bApproximate Partition size: 203 MBsMounting partition 04 - VxWorks device Name "ID4/LUN0/Part4"Absolute sector: 0x00141a11 Number of sectors: 0x00065f5bApproximate Partition size: 203 MBs-> -> devsdrv name 0 /null 1 /tyCo/0 1 /tyCo/1 1 /tyCo/2 1 /tyCo/3 6 eno: 7 /vio 3 ID0/LUN0/Part0 3 ID0/LUN0/Part1 3 ID0/LUN0/Part2 3 ID0/LUN0/Part3 3 ID0/LUN0/Part4 3 ID0/LUN0/Part5 3 ID0/LUN0/Part6 3 ID0/LUN0/Part7 3 ID4/LUN0/Part0 3 ID4/LUN0/Part1 3 ID4/LUN0/Part2 3 ID4/LUN0/Part3 3 ID4/LUN0/Part4value = 0 = 0x0-> dosFsConfigShow "ID4/LUN0/Part3"device name: ID4/LUN0/Part3total number of sectors: 417627bytes per sector: 512media byte: 0xf8# of sectors per cluster: 8# of reserved sectors: 1# of FAT tables: 2# of sectors per FAT: 204max # of root dir entries: 512# of hidden sectors: 63removable medium: falsedisk change w/out warning: not enabledauto-sync mode: not enabledlong file names: not enabledexportable file system: not enabledlowercase-only filenames: not enabledvolume mode: O_RDWR (read/write)available space: 213598208 bytesmax avail. contig space: 213598208 bytesvalue = 0 = 0x0-> -> sp dosPartShowScsi, 0x01fff7f8task spawned: id = 1fb5814, name = u0value = 33249300 = 0x1fb5814-> +--------------------------------------+| Master Boot Record - Partition Table |+--------------------------------------+--------------------+| Partition Entry number 00 | Partition Entry offset 0x1be|+-----------------------------+-----------------------------+| Status field = 0x80 | Primary (bootable) Partition|+-----------------------------+-----------------------------+| Type 0x01: MSDOS Partition 12-bit FAT |+-----------------------------+-----------------------------+| Partition start LCHS: Cylinder 0000, Head 001, Sector 01 |+-----------------------------------------------------------+| Partition end LCHS: Cylinder 0000, Head 063, Sector 32 |+-----------------------------------------------------------+| Sectors offset from MBR partition 0x00000020 |+-----------------------------------------------------------+| Number of sectors in partition 0x00003fe0 |+-----------------------------------------------------------+| Sectors offset from start of disk 0x00000020 |+-----------------------------------------------------------++--------------------------------------+| Master Boot Record - Partition Table |+--------------------------------------+--------------------+| Partition Entry number 01 | Partition Entry offset 0x1ce|+-----------------------------+-----------------------------+| Status field = 0x00 | Non-bootable Partition |+-----------------------------+-----------------------------+| Type 0x05: MSDOS Extended Partition |+-----------------------------+-----------------------------+| Partition start LCHS: Cylinder 0000, Head 000, Sector 01 |+-----------------------------------------------------------+| Partition end LCHS: Cylinder 0000, Head 063, Sector 32 |+-----------------------------------------------------------+| Sectors offset from MBR partition 0x00004000 |+-----------------------------------------------------------+| Number of sectors in partition 0x00024000 |+-----------------------------------------------------------+| Sectors offset from start of disk 0x00004000 |+-----------------------------------------------------------++--------------------------------------+| Master Boot Record - Partition Table |+--------------------------------------+--------------------+| Partition Entry number 02 | Partition Entry offset 0x1de|+-----------------------------+-----------------------------+| Status field = 0x00 | Non-bootable Partition |+-----------------------------+-----------------------------+| Type 0x00: Empty (NULL) Partition |+-----------------------------+-----------------------------++--------------------------------------+| Master Boot Record - Partition Table |+--------------------------------------+--------------------+| Partition Entry number 03 | Partition Entry offset 0x1ee|+-----------------------------+-----------------------------+| Status field = 0x00 | Non-bootable Partition |+-----------------------------+-----------------------------+| Type 0x00: Empty (NULL) Partition |+-----------------------------+-----------------------------++-----------------------------+| Extended Partition Table 01 |+-----------------------------+-----------------------------+| Partition Entry number 00 | Partition Entry offset 0x1be|+-----------------------------+-----------------------------+| Status field = 0x00 | Non-bootable Partition |+-----------------------------+-----------------------------+| Type 0x01: MSDOS Partition 12-bit FAT |+-----------------------------+-----------------------------+| Partition start LCHS: Cylinder 0000, Head 001, Sector 01 |+-----------------------------------------------------------+| Partition end LCHS: Cylinder 0000, Head 063, Sector 32 |+-----------------------------------------------------------+| Sectors offset from the extended partition 0x00000020 |+-----------------------------------------------------------+| Number of sectors in partition 0x000047e0 |+-----------------------------------------------------------+| Sectors offset from start of disk 0x00004020 |+-----------------------------------------------------------++-----------------------------+| Extended Partition Table 01 |+-----------------------------+-----------------------------+| Partition Entry number 01 | Partition Entry offset 0x1ce|+-----------------------------+-----------------------------+| Status field = 0x00 | Non-bootable Partition |+-----------------------------+-----------------------------+| Type 0x05: MSDOS Extended Partition |+-----------------------------+-----------------------------+| Partition start LCHS: Cylinder 0000, Head 000, Sector 01 |+-----------------------------------------------------------+| Partition end LCHS: Cylinder 0000, Head 063, Sector 32 |+-----------------------------------------------------------+| Sectors offset from the extended partition 0x00004800 |+-----------------------------------------------------------+| Number of sectors in partition 0x00006800 |+-----------------------------------------------------------+| Sectors offset from start of disk 0x00008800 |+-----------------------------------------------------------++-----------------------------+| Extended Partition Table 01 |+-----------------------------+-----------------------------+| Partition Entry number 02 | Partition Entry offset 0x1de|+-----------------------------+-----------------------------+| Status field = 0x00 | Non-bootable Partition |+-----------------------------+-----------------------------+| Type 0x00: Empty (NULL) Partition |+-----------------------------+-----------------------------++-----------------------------+| Extended Partition Table 01 |+-----------------------------+-----------------------------+| Partition Entry number 03 | Partition Entry offset 0x1ee|+-----------------------------+-----------------------------+| Status field = 0x00 | Non-bootable Partition |+-----------------------------+-----------------------------+| Type 0x00: Empty (NULL) Partition |+-----------------------------+-----------------------------++-----------------------------+| Extended Partition Table 02 |+-----------------------------+-----------------------------+| Partition Entry number 00 | Partition Entry offset 0x1be|+-----------------------------+-----------------------------+| Status field = 0x00 | Non-bootable Partition |+-----------------------------+-----------------------------+| Type 0x01: MSDOS Partition 12-bit FAT |+-----------------------------+-----------------------------+
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -