mounting CD under DU 4.0D

From: Peter Mittermayer <p.mittermayer_at_astro.univie.ac.at>
Date: Tue, 15 Jun 1999 14:58:32 +0200

Hi,

To make it possible for 'normal' users to mount CDs I wrote the
following short program:

PROGRAM cdmount

IMPLICIT NONE
INTEGER :: system

IF (system('/sbin/mount -o ro,nodev,rrip -t cdfs /dev/rz4c /cdrom') /=
0) THEN
  IF (system('/sbin/mount -o ro,nodev,rrip -t cdfs /dev/rz4c /cdrom') /=
0) THEN
    WRITE(*,*) 'Execution failed!'
    STOP
  END IF
END IF

END PROGRAM cdmount

The 'Set-user-ID' bit is set for this executable. This works well on DU
4.0B but no longer on 4.0D.

On 4.0D I only get the following error message:

mount: Can't load cdfs module

Any ideas why it doesn't work?

Are there any alternatives to bypass this problem (but no automount)?

Peter
Received on Tue Jun 15 1999 - 13:00:51 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:39 NZDT