SD card ejecting on a Thinkpad x61

Questions about hardware,drivers and peripherals
Forum rules
Before you post please read how to get help
ossified65
Level 2
Level 2
Posts: 78
Joined: Sat Sep 27, 2008 9:29 pm
Contact:

SD card ejecting on a Thinkpad x61

Postby ossified65 » 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

Husse
Level 23
Level 23
Posts: 19590
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

Re: SD card ejecting on a Thinkpad x61

Postby Husse » 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

ossified65
Level 2
Level 2
Posts: 78
Joined: Sat Sep 27, 2008 9:29 pm
Contact:

Re: SD card ejecting on a Thinkpad x61

Postby ossified65 » 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"?

Husse
Level 23
Level 23
Posts: 19590
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

Re: SD card ejecting on a Thinkpad x61

Postby Husse » 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


Return to “Hardware Support”

Who is online

Users browsing this forum: No registered users and 4 guests