Wraps a drive letter, offering access to its Drive.volume and the ability to mount() or dismount() it on a particular volume.
Dismount this drive from its volume
Wraps a filesystem volume, giving access to useful information such as the filesystem and a list of drives mounted on it. Also offers the ability to mount or dismount.
Attributes:
Dismount this volume from a particular filepath
Parameters: | filepath – anything accepted by dir() |
---|
Mount this volume on a particular filepath
Parameters: | filepath – anything accepted by dir() |
---|
The name of the file system present on this volume, eg NTFS
An attribute set corresponding to some combination of VOLUME_FLAG
The user-assigned label set by the DOS LABEL command
The maximum length any one component of the file system name can reach. For NTFS this is 255, meaning that any one segment of of the path can be no longer than 255 chars.
An iterator of the Dir objects which mount this volume. NB Windows restrictions mean that more than one drive root directory can mount the same volume simultaneously. But it is possible for a volume to be mounted on, eg, e:and c:mountse at the same time.
A software serial number, not the hardware serial number assigned by the device manufacturer.