Warning: this Linux problem is written for intermediate and advanced Linux users.
Note to intermediate users: please RTFM before attempting to use any app as described in this problem.
Disclaimer: This blog article is for information only. I take no responsibility for its misuse by any Linux user who chooses to act based on the information presented.
Identifying the Problem
Recently I solved a problem involving my USB flash drive.
While working on Linux, I learned a lot about the apps used in solving the write access problem associated with it. This solution consisted of creating an entry in the file system table for the flash drive.
While it may be mounted using the file manager, this fix prevents unmounting of the flash drive.
The file manager accesses the flash drive preventing its unmounting, which is fixed by exiting the file manager.
After exiting, the flash drive may be safely unmounted before removing the flash drive.
Device and Media Descriptions
Device and media names:
- /dev/sdc1 : device label for USB flash drive
- /media/usb2 : media name for mounted flash drive
- man: used to read thoroughly descriptions of the following apps and files
- pmount, pumount : to mount and unmount the drive safely; use only as user
- mount: to check the list of mounted media; DO NOT USE TO DISMOUNT media.
- blkid: to list the mounted media's UUIDs.
- chown: use to assign owner rights to user.
- chgrp: use to assign group rights to user.
- lsof: use on device name for USB flash drive.
- gksu: command run to temporarily assign root access to user; used with gedit to edit fstab.
- fstab: file system table used to mount devices such as hard disk drives and removable media.
- gedit: used to edit fstab
- thunar: file manager