Check process that prevent unmount USB drive

Get PID of process that prevent from unmounting a USB drive

$ fuser -m /var/run/media/mycomputer/mythumbdrive/
/run/media/mycomputer/mythumbdrive: 1583m

See what that process is

$ ps ax|grep 1583
1583  ?      S   0:02  /usr/bin/python /usr/lib/python2.7/site-packages/rabbitvcs/services/checkerservice.pyc
6859  pts/0  S+  0:00  grep --color=auto 1583

Oh, it’s rabbitvcs. Now kill it

$ kill -9 1583

Now I can remove the USB safely

Dragonball comics on iPad

Dragonball comics can be downloaded at http://www.realitylapse.com/manga/dragonball.php.There are two types of downloads – chapters or volumes, volumes are combination of several chapters. Better download the volumes, since downloading each chapter will take longer time.

I’m using SideBooks app to view the comics on iPad. The files can be easily transferred to iPad via iTunes shared folder.

itunes-dragonball

Or if you’re using Fedora, it’s automatically detected as mobile device & by using Nautilus it’s as easy as copying files into SideBooks folder inside the iPad.

nautilus-ipad

Yum & RPM database corrupt

Got this error when try to update

# yum update
error: rpmdb: BDB0113 Thread/process 12509/140477588522816 failed: BDB1507 Thread died in Berkeley DB library
error: db5 error(-30973) from dbenv->failchk: BDB0087 DB_RUNRECOVERY: Fatal error, run database recovery
error: cannot open Packages index using db5 -  (-30973)
error: cannot open Packages database in /var/lib/rpm
CRITICAL:yum.main:

Error: rpmdb open failed

This error caused by pressing Ctrl+C to cancel the yum progress before this, which corrupt the RPM database.

Fixed it by deleting __db.00* file in /var/lib/rpm