Bug 167298 - Dolphin umount (not only eject) of CDROM - DVD
Summary: Dolphin umount (not only eject) of CDROM - DVD
Status: RESOLVED FIXED
Alias: None
Product: kdelibs
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR wishlist
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-23 16:41 UTC by Diego Ercolani
Modified: 2008-08-15 12:31 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Diego Ercolani 2008-07-23 16:41:53 UTC
Version:            (using KDE 4.0.98)
Installed from:    SuSE RPMs
OS:                Linux

As we are using hal resmgr udev and so on to give normal user access right to
removable media, and KDE always open (mount) DVDs and CDs, it would be nice to
offer user the possibility also to simply umount removable media without
ejecting them.

Normal example of this lack of functionality should be a rewriting of a CDRW.
When CDRW is inserted, KDE opens it and from console when you try to erase it
you can't:

USERNAME@PC~> :~> wodim dev=/dev/sr0 blank=fast
wodim: Operation not permitted. Warning: Cannot raise RLIMIT_MEMLOCK
limits.Error trying to open /dev/sr0 exclusively (Device or resource busy)...
retryingin 1 second.
Error trying to open /dev/sr0 exclusively (Device or resource busy)... retrying
in 1 second.
Error trying to open /dev/sr0 exclusively (Device or resource busy)... retrying
in 1 second.
Error trying to open /dev/sr0 exclusively (Device or resource busy)... retrying
in 1 second.
Error trying to open /dev/sr0 exclusively (Device or resource busy)... giving
up.
WARNING: /dev/sr0 seems to be mounted!
wodim: Device or resource busy.
Cannot open SCSI driver!
For possible targets try 'wodim --devices' or 'wodim -scanbus'.
For possible transport specifiers try 'wodim dev=help'.
For IDE/ATAPI devices configuration, see the file README.ATAPI.setup from
the wodim documentation.

I don't have any solution for it without using umount from root as kdeeject
ejects the media and also do dolphin or konqueror

I' opened the same wish in novell's bugzilla system (https://bugzilla.novell.com/show_bug.cgi?id=362132), they asked me to reopen in kde wishlist
Comment 1 Kevin Ottens 2008-08-15 12:31:13 UTC
SVN commit 847376 by ervin:

Separate teardown and eject actions for optical drives.
Now the places context menu has an "Eject 'foo'" and a "Release 'foo'"
for optical discs.

BUG: 167298


 M  +41 -11    kfile/kfileplacesmodel.cpp  
 M  +2 -0      kfile/kfileplacesmodel.h  
 M  +12 -0     kfile/kfileplacesview.cpp  
 M  +2 -1      solid/solid/backends/hal/halstorageaccess.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=847376