media usb auto-mount enable

Prev Next

To specify whether a USB device is auto-mounted to the attached appliance, use the media usb mount enable command in configuration mode. The no form of this command disables auto-mounting on a USB device.

You must enable auto-mounting at the same time the USB device is attached. By default, auto-mounting is disabled. The first partition is mounted in the /media/usb1 directory. You can only auto-mount the first USB device. To unmount the USB device before it is disconnected, use the media usb eject command.

Syntax

[no] media usb mount enable

User role

Admin

Supported appliances

Command was introduced before Release 7.5.0.

Parameters

None

Example

The following example enables auto-mounting on the USB device to the attached appliance.

hostname (config) # media usb auto-mount enable