dziwny cdrom

Jakub Bogusz qboosh at pld-linux.org
Thu Apr 22 20:19:04 CEST 2004


On Thu, Apr 22, 2004 at 08:05:57PM +0200, Andrzej Krzysztofowicz wrote:
> =?ISO-8859-2?Q?Pawe=B3_Go=B3aszewski?= wrote:
> > On Thu, 22 Apr 2004, Rafal Janiczek wrote:
> > > 
> > > [root at platinum root]# mount /dev/hdd
> > > mount: wrong fs type, bad option, bad superblock on /dev/hdd,
> > >        or too many mounted file systems
> > > [root at platinum root]# mount /media/cdrom/
> > > mount: wrong fs type, bad option, bad superblock on /dev/hdd,
> > >        or too many mounted file systems
> > > [root at platinum root]# mount /dev/hdd /media/cdrom/
> > > mount: block device /dev/hdd is write-protected, mounting read-only
> > > [root at platinum root]# grep media /etc/fstab
> > > /dev/hdd        /media/cdrom    iso9660
> > > defaults,ro,users,noauto,showexec 0 0
> > > 
> > > Kernel 2.6.5-1. Dlaczemu tak?
> > 
> > W logach nie ma czegoś o "nieznanych opcjach" ? Nie ma nic?
> 
> Stawiam, ze nie podoba my sie opcja "users", bo ... takiej nie ma.

Jest. Wg manuala z 2.12 (w źródłach też jest).

  user   Allow  an  ordinary  user  to mount the file system.  The
         name of the mounting user is written to mtab so  that  he
         can  unmount  the file system again.  This option implies
         the options noexec, nosuid, and nodev (unless  overridden
         by   subsequent   options,   as   in   the   option  line
         user,exec,dev,suid).

  users  Allow every user to mount and unmount  the  file  system.
         This option implies the options noexec, nosuid, and nodev
         (unless overridden  by  subsequent  options,  as  in  the
         option line users,exec,dev,suid).


Może jest jakiś błąd związany z którąś z użytych opcji, niekoniecznie
tą.
Co pokazuje strace (może być z -e trace=mount)?


-- 
Jakub Bogusz    http://cyber.cs.net.pl/~qboosh/



More information about the pld-devel-pl mailing list