OnWorks favicon

hotswap - Online in the Cloud

Run hotswap in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command hotswap that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator



hotswap - register and unregister hotswappable IDE hardware


hotswap [ -c | --ide-controller N] [-h | --help] [-n | --nocheck] [-v | --verbose] [-V |
--version] [ACTION]


hotswap allows you to register and unregister hotswappable IDE devices, for example
notebook computer modules, with the Linux kernel.

It has been developed on and for a Dell Latitude C600, but does not rely on any specific
properties of that machine.

By default, the command line utility guides you through the hotswapping process
interactively. It is also possible to specify an ACTION, for example unregistering the
current device, rescanning the IDE bus, &c. This feature is primarily intended for use
with scripts and GUI frontends such as xhotswap(1).

By using an XML configuration file, system administrators can specify arbitrary shell
scripts to be run before and after registering and unregistering devices. This is
particularly helpful for automatic configuration of CD-RW drives, which require SCSI
emulation and bypass normal access via the IDE subsystem. By default, the configuration
file is located at /etc/hotswaprc; its syntax is described in hotswaprc(5).


The program follows the usual GNU command line syntax, with long options starting with two
dashes (`-').

-c, --ide-controller N
Use IDE controller N.

-h, --help
Print a brief help text and exit successfully.

-n, --nocheck
Do not perform sanity checks before attempting an action. Use with care, as this
option may cause some steps to fail silently.

-v, --verbose
Print more information.

-V ,--version
Print version information and exit successfully.


Besides the above options, the program allows you to specify one of the following actions
on the command line:

Detect the currently configured IDE device.

Detect whether a file system on the currently configured IDE device is mounted.

Unregister the currently configured IDE device.

Scan the IDE bus for a new device. If a device has been found, register it with
the kernel.

If no ACTION is specified, interactive mode is entered. In this mode the program guides
you through the hotswapping process as appropriate for the current configuration.


There is generally no need to manage floppy disk devices. The FDC is always present and
configured. Floppy disk drives do not connect to the IDE controller, even if they come in
the same modules as IDE devices and use the same connector.

The Linux kernel requires hotswappable devices to be the only device connected to their
IDE controller.

The mounted-ide action assumes file systems have been mounted as /dev/hdc. If this is not
the case (i.e., you've used a symbolic link such as /dev/cdrom) the command will not work.

Use hotswap online using onworks.net services

Free Servers & Workstations

Download Windows & Linux apps

  • 1
    OpenPDF - Fork of iText
    OpenPDF - Fork of iText
    OpenPDF is a Java library for creating
    and editing PDF files with a LGPL and
    MPL open source license. OpenPDF is the
    LGPL/MPL open source successor of iText,
    Download OpenPDF - Fork of iText
  • 2
    SAGA - System for Automated
    Geoscientific Analyses - is a Geographic
    Information System (GIS) software with
    immense capabilities for geodata
    processing and ana...
    Download SAGA GIS
  • 3
    Toolbox for Java/JTOpen
    Toolbox for Java/JTOpen
    The IBM Toolbox for Java / JTOpen is a
    library of Java classes supporting the
    client/server and internet programming
    models to a system running OS/400,
    i5/OS, o...
    Download Toolbox for Java/JTOpen
  • 4
    D3.js (or D3 for Data-Driven Documents)
    is a JavaScript library that allows you
    to produce dynamic, interactive data
    visualizations in web browsers. With D3
    Download D3.js
  • 5
    A fast tunnel proxy that helps you
    bypass firewalls This is an application
    that can also be fetched from
    It ha...
    Download Shadowsocks
  • 6
    GLPI Themes
    GLPI Themes
    Download release at
    Color themes for GLPI 0.84 and 0.85 New
    Modifications for GLPI This is an
    application that c...
    Download GLPI Themes
  • 7
    SMPlayer is a free media player for
    Windows and Linux with built-in codecs
    that can also play YouTube videos. One
    of the most interesting features of
    Download SMPlayer
  • More »

Linux commands