“Device is busy” when umounting
Answer:
Sometimes when you want to unmount a filesystem, error of "Device is busy" will appear.
To solve this:
1. Find out who is using the mount point
# fuser /mnt/cdrom
2. Force to kill it
# fuser -k /mnt/cdrom
Linux Ask! is a Q & A web site specific for Linux related questions. Questions are collected, answered and audited by experienced Linux users.
“Device is busy” when umounting
Answer:
Sometimes when you want to unmount a filesystem, error of "Device is busy" will appear.
To solve this:
1. Find out who is using the mount point
# fuser /mnt/cdrom
2. Force to kill it
# fuser -k /mnt/cdrom
How to mount an ISO file in Linux
Answer:
1. Create the mount point
# mkdir -p /mnt/mdf
2. Mount the mdf file using the mount command
# mount -o loop -t iso9660 dvd.mdf /mnt/mdf
Parallel downloader in Linux
Answer:
wget is perhaps the most popular downloader (command) in Linux, but it cannot establish more than 1 connection to the server for max. speed.
Axel is a lightweight download accelerator for Linux that solve the problem.
To install under Ubuntu:
# sudo apt-get install axel
To download a file by using 10 connections
# axel -n 10 http://www.example.com/file.gz
That's very cool!
How to force re-download a file using wget?
Answer:
Use the -nc flag, e.g.
# wget -nc ftp://sunsite.doc.ic.ac.uk/ls-lR.Z
How to mount an ISO file in Linux
Answer:
1. Create the mount point
# mkdir -p /mnt/iso
2. Mount the iso file using the mount command
# mount -o loop dvd.iso /mnt/iso