On 11/25/06, fredex <fredex@xxxxxxxxxxxxxxxxxxxxxx> wrote:
> >> I have added the line > >> > >> /dev/hdf /mnt/dvd auto > >> umask=0,user,iocharset=iso8859-1,codepage=850,noauto,ro,exec,users 0 0 > >> > >> to /etc/fstab, in order to make it possible for a user manually > >> mounting CDs/DVDs. However, I am not being successful: > >> > >> $ mount /dev/dvd > >> mount: wrong fs type, bad option, bad superblock on /dev/hdf, > >> missing codepage or other error > >> In some cases useful info is found in syslog - try > >> dmesg | tail or so > >> > >> $ > >> > >> Any ideas? > > > >Try replacing the "auto" with "udf,iso9660" and see how that goes. > >That's what I use, and DVD/CD's mount without a problem. And I don't > >think that "iocharset" and "codepage" is really needed.. > > Thanks, Wolf. Now, with > > /dev/hdf /mnt/dvd udf,iso9660 > umask=0,user,iocharset=iso8859-1,codepage=850,noauto,ro,exec,users 0 0 From the mount man page: If any user should be able to unmount, then use users instead of user in the fstab line. but I see you're using both. You might try losing one or the other of them. > > in /etc/fstab, I again get > > $ mount /dev/dvd > mount: wrong fs type, bad option, bad superblock on /dev/hdf, > missing codepage or other error > In some cases useful info is found in syslog - try > dmesg | tail or so > > $ mount -t iso9660 /dev/dvd > mount: only root can do that > $ mount -t udf /dev/dvd > mount: only root can do that > $ > > Any further ideas?
Thanks, but with the line /dev/hdf /mnt/dvd udf,iso9660 defaults,noauto,user,ro 0 0 in /etc/fstab, everything seems to work fine. Paul