(Answer) (Category) SCO UnixWare 7/OpenUNIX 8/OpenServer 6 FAQ : (Category) Media/Device Information, Filesystems, and Disks :
What might a guru type when mounting a disc?
One can use the '-o < option_args >' argument to the mount command to do useful things like disallowing SUID, setting r-xr--r--, and converting caps to lower-case, as in:
      mount -r -F cdfs -o nosuid,dperm=544,nameconv=l /dev/cdrom/cdrom1 /mnt
One could make a shell alias or function that command in their .profile so as to make it easily available to ksh, or bash, as in:
      alias mcd1=" ... "
where the '...' should be replace by the whole command seven lines above.
or

  mcd1() { mount -r -F cdfs /dev/cdrom/cdrom1 /mnt && echo "Cd mounted.\n" ;}

From the mount(1M) page,

     'The CDROM media may or may not have values set for items such as 
      the User ID (UID), Group ID (GID), permissions, etc. If a value 
      is not recorded on the CDROM, a default value is assigned by the 
      software. The default value is either taken from the 
      /etc/conf/pack.d/cdfs/space.c file, or from the value specified 
      with the -o option of the mount command.'
'mkisofs,' part of the cdrecord tools on Skunkware or OLSS CD, properly writes the permissions when creating the ISO image.

<mschalit@pacbell.net>
gerberb@zenez.com

[Append to This Answer]
Previous: (Answer) How do I access the disc in my cd-rom drive?
Next: (Answer) Can I burn a cdr in UnixWare 7/OpenServer 6?
This document is: http://www.zenez.com/cgi-bin/ou8faq/faq?file=73
[Search] [Appearance]
This is a Faq-O-Matic 2.721.