Skip to content
This repository was archived by the owner on Aug 5, 2020. It is now read-only.
This repository was archived by the owner on Aug 5, 2020. It is now read-only.

Windows: mounted is always true, even when no disk on the CD-ROM #12

@jacargentina

Description

@jacargentina

This is shown for a Windows 10 VirtualBox.

> console.log('%o', x.filesystemSync())
{ 'C:':
   { id: 'C:',
     node: 'C:',
     whole: true,
     parent: 'C:',
     name: 'C:',
     size: 125332606976,
     description: 'Disco fijo local',
     protocol: null,
     blockSize: null,
     readOnly: null,
     removable: null,
     volumes:
      [ { id: 'C:',
          node: 'C:',
          whole: false,
          parent: 'C:',
          name: null,
          description: null,
          blockSize: null,
          blocks: null,
          readOnly: null,
          mounted: true,
          mountPoint: 'C:',
          partitionType: null,
          fs: 'NTFS',
          space:
           { total: 125332606976,
             available: 15318355968,
             used: 110014251008 } },
        [length]: 1 ] },
  undefined:
   { id: 'D:',
     node: 'D:',
     whole: true,
     parent: 'D:',
     name: undefined,
     size: NaN,
     description: 'Disco CD-ROM',
     protocol: null,
     blockSize: null,
     readOnly: null,
     removable: null,
     volumes:
      [ { id: 'D:',
          node: 'D:',
          whole: false,
          parent: 'D:',
          name: null,
          description: null,
          blockSize: null,
          blocks: null,
          readOnly: null,
          mounted: true,
          mountPoint: undefined,
          partitionType: null,
          fs: 'D:',
          space: { total: NaN, available: NaN, used: NaN } },
        [length]: 1 ] },
  'E:':
   { id: 'E:',
     node: 'E:',
     whole: true,
     parent: 'E:',
     name: 'E:',
     size: 286298181632,
     description: 'Conexión de red',
     protocol: null,
     blockSize: null,
     readOnly: null,
     removable: null,
     volumes:
      [ { id: 'E:',
          node: 'E:',
          whole: false,
          parent: 'E:',
          name: 'VBOX_Dropbox',
          description: null,
          blockSize: null,
          blocks: null,
          readOnly: null,
          mounted: true,
          mountPoint: 'E:',
          partitionType: null,
          fs: 'VBoxSharedFolderFS',
          space:
           { total: 286298181632,
             available: 140859002880,
             used: 145439178752 } },
        [length]: 1 ] } }

Notes

  • Second drive is undefined key; may be it is related to not having any disk on it? Maybe would be nice for it to be D: even it doesnt have a disk mounted.
  • mounted: true, but there is no CD on the drive

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugwindowsRelated to windows platform

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions