Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#13 Mount point for writing device could not be obtained.

closed-fixed
bidd
None
5
2005-03-16
2005-02-07
blaksaga
No

I've been getting this error when trying to burn a cd.
Of course I can hit "OK" and it will burn anyway but
it is rather annoying. The cdrom device is in my fstab
(see below). I am using scsi-emulation.

----

## Error message ##

** Message: MessageDialog message [The mount point
(e.g. /mnt/cdrom) for the writing device could not be
obtained. Please check that the writing device has an
entry in /etc/fstab and then go to preferences and
rescan for devices.]

----

## Part of the debug output ##

** Message: node [/dev/cdroms/cdrom1] mount [/mnt/cdrom]
** Message: node [/dev/cdroms/cdrom0] mount [/mnt/dvdrom]

----

## Entry in my fstab ##

/dev/cdroms/cdrom1 /mnt/cdrom iso9660
noauto,ro,user 0 0

Discussion

  • bidd
    bidd
    2005-02-07

    Logged In: YES
    user_id=1161543

    If you look in the preferences dialog at the devices tab, is
    the mount point for your device filled in? If not you can
    left click in the column and enter the mount point manually.

     
  • bidd
    bidd
    2005-02-07

    Logged In: YES
    user_id=1161543

    If you look in the preferences dialog at the devices tab, is
    the mount point for your device filled in? If not you can
    left click in the column and enter the mount point manually.

     
  • blaksaga
    blaksaga
    2005-02-08

    Logged In: YES
    user_id=1094667

    Ah crap, my bad. I didn't know even know that I could edit
    the mount point in preferences.

    But don't you think the program should scan fstab and try to
    come up with the mount point automatically?

     
  • bidd
    bidd
    2005-02-08

    Logged In: YES
    user_id=1161543

    It does, although not properly it would seem.

    Can you run the app from a console

    gnomebaker --trace-on > luke.txt

    and make sure that you perform a scan so I can see the output.

     
  • blaksaga
    blaksaga
    2005-02-08

    Logged In: YES
    user_id=1094667

    http://misc.blaksaga.com/luke.txt

    The mount point in preferences does get cleared after I scan
    and I have to edit it manually again.

     
  • soeffing
    soeffing
    2005-02-12

    Logged In: YES
    user_id=1207044

    Uh, I didn't see that bug here. Perhaps the patch I posted
    as #1121181 can help.

     
  • soeffing
    soeffing
    2005-02-13

    Logged In: YES
    user_id=1207044

    Oh well, I just realized that the patch might fail if
    /dev/cdroms/cdrom1 is a symlink like "../hdc" since we will
    end up with a linktarget "/dev/cdroms/../hdc". There is the
    glibc function canonicalize_file_name() which would do the
    job, but I couldn't find a glib counterpart.

    Since I have absolutely no experience in programming with
    linux, especially with the use of these libraries, I don't
    know what to do now...

     
  • bidd
    bidd
    2005-02-23

    • assigned_to: nobody --> bidd
    • status: open --> open-accepted
     
  • bidd
    bidd
    2005-02-23

    Logged In: YES
    user_id=1161543

    I'll apply the patch and see how we go.

     
  • bidd
    bidd
    2005-02-23

    Logged In: YES
    user_id=1161543

    I've modified the code to make a better attempt at resolving
    the links in fstab.

     
  • bidd
    bidd
    2005-02-23

    • status: open-accepted --> pending-fixed
     
  • bidd
    bidd
    2005-02-24

    • status: pending-fixed --> open-fixed
     
  • bidd
    bidd
    2005-03-16

    • status: open-fixed --> closed-fixed
     
  • bidd
    bidd
    2005-03-16

    Logged In: YES
    user_id=1161543

    This is fixed in cvs, we now use readlink to resolve the device.