Ejecter cannot umount physicaly nonremovable but unmountable disks/partitions

Bug #708273 reported by Roman Polach
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Ejecter
In Progress
Wishlist
Unassigned

Bug Description

I have 5 partitions on my disk, which I occasionally mount
(for backups, rarely used data etc.)
I am using ejecter to unmount external flash-disks and devices,
but I cannot use it for nonremovable-disk-partitions.
I am forced to unmount it an ugly way: open nautilus, click
eject icon in left pane and close nautilus again.
I think this inconsistency can be solved by ejecter supporting
"ejecting" nonremovable-disk-partitions too.

Revision history for this message
Federico Pelloni (fredp) wrote :

You know, I wanted Ejecter to show only removable devices, it is something beyond the basic user needs to unmount an internal partition.
I could perhaps think about adding an hidden setting (gconf or something) to allow users to choose whether to show or hide internal partitions, but this would involve adding a new settings structure wich at now does not exist at all (ejecter currently has no settings).

Changed in ejecter:
status: New → Triaged
importance: Undecided → Wishlist
Federico Pelloni (fredp)
Changed in ejecter:
status: Triaged → In Progress
Revision history for this message
Federico Pelloni (fredp) wrote :

I just released 0.4.4 which features a new command line switch (-i) to show also internal partitions. If you installed Ejecter via the PPA, you'll have the update as soon as it is built.

Use it when launching ejecter, with "ejecter -i".
If ejecter autostarts on your system, you have to modify its behavior. If you're using Ubuntu or any other Gnome-based distribution, you've to got to System > Preferences > Startup applications, then choose Ejecter, click "Edit" and add " -i" in the "Command" field.

I think that this should be fine for now, even if its not so simple to use, as showing internal drives isn't something every user will be doing.

Anyway, I don't have internal partitions to test this, so please report any inconvenience. Thank you.

Revision history for this message
Roman Polach (rpolach) wrote :

Thank you. You are fast! It works well as described.
Unfortunately now I have another problem:
Mounted partition I wanted to unmount is on the same
disk as root file system, swap, etc...
So now I see I need unmount particular partitions, not
only whole discs... Would it be possible in ejecter too?

Revision history for this message
Roman Polach (rpolach) wrote :

Another idea would be: Only present those partitions/disks which
user can really unmount. These are the same partitions as displayed
in right pane of nautilus and having small eject-symbol displayed.

Revision history for this message
Federico Pelloni (fredp) wrote :

> Unfortunately now I have another problem:
> Mounted partition I wanted to unmount is on the same
> disk as root file system, swap, etc...
> So now I see I need unmount particular partitions, not
> only whole discs... Would it be possible in ejecter too?

This would involve quite a bit of work, as it is necessary to change how Ejecter works (it currently acts upon "drives" and not "mounts"). I don't know when I'll make this changes.

> Another idea would be: Only present those partitions/disks which
> user can really unmount. These are the same partitions as displayed
> in right pane of nautilus and having small eject-symbol displayed.

Here you mean to show only partitions user can unmount for permissions problems? If so, I thought a password popup would come up if root password was needed, but I never tested this and I still have to get deep inside libraries that handle device unmounting.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.