06-14-2002
On HPUX, you can mount a cdrom in this manner.
mount -F cdfs /dev/dsk/c0t0d4 /cdrom
Some may require you to mount as read only ( ro ).
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I try to share a directory from a wortstation to a server.
the share command was no problem.
Solaris 8
on mars
share -F nfs -o rw /dir/dir2
on the server
mount mars:/dir/dir2 /mount_point
RPC: Program not registered <--- What is the meaning of this ?
Thanks for you help ! (2 Replies)
Discussion started by: joerg
2 Replies
2. Linux
:) Hi frds ..i hope i can get some help for this.. I am unable to mount ntfs/hpfs file system which contain my XP o/s. As per the information collected on net i found tht my kernel i.e 2.4.xx does not support ntfs ..?
Now I dont knwo where to get upgraded kernel and how to deploy it ..can anyone... (0 Replies)
Discussion started by: nicknihal
0 Replies
3. Solaris
Hello all,
We're using JET to build our systems.. I'm in the process of needing to build a centrally located JET box with access to all our networks rather that 2 or 3 dotted around. Part of the means I need to locate the boot & OS images on an NFS mount (via NETAPP filer)..
However in the... (1 Reply)
Discussion started by: itsupplies
1 Replies
4. Shell Programming and Scripting
Hi, Gurus:
I need your help to finish a script that will mount two file systems automatically when saver is reboot or start.
I am working on a new Sun Sparc machine with Solaris 9 on it. This box got two disk. disk one has been partitioned to hold Solaris OS. disk two has been partitioned as... (6 Replies)
Discussion started by: duke0001
6 Replies
5. Linux
Hi,
I have a software in one of the pcs connected in the network and I need to mount that file system in my PC. Both the pcs have Linux installed. Please let me know how can we achieve this.
Any pointers would be of great help.
Thanks & Regards,
Venkatesh. (3 Replies)
Discussion started by: venkatesh_sasi
3 Replies
6. Solaris
Hi All,
I have mount /usr directory as a seperate filesystem.The /usr directory includedd in / root file system.I have to mount it as seperate.
Please Help me,
Thanks and Regards, (7 Replies)
Discussion started by: lbreddy
7 Replies
7. Solaris
Hey all,
I have a machine with 16 drive slots. Two of the drives have a ZFS mirror of the operating system, the other 14 contain the storage raidz.
So, after installing Opensolaris on the OS drives, how can I remount the storage raid?
TIA (11 Replies)
Discussion started by: PatrickBaer
11 Replies
8. AIX
Dear all,
We are facing prolem when we are going to mount AIX filesystem, the system returned the following error
0506-307The AFopen call failed
: A file or directory in the path name does not exist.
But when we ls filesystems in the /etc/ directory it show
-rw-r--r-- 0 root ... (2 Replies)
Discussion started by: m_raheelahmed
2 Replies
9. UNIX for Dummies Questions & Answers
I have 2 Linux servers.
rcwlo-ods10g and rcwlo-10gdev
I can mount one filesystem from rcwlo-ods10g onto rcwlo-10gdev fine:
RCWLO-10gDev:/ # mount -F rcwlo-ods10g:/SAN /backup
but when I try another one I get:
RCWLO-10gDev:/ # mount -F rcwlo-ods10g:/backup /backup
mount:... (0 Replies)
Discussion started by: jamie_collins
0 Replies
10. Solaris
I have oi_151a7 and installed from sfe fuse-ext, libfuse and e2fsprogs. Mount e.g.
# mount -F ext2fs /dev/dsk/c4t0d0p1 /mnt
returns
"mount: Operation not applicable to FSType ext2fs"
and
$ fuse-ext2 /dev/dsk/c4t0d0p1 ~/tmp/a/
does not output anything but the filesystem seems not to be... (3 Replies)
Discussion started by: bsdx
3 Replies
cd_defs(3) Library Functions Manual cd_defs(3)
NAME
cd_defs - Sets or gets default values for the User or Group ID, or for file or directory permissions
LIBRARY
Rock Ridge and X/Open Extensions to the CDFS library (libcdrom.so, libcdrom.a)
SYNOPSIS
#include <sys/cdrom.h> int cd_defs ( char *path, int cmd, struct cd_defs *defs );
PARAMETERS
Points to a mount-point of a CD-ROM File System.
Can be set to either {CD_SETDEFS} to set or {CD_GETDEFS} to get the default values for the UID, GID, or file or directory permis-
sions for the mounted CD-ROM pointed to by *path. The variables {CD_SETDEFS} and {CD_GETDEFS} are defined in cdfs/xcdr.h, an
include file that is called into sys/cdrom.h.
Points to the cd_defs structure that holds the default values for the UID, GID, and file or directory permissions for the mounted
CD-ROM pointed to by *path. The cd_defs structure is defined in cdfs/xcdr.h, an include file that is called into sys/cdrom.h.
DESCRIPTION
The cd_defs routine sets or gets the default values for UIDs, GIDs, or file or directory permissions for a mounted CD-ROM.
RESTRICTIONS
Setting default values is restricted to users with the appropriate privileges. This function is intended to be used to set default values
only directly after the CD-ROM is mounted and before its files and directories are accessed. Attempting to use this function to set
default values after files or directories on the CD-ROM have been accessed may produce unpredictable results.
RETURN VALUES
If successful, the value zero is returned.
If unsuccessful, the integer -1 is returned and errno is set to indicate the error.
ERRORS
The function will fail if: Search permission is denied for a directory in *path or read permission is denied on the mount-point. The
address of *defs or *path is invalid. A signal was caught during execution of the function. The argument *path does not point to a mount-
point of a CDROM File System.
The value of cmd or values of members of the cd_defs structure are invalid. {OPEN_MAX} file descriptors are currently open in the calling
process.
[Tru64 UNIX] Either the OPEN_MAX value or the per-process soft descriptor limit is checked. The length of the *path string exceeds
{PATH_MAX}, or a pathname component is longer than {NAME_MAX} while {_POSIX_NO_TRUNC} is in effect. The system file table is full.
A component of *path does not exist, or the *path argument points to an empty string. A component of the *path prefix is not a
directory. The user does not have the appropriate privileges to set values.
RELATED INFORMATION
Files: cdfs/xcdr.h, sys/cdrom.h.
delim off
cd_defs(3)