VectorLinux
November 22, 2014, 01:00:11 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Visit our home page for VL info. To search the old message board go to http://vectorlinux.com/forum1. The first VL forum is temporarily offline until we can find a host for it. Thanks for your patience.
 
Now powered by KnowledgeDex.
   Home   Help Search Login Register  
Please support VectorLinux!
Pages: [1]
  Print  
Author Topic: Can't unmount pendrive [SOLVED]  (Read 1284 times)
telepibe
Member
*
Posts: 19



« on: August 09, 2008, 01:11:54 pm »

I can't unmount my pendrive. I've tried every umount and vlh-umount command I could think of. Also, since I use Fluxbox, tried clicking the umount icon in the ~/desktop through pcmanfm and the icons went away but I'm still able to use the files in the pendrive.
I tried to change vl-hot for HAL but nothing happens when I click the respective icon in vasmcc.

I'm running VL 5.9 Light.
« Last Edit: August 10, 2008, 12:08:02 am by telepibe » Logged

Runnning VL 5.9 Light on Desktop P133 Mhz, 64 Mb Ram, 4 Gb harddisk.
bigpaws
Vectorian
****
Posts: 1857


« Reply #1 on: August 09, 2008, 08:09:28 pm »

Find the card first in the file system. Probably under media.

Then as root you can umount -f <mount point>

That is a dirty way to do it, however that should work.

Bigpaws
Logged
telepibe
Member
*
Posts: 19



« Reply #2 on: August 10, 2008, 12:07:35 am »

Then as root you can umount -f <mount point>

With the f option works. Thank you Bigpaws.
Logged

Runnning VL 5.9 Light on Desktop P133 Mhz, 64 Mb Ram, 4 Gb harddisk.
Joe1962
Administrator
Vectorian
*****
Posts: 2499



WWW
« Reply #3 on: August 12, 2008, 03:15:29 pm »

If a process has an open file on the drive, you can't unmount it normally. You have to close the process first (or kill it). Now vlh-umount has options for this:

vlh-umount = normal unmount
vlh-umount -s = unmount with sighup
vlh-umount -k = unmount with sigkill

sighup signals the process to shut itself down, which is better than kill, but won't work if the process is hang up.

The vl-hot desktop icon on KDE has similar unmount options on the context menu, but this was not yet possible to do on XFCE.
Logged

O'Neill (RE the Asgard): "Usually they ask nicely before they ignore us and do what they damn well please."
http://joe1962.bigbox.info
Running: VL 7 Std 64 + self-cooked XFCE-4.10
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!