{"id":18770810,"url":"https://github.com/rasa/lsdsk","last_synced_at":"2025-06-23T14:37:00.693Z","repository":{"id":27505689,"uuid":"30986143","full_name":"rasa/lsdsk","owner":"rasa","description":"List mounted disks","archived":false,"fork":false,"pushed_at":"2015-05-21T03:59:07.000Z","size":260,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-21T00:35:41.742Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rasa.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-02-18T20:48:33.000Z","updated_at":"2020-05-31T17:16:56.000Z","dependencies_parsed_at":"2022-08-21T12:30:17.441Z","dependency_job_id":null,"html_url":"https://github.com/rasa/lsdsk","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/rasa/lsdsk","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rasa%2Flsdsk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rasa%2Flsdsk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rasa%2Flsdsk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rasa%2Flsdsk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rasa","download_url":"https://codeload.github.com/rasa/lsdsk/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rasa%2Flsdsk/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261495534,"owners_count":23167339,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-07T19:21:38.603Z","updated_at":"2025-06-23T14:37:00.622Z","avatar_url":"https://github.com/rasa.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# lsdsk [![Flattr this][flatter_png]][flatter]\r\n\r\nList mounted disks.\r\n\r\n## Usage\r\n\r\n````\r\nlsdsk [options]\r\nOptions:\r\n-t | --type        Display type of drive\r\n-v | --volume      Display volume name of drive\r\n-u | --used        Display used space on drive\r\n-f | --free        Display free space remaining on drive\r\n-s | --size        Display total size of drive\r\n-m | --file_system Display file system type (NTFS, FAT32, etc.)\r\n-b | --bus         Display device bus type (USB, 1394, etc.)\r\n-n | --name        Display network share directory or subst'd directory\r\n-d | --domain      Display domain and username for network shares\r\n-e | --exclude d:  Exclude drive d:\r\n-i | --include d:  Include drive d: (and exclude all others)\r\n-k | --kilobyte    Use 1024 for a kilobyte (K) instead of 1000\r\n-a | --available   Display available drive letters afterwards\r\n-A | --all         Display both mounted and unmounted drives\r\n-V | --version     Show version and copyright information and quit\r\n-? | --help        Show this help message and quit\r\n````\r\n\r\n## Examples\r\n\r\n````batch\r\nC:\\\u003elsdsk\r\nDr Type      Bus     Volume          Used Free Size FS    Name\r\n-- --------- ------- --------------- ---- ---- ---- ----- -----------------------------\r\nB: RAMDisk           RAMDisk         3.0K 1.0G 1.0G FAT   \\Device\\RAMDisk\r\nC: Fixed             example_c       7.1G 439M 7.1G NTFS  \\Device\\HarddiskVolume1\r\nD: Fixed             example_d        45G 2.1G  47G NTFS  \\Device\\HarddiskVolume3\r\nE: CD-ROM            EXAMPLEVOL      535M   0  535M CDFS\r\nF: Fixed             EXAMPLE_F       288K 131M 131M FAT32 \\Device\\HarddiskVolume2\r\nG: Removable USB     usb_stick        28M 221M 249M exFAT\r\nH: Removable ATA     domain.com        0   42G  42G EXFS\r\nI: Subst             example_d        45G 2.1G  47G NTFS  D:\\a\\path\\on\\d\r\nM: Subst             example_c       7.1G 439M 7.1G NTFS  C:\\User\\Example\\Documents\r\nY: Network           sharename       123M 456M 579M NTFS  \\\\servername\\sharename (username)\r\nZ: Network           c$              177M 782M 959M NTFS  \\\\servername\\c$ (DOMAIN\\user)\r\n\r\nC:\\\u003elsdsk -na\r\nDr Name\r\n-- -----------------------------\r\nB: RAMDisk\r\nC: example_c\r\nD: example_d\r\nE: EXAMPLEVOL\r\nF: EXAMPLE_F\r\nG: usb_stick\r\nI: D:\\a\\path\\on\\d\r\nM: C:\\User\\Example\\Documents\r\nY: \\\\servername\\sharename\r\nZ: \\\\servername\\c$\r\n\r\nFree: A: H: J: K: L: N: O: P: Q: R: S: T: U: V: W: X:\r\n\r\nC:\\\u003eset LSDSK=-na\r\nC:\\\u003elsdsk\r\n\r\n(same as above)\r\n````\r\n\r\n## Verify a Release\r\n\r\nTo verify a release, download the .zip, .sha256, and .asc files for the release \r\n(replacing lsdsk-1.8-win32.zip with the release you are verifying):\r\n\r\n````\r\n$ wget https://github.com/rasa/lsdsk/releases/download/v1.8/lsdsk-1.8-win32.zip{,.sha256,.asc}\r\n````\r\n\r\nNext, check that sha256sum reports \"OK\":\r\n````\r\n$ sha256sum -c lsdsk-1.8-win32.zip.sha256\r\nlsdsk-1.8-win32.zip: OK\r\n````\r\n\r\nLastly, check that GPG reports \"Good signature\":\r\n\r\n````\r\n$ gpg --keyserver hkps.pool.sks-keyservers.net --recv-key 0x105a5225b6ab4b22\r\n$ gpg --verify lsdsk-1.8-win32.zip.asc lsdsk-1.8-win32.zip\r\ngpg:                using RSA key 0xFF914F74B4BB6EF3\r\ngpg: Good signature from \"Ross Smith II \u003cross@smithii.com\u003e\" [ultimate]\r\n...\r\n````\r\n\r\n## Contributing\r\n\r\nTo contribute to this project, please see [CONTRIBUTING.md](CONTRIBUTING.md).\r\n\r\n## Bugs\r\n\r\nTo view existing bugs, or report a new bug, please see [issues](../../issues).\r\n\r\n## Changelog\r\n\r\nTo view the version history for this project, please see [CHANGELOG.md](CHANGELOG.md).\r\n\r\n## License\r\n\r\nThis project is [MIT licensed](LICENSE).\r\n\r\n## Contact\r\n\r\nThis project was created and is maintained by [Ross Smith II][] [![endorse][endorse_png]][endorse]\r\n\r\nFeedback, suggestions, and enhancements are welcome.\r\n\r\n[Ross Smith II]: mailto:ross@smithii.com \"ross@smithii.com\"\r\n[flatter]: https://flattr.com/submit/auto?user_id=rasa\u0026url=https%3A%2F%2Fgithub.com%2Frasa%2Flsdsk\r\n[flatter_png]: http://button.flattr.com/flattr-badge-large.png \"Flattr this\"\r\n[endorse]: https://coderwall.com/rasa\r\n[endorse_png]: https://api.coderwall.com/rasa/endorsecount.png \"endorse\"\r\n\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frasa%2Flsdsk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frasa%2Flsdsk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frasa%2Flsdsk/lists"}