How To Install fdflush on Kali Linux
Introduction
In this tutorial we learn how to install fdflush on Kali Linux.
What is fdflush
fdflush is:
fdflush is a band-aid for floppy (or other) drives with bad disk-change sensing. fdflush makes the system believe the disk-change switch has been triggered forcing the system to discard the buffered data.
If you have one of these slightly-broken disk drives, you’ll have to run fdflush every time you change a disk.
fdflush is useful for computers which might be sleeping when you change floppies or other removable media.
The command “floppycontrol -f” does the same thing, but the fdutils package is significantly larger; it only uses the floppy-specific flush ioctl.
The command “blockdev –flushbufs” only uses the generic flush ioctl.
There are three methods to install fdflush on Kali Linux. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.
Install fdflush Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install fdflush using apt-get by running the following command:
sudo apt-get -y install fdflushInstall fdflush Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install fdflush using apt by running the following command:
sudo apt -y install fdflushInstall fdflush Using aptitude
If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.
sudo aptitude updateAfter updating apt database, We can install fdflush using aptitude by running the following command:
sudo aptitude -y install fdflushHow To Uninstall fdflush on Kali Linux
To uninstall only the fdflush package we can use the following command:
sudo apt-get remove fdflushUninstall fdflush And Its Dependencies
To uninstall fdflush and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove fdflushRemove fdflush Configurations and Data
To remove fdflush configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge fdflushRemove fdflush configuration, data, and all of its dependencies
We can use the following command to remove fdflush configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge fdflushDependencies
fdflush have the following dependencies:
References
Summary
In this tutorial we learn how to install fdflush package on Kali Linux using different package management tools: apt, apt-get and aptitude.