diskinfo - Information about target PC drive

Syntax

MATLAB® command line

diskinfo(filesys_obj,target_PC_drive)
filesys_obj.diskinfo(target_PC_drive)

Arguments

filesys_obj

Name of the xpctarget.fs file system object.

target_PC_drive

Name of the target PC drive for which to return information.

Description

Method of xpctarget.fs objects. From the host PC, returns disk information for the specified target PC drive.

Examples

Return disk information for the target PC C:\ drive for the file system object fsys.

diskinfo(fsys,'C:\') or fsys.diskinfo('C:\')
ans =
                  Label: 'SYSTEM '
            DriveLetter: 'C'
               Reserved: ''
           SerialNumber: 1.0294e+009
    FirstPhysicalSector: 63
                FATType: 32
               FATCount: 2
          MaxDirEntries: 0
         BytesPerSector: 512
      SectorsPerCluster: 4
          TotalClusters: 2040293
            BadClusters: 0
           FreeClusters: 1007937
                  Files: 19968
             FileChains: 22480
             FreeChains: 1300
       LargestFreeChain: 64349
  


 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS