Bug 231800

Summary: erasing dvd-rw with data on it fails due to the disc being mounted
Product: [Fedora] Fedora Reporter: David Nielsen <gnomeuser>
Component: nautilus-cd-burnerAssignee: Alexander Larsson <alexl>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: sangu.fedora, vfiend
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-10-21 01:51:18 EDT Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Bug Depends On:    
Bug Blocks: 150225, 235704    

Description David Nielsen 2007-03-11 23:22:47 EDT
Description of problem:
When burning a dvd image of say Fedora 7 test 2 on an existing dvdrw you face a
problem where nautilus-cd-burner doesn't umount the disc before attempting to
erase it - despite getting feedback from the user that he does desire to use
that disc. This causes the entire burn process to fail pending an manual
unmount, though unmounting via nautilus will eject the disc so when you reinsert
it.. the same thing happens again. The only way to get around this is to open a
terminal and umount it manually.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. insert dvdrw
2. click .iso file and select "Write to disc"
3. When asked click the erase disc option
Actual results:
Failure to erase then burn disc

Expected results:
n-c-b should silently unmount the disc when the user specifically tells it to
erase the disc, then proceed.

Additional info:
Comment 1 Will Woods 2007-05-09 00:36:16 EDT
There have been a lot of updates on this stuff since Test2 - is this still
Comment 2 David Nielsen 2007-05-09 17:20:29 EDT
I still have to manually umount cd/dvdrw medias before n-c-b will erase them.
Comment 3 sangu 2007-05-19 03:07:36 EDT
nautilus-cd-burner can't blank cdrw in rawhide  20070518.

$cat ~/.xsession-errors
** (nautilus-cd-burner:6104): WARNING **: Couldn't unmount volume in drive:

$umount /dev/scd0 or $gnome-mount -u -d /dev/scd0 works well.

$ uname -a
Linux localhost.localdomain 2.6.21-1.3163.fc7 #1 SMP Tue May 15 17:23:21 EDT
2007 i686 athlon i386 GNU/Linux

Comment 4 vfiend 2007-06-09 05:38:09 EDT
I also have this problem with F7 final
Comment 5 vfiend 2007-06-09 05:56:35 EDT
n-c-b should be calling gnome-mount to unmount the drive first or something..
Comment 6 Mykola Lyakhovych 2007-06-16 05:09:51 EDT
I have problem writing disks with gnomebaker. Is it the same problem?
** (gnomebaker:3279): WARNING **: devices_is_disk_inserted - ioctl failed

** (gnomebaker:3279): WARNING **: devices_eject_disk - Error opening device

** (gnomebaker:3279): WARNING **: devices_eject_disk - Error opening device

In /etc/mtab there is an entry with cyrrillic letters (I use Ukrainian):
/dev/scd0 /media/Мой\040диск iso9660 rw,nosuid,nodev,uhelper=hal,uid=500 0 0

I use Fedora 7 with last updates.
Nautilus-cd-burner burns OK.
Comment 7 Mykola Lyakhovych 2007-06-16 05:18:30 EDT
Sorry, I meen n-c-b burnes OK if unmounted manually.
Comment 8 vfiend 2007-06-28 21:57:45 EDT
This seems to be working in F7 updated to GNOME 2.18.2 now
Comment 9 David Nielsen 2007-06-29 05:16:51 EDT
Still occures on Development
Comment 10 David Nielsen 2007-10-21 01:51:18 EDT
Okay, the situation has improved vastly, I'm no longer seeing this.