- Use
udev
to determine if a drive is removable on GNU/Linux. - Mark internal and non-removable drives as system drives in OS X.
- Omit loop devices in GNU/Linux.
- Omit CD/DVD drives in GNU/Linux.
- Omit mounted DMG images in OS X.
- Add a display name property called
name
.
- Fix boolean values being surrounded by quotes.
- Trim trailing commas on GNU/Linux mountpoints.
- Support running inside Electron.
- Treat multiple mountpoint as a comma separated list of paths in GNU/Linux.
- Escape paths including spaces in unix based operating systems.
- Escape backslashes in Windows devices to avoid weird characters.
- Add example file for easy testing.
- Redesign Windows script to match the new output scheme.
- Refer to
osx
as Darwin everywhere. - Implement GNU/Linux scanning bash script.
- Unify parsing between all supported operating systems.
- Add
system
property to returned drives. - Remove
drivelist.isSystem()
predicate. - Fix issue that caused some OS X drives to not be detected.
- Handle edge case where OS X drives contain a description within parenthesis in
diskutil list
.
- Surround Windows script path in double quotes to avoid issues with paths incuding white space.
- Add
mountpoint
attribute to drives.
- Fix issue where a removable drive was detected as a system drive in Linux.
- Fix win32 issue where DeviceID gets part of the device description.
- Implement isSystem predicate.
- Prevent empty lsblk model crash the module. Return
undefined
description instead.
- Prevent empty wmic size crash the module. Return
undefined
size instead.
- Return non supported OS error to the callback instead of just throwing it.