SD card ejecting on a Thinkpad x61

Questions about hardware,drivers and peripherals
Forum rules
Before you post please read this

SD card ejecting on a Thinkpad x61

Postby ossified65 on Fri Oct 10, 2008 9:06 pm

My SD card mounts with no problem, but when I try to eject it I get: /usr/bin/eject: unable to eject, last error: Inappropriate ioctl for device. Do I need a permanent entry in fstab or something?

If I try to eject it a second time I get: Device to unmount is not in /media/.hal-mtab so it is not mounted by HAL.

Bryan
ossified65
Level 2
Level 2
 
Posts: 77
Joined: Sat Sep 27, 2008 9:29 pm

Linux Mint is funded by ads and donations.
 

Re: SD card ejecting on a Thinkpad x61

Postby Husse on Sat Oct 11, 2008 3:49 pm

It's mounted by pmount
This is what mounts removable devices unless they have an entry in fstab
There is actually a pmount-hal but that's another story
You find devises mounted by pmount in /etc/mtab
You say eject - shouldn't it be unmount?
With a a permanent entry in fstab you must be root to mount/unmount
Image
Don't fix it if it ain't broken, don't break it if you can't fix it
Husse
Level 21
Level 21
 
Posts: 19710
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

Re: SD card ejecting on a Thinkpad x61

Postby ossified65 on Sun Oct 12, 2008 4:39 pm

It says eject, which makes sense for a SD card since you stick in it a slot, but doesn't make sense if it is treated as a disk. Anyway, any ideas about how to make it safelty "unmount/eject"?
ossified65
Level 2
Level 2
 
Posts: 77
Joined: Sat Sep 27, 2008 9:29 pm

Re: SD card ejecting on a Thinkpad x61

Postby Husse on Mon Oct 13, 2008 5:11 am

Your error(s) seem a bit odd
You could try to use pumount - you need to install it first though
It's the umount of pmount
Image
Don't fix it if it ain't broken, don't break it if you can't fix it
Husse
Level 21
Level 21
 
Posts: 19710
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden


Return to Hardware Support

Who is online

Users browsing this forum: Google Adsense [Bot] and 16 guests