public void setVolumeLabel ( String label ) throws ReadOnlyException , IOException { checkClosed ( ) ; checkReadOnly ( ) ; rootDirStore . setLabel ( label ) ; if ( fatType != FatType . FAT32 ) { ( ( Fat16BootSector ) bs ) . setVolumeLabel ( label ) ; } }
Sets the volume label for this file system .