From mboxrd@z Thu Jan 1 00:00:00 1970
Message-ID: <96079044115728.tru64-unix-managers.marc@archive.invalid>
From: Peter Mittermayer
Date: Tue, 15 Jun 1999 12:58:32 +0000
To: tru64-unix-managers
Subject: mounting CD under DU 4.0D
X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96079044115728
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