Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* mount to cdrom for user on OSF1 v4.0d : HELP !
@ 1999-03-03  5:00 Nguyen-Dai Quy
  1999-03-03  5:00 ` Kurt Limperis
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Nguyen-Dai Quy @ 1999-03-03  5:00 UTC (permalink / raw)


Hi,
I try :
$ mount -r -t cdfs /dev/rz8c /mnt/cdrom
But it doesn't work :
mount: Can't load cdfs module

With "root" with the same command, it works wothout problem.

Could you give me some help ?

Thanks !

$uname -a
OSF1 .... V4.0 878 alpha
_______________________________________________________
 Nguyen-Dai Quy



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: mount to cdrom for user on OSF1 v4.0d : HELP !
  1999-03-03  5:00 mount to cdrom for user on OSF1 v4.0d : HELP ! Nguyen-Dai Quy
@ 1999-03-03  5:00 ` Kurt Limperis
  1999-03-04  5:00   ` Nikola Milutinovic
  1999-03-04  5:00 ` D. Sean Davidson
  1999-03-04  5:00 ` Mark Taylor
  2 siblings, 1 reply; 5+ messages in thread
From: Kurt Limperis @ 1999-03-03  5:00 UTC (permalink / raw)


Make sure you have:

options    CDFS

in your /sys/conf/<SERVERNAME>

file.   If not, add the line and recompile the kernel.

Nguyen-Dai Quy wrote:

> Hi,
> I try :
> $ mount -r -t cdfs /dev/rz8c /mnt/cdrom
> But it doesn't work :
> mount: Can't load cdfs module
>
> With "root" with the same command, it works wothout problem.
>
> Could you give me some help ?
>
> Thanks !
>
> $uname -a
> OSF1 .... V4.0 878 alpha
> _______________________________________________________
>  Nguyen-Dai Quy






^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: mount to cdrom for user on OSF1 v4.0d : HELP !
  1999-03-03  5:00 ` Kurt Limperis
@ 1999-03-04  5:00   ` Nikola Milutinovic
  0 siblings, 0 replies; 5+ messages in thread
From: Nikola Milutinovic @ 1999-03-04  5:00 UTC (permalink / raw)


Kurt Limperis wrote:
> 
> Make sure you have:
> 
> options    CDFS
> 
> in your /sys/conf/<SERVERNAME>
> 
> file.   If not, add the line and recompile the kernel.
> 
> Nguyen-Dai Quy wrote:
> 
> > Hi,
> > I try :
> > $ mount -r -t cdfs /dev/rz8c /mnt/cdrom
> > But it doesn't work :
> > mount: Can't load cdfs module
> >
> > With "root" with the same command, it works wothout problem.

The reason why it works for root is that CDFS kernel module *can be loaded
dynamically*. The only problem is that only root has priviliges to load/unload
modules.

In your case, "mount" tried to load the CDFS module, but ran out of priviliges.

The best thing is the suggestion above, from Kurt. But I'm not exactly sure what
is DU's view of ordinary user mounting a file system. UFS, for instance, can be
mounted only by root.

Nix.



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: mount to cdrom for user on OSF1 v4.0d : HELP !
  1999-03-03  5:00 mount to cdrom for user on OSF1 v4.0d : HELP ! Nguyen-Dai Quy
  1999-03-03  5:00 ` Kurt Limperis
@ 1999-03-04  5:00 ` D. Sean Davidson
  1999-03-04  5:00 ` Mark Taylor
  2 siblings, 0 replies; 5+ messages in thread
From: D. Sean Davidson @ 1999-03-04  5:00 UTC (permalink / raw)


You are getting this message because root is only allowed to load dynamic
kernel modules.  If you link in CDFS support to the static kernel or just
load it during startup with a 'sysconfig -c cdfs' then it will be available.

You will still have to make your /dev/rz8c device readable (block and
character) and make the /mnt/cdrom directory owned by the non-root user
account.

Sean

Nguyen-Dai Quy wrote:
> 
> Hi,
> I try :
> $ mount -r -t cdfs /dev/rz8c /mnt/cdrom
> But it doesn't work :
> mount: Can't load cdfs module
> 
> With "root" with the same command, it works wothout problem.
> 
> Could you give me some help ?
> 
> Thanks !
> 
> $uname -a
> OSF1 .... V4.0 878 alpha
> _______________________________________________________
>  Nguyen-Dai Quy



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: mount to cdrom for user on OSF1 v4.0d : HELP !
  1999-03-03  5:00 mount to cdrom for user on OSF1 v4.0d : HELP ! Nguyen-Dai Quy
  1999-03-03  5:00 ` Kurt Limperis
  1999-03-04  5:00 ` D. Sean Davidson
@ 1999-03-04  5:00 ` Mark Taylor
  2 siblings, 0 replies; 5+ messages in thread
From: Mark Taylor @ 1999-03-04  5:00 UTC (permalink / raw)


Nguyen-Dai Quy (DaiQuy.nguyen@ulg.ac.be) wrote:
: Hi,
: I try :
: $ mount -r -t cdfs /dev/rz8c /mnt/cdrom
: But it doesn't work :
: mount: Can't load cdfs module

: With "root" with the same command, it works wothout problem.

: Could you give me some help ?

For one reason and another, you need root priveliges to mount a CD.
I wrote a small set-UID program to address this problem a while ago,
which you can find at:

   http://dougal.chm.bris.ac.uk/~mbt/mountcd.c

if you're interested.

---------------------------------------------------------------------------
| Mark Taylor                       Institute of Astronomy, Cambridge, UK |
| mbt@ast.cam.ac.uk    http://www.ast.cam.ac.uk/~mbt/        01223 337535 |
---------------------------------------------------------------------------



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~1999-03-04  5:00 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-03-03  5:00 mount to cdrom for user on OSF1 v4.0d : HELP ! Nguyen-Dai Quy
1999-03-03  5:00 ` Kurt Limperis
1999-03-04  5:00   ` Nikola Milutinovic
1999-03-04  5:00 ` D. Sean Davidson
1999-03-04  5:00 ` Mark Taylor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox