GNOME Bugzilla – Bug 132797
Mounting CDROM's don't work if fstab entry is a symlink
Last modified: 2008-09-06 19:17:40 UTC
My fstab: /dev/hdd /cdrom .... /cdrom is actually a symlink to /cdrom0 so when nautilus mounts the disk it checks mtab, which contains /cdrom0 not /cdrom and assumes that /cdrom isn't mounted.
Created attachment 34072 [details] [review] Ubuntu fix for this bug I just uploaded a new Ubuntu package which fixes this by resolving symlinks in _gnome_vfs_get_unix_mount_table(). However, I used realpath() for this which might not be safe on OSes other than Linux. Does glib provide something similar and more portable?
Patch for gnome-vfs, reassigning.
Don't forget to check situation, when /etc/fstab contains line like /dev/cdrom /media/cdrom iso9660,udf noauto,users,defaults,ro 0 0 and /dev/cdrom is symlink to actual device: ~:/# ls -la /dev/cdrom lrwxrwxrwx 1 root root 3 2006-08-01 16:29 /dev/cdrom -> hdc Latest Ubuntu Dapper doesn't mount CD disk when I press on CD-ROM icon in Computer:// Installing updated gnome-vfs package from dapper-updates doesn't help :( Look at this bugreport for more info: http://launchpad.net/distros/ubuntu/+source/nautilus/+bug/54808
gnome-vfs has been deprecated and superseded by gio/gvfs since GNOME 2.22, hence mass-closing many of the gnome-vfs requests/bug reports. This means that gnome-vfs is NOT actively maintained anymore, however patches are still welcome. If your reported issue is still valid for gio/gvfs, please feel free to file a bug report against glib/gio or gvfs. @Bugzilla mail recipients: query for gnome-vfs-mass-close to get rid of these notification emails all together. General further information: http://en.wikipedia.org/wiki/GVFS Reasons behind this decision are listed at http://www.mail-archive.com/gnome-vfs-list@gnome.org/msg00899.html