Cdrom mounting - default parametres

Bug #114377 reported by Andrei Kopats
This bug report is a duplicate of:  Bug #22623: CD-ROMs are not mounted with UTF-8. Edit Remove
2
Affects Status Importance Assigned to Milestone
partman-target (Ubuntu)
Confirmed
Low
Unassigned

Bug Description

Since version 5.04 Ubuntu uses utf8 as default encoding, how about when it's instaling, it's will set iocharset for the cdrom to the uft8 ?
/dev/hdc /media/cdrom0 udf,iso9660 user,noauto,iocharset=utf8 0 0
Now by default files in the cdrom with non-ascii file names displayed as "??? ??? ?.???" Bug

Revision history for this message
Brian Murray (brian-murray) wrote :

Thanks for taking the time to report this bug and helping to make Ubuntu better. Is this bug about the Live CD or an installed system? Neither of my installed Feisty systems have "iocharset=utf8" in '/etc/fstab' for a CD-ROM device. Thanks in advance.

Revision history for this message
Andrei Kopats (hlamer) wrote : Re: [Bug 114377] Re: Cdrom mounting - default parametres

On Wednesday 30 May 2007 23:21:08 Brian Murray wrote:
> Thanks for taking the time to report this bug and helping to make Ubuntu
> better. Is this bug about the Live CD or an installed system? Neither
> of my installed Feisty systems have "iocharset=utf8" in '/etc/fstab' for
> a CD-ROM device. Thanks in advance.
It's a kubuntu 7.04 system installed from the cd to the hard drive.
Possible sometimes "iocharset=utf8" is in the fstab, and isn't on my computer,
because I have 2 cdrom drives.
peace of the default fstab:
/dev/hdc /media/cdrom0 udf,iso9660 user,noauto 0 0
/dev/hdd /media/cdrom1 udf,iso9660 user,noauto 0 0

And this problem was tested by else one man from the russian ubuntu comunity.
Sanks for your work, grate OS
>
> ** Changed in: Ubuntu
> Assignee: (unassigned) => Brian Murray
> Status: Unconfirmed => Needs Info

Andrei

Revision history for this message
Brian Murray (brian-murray) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. You reported this bug a while ago and there hasn't been any activity in it recently. We were wondering is this still an issue for you? Thanks in advance.

Revision history for this message
Andrei Kopats (hlamer) wrote :

Yes, problem just exist. I tested today on kubuntu 7.10 (up to date ) ...

a@st504a:~$ cat /etc/fstab
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# /dev/hda2
UUID=30a8119e-98bb-4996-9c1c-b5327df3b9cd / reiserfs notail 0 1
# /dev/hda7
UUID=2CD81250D81218A2 /disk ntfs defaults,umask=007,gid=46 0 1
# /dev/hda6
UUID=ec7beabb-7bc5-8254-8452-487864f1312b /home reiserfs defaults 0 2
# /dev/hda1
UUID=D8FCB2F9FCB2D14C /media/hda1 ntfs defaults,umask=007,gid=46 0 1
# /dev/hdb1
UUID=EAE83CAEE83C7B41 /media/hdb1 ntfs defaults,umask=007,gid=46 0 1
# /dev/hdb5
UUID=E79A-BF54 /media/hdb5 vfat defaults,umask=007,gid=46 0 1
# /dev/hda5
UUID=ffffc01f-2145-4c42-ae69-d10e0603680b none swap sw 0 0
/dev/hdc /media/cdrom0 udf,iso9660 user,noauto,exec 0 0
/dev/hdd /media/cdrom1 udf,iso9660 user,noauto,exec 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto,exec 0 0
a@st504a:~$ sudo mount /dev/hdc
mount: block device /dev/hdc is write-protected, mounting read-only
a@st504a:~$ ls /media/cdrom0/
??_ ??? ? ?????.avi #!!! COMMENT Invalid nonunicode names !!! #
a@st504a:~$ sudo vim /etc/fstab
a@st504a:~$ cat /etc/fstab
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# /dev/hda2
UUID=30a8119e-98bb-4996-9c1c-b5327df3b9cd / reiserfs notail 0 1
# /dev/hda7
UUID=2CD81250D81218A2 /disk ntfs defaults,umask=007,gid=46 0 1
# /dev/hda6
UUID=ec7beabb-7bc5-8254-8452-487864f1312b /home reiserfs defaults 0 2
# /dev/hda1
UUID=D8FCB2F9FCB2D14C /media/hda1 ntfs defaults,umask=007,gid=46 0 1
# /dev/hdb1
UUID=EAE83CAEE83C7B41 /media/hdb1 ntfs defaults,umask=007,gid=46 0 1
# /dev/hdb5
UUID=E79A-BF54 /media/hdb5 vfat defaults,umask=007,gid=46 0 1
# /dev/hda5
UUID=ffffc01f-2145-4c42-ae69-d10e0603680b none swap sw 0 0
/dev/hdc /media/cdrom0 udf,iso9660 user,noauto,exec,iocharset=utf8 0 0
/dev/hdd /media/cdrom1 udf,iso9660 user,noauto,exec 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto,exec 0 0
a@st504a:~$ sudo mount /dev/hdc
mount: block device /dev/hdc is write-protected, mounting read-only
a@st504a:~$ ls /media/cdrom0/
Сид и Нэнси.avi 诈ӑ_ #!!! COMMENT Right disc contense !!! #
a@st504a:~$ uname -a
Linux st504a 2.6.22-14-generic #1 SMP Tue Dec 18 08:02:57 UTC 2007 i686 GNU/Linux

By default (after instalation) iocharset=utf8 was not setted on fstab

Revision history for this message
sebek (sebeeek) wrote :

It seems I have the same problem.

I am on Gutsy.
When inserting a CD-rom containing files with utf-8 filenames, ubuntu does not mount the CD-rom as utf8.
Messages show : Apr 10 08:57:28 bourdon kernel: [ 884.044000] UDF-fs: No VRS found
fstab show : /dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec 0 0
Filename are shown as ???? by both terminals and nautilus.

Unmouting it and mounting it again with utf8 option :
root@bourdon:/tmp# umount /media/cdrom0
root@bourdon:/tmp# mount -o utf8 /dev/scd0 /media/cdrom0
solves the problem.

I think this problem is hald related and I don't really know how we can make hald detect the file system charset of the cdrom.

Revision history for this message
sebek (sebeeek) wrote :

It seems to me it is a duplicate bug.
hlamer can you confirm it is a duplicate of #22623 (which looked fixed in hardy) ?

Revision history for this message
Colin Watson (cjwatson) wrote :

Thanks for your report. This is indeed fixed in fresh Ubuntu 8.04 installs, as in bug 22623; we won't touch upgrades, but it's easy to adjust if need be.

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.