[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Nautilus won't eject Zip drive



To reply to myself one and a half hours later:

I was wrong, eject is well capable of ejecting the underlying device
when specifying a partition. So 'eject /dev/hdb4' should work. Rather,
the culprit is with udev recreating partition node /dev/hdb4 with group
disk upon mount although it is being explictly told to use group floppy
both in /etc/udev/udev.rules and /etc/udev/rules.d/udev.rules.

So, this has nothing to do with nautilus at all. I should have tried
things out on the command line to start with - mea culpa!

For the record (or rather the mailing list archive), adding the
following rule to /etc/udev/hal.rules fixes the issue (one line):

BUS="ide", KERNEL="hd[a-z]*",
PROGRAM="/etc/udev/scripts/device-removable.sh %k", RESULT="1", NAME="%
k", MODE="0660", GROUP="floppy

This is a dodgy workaround, not a proper fix. I'll try the latest udev
package from unstable and if the problem persists file I think.

Cheers
Andree

On Tue, 2005-02-15 at 21:24 +1100, Andree Leidenfrost wrote: 
> Dear all
> 
> My Sarge system (brand new install) has an ATAPI IOMEGA Zip100 drive
> built in. I'm running the stock 2.6.10-1-k7-4 kernel from unstable. I
> manually load the ide-floppy module via /etc/modules and have manually
> added the following entry to /etc/fstab:
> 
> /dev/hdb4       /media/zip      vfat    rw,user,noauto  0       0
> 
> The device nodes are automatically handled by udev which works fine. I
> manually created the mount point /media/zip though. Also, I have fam
> installed (probably unrelated).
> 
> The device shows up ok in 'Computer' as 'Zip Drive' and gets mounted
> when double-clicking. Reading and writing the drive both work fine.
> 
> Where it all goes pear-shaped is when I go '<right-mouse-click>->Eject'.
> The media isn't ejected and I get an error message saying 'Unable to
> eject media' and opening up 'Show more details' reveals the reason
> 'eject: unable to open /dev/hdb4'.
> 
> mount shows that the device did indeed get unmounted ok. Only the eject
> failed which is not surprising as eject expects a device and not a
> partition as argument. So nautilus should really use 'eject /dev/hdb'
> rather than 'eject /dev/hdb4' which apparently it does.
> 
> I'm running nautilus 2.8.2-2.
> 
> Ejecting works fine for my DVD drive.
> 
> Before I turn this into a bug report I thought I seek your feedback
> first. Maybe I'm doing something wrong that keeps nautilus from doing
> the right thing.
> 
> Cheers
> Andree
-- 
Andree Leidenfrost
Sydney - Australia

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: