Add check to non-writable media(like DVD-ROM)