10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi All,
I need a simple udev rules in my server Centos 5.4. This rules needs to get trigger my script whenever the cdrom is attached to the server.
Could you please provide your suggestion on it.
Thanks,
Kalai (0 Replies)
Discussion started by: kalpeer
0 Replies
2. Solaris
hi unix friends,
has anyone faced this problem before ? i inserted my cd into my X1450 machine, it says I/O error.
mount -F hsfs -o ro /dev/dsk/clt0d0s0 /cdrom
mount: I/O error
mount: cannot mount /dev/dsk/c1t0d0s0
what should i do ? (4 Replies)
Discussion started by: Exposure
4 Replies
3. AIX
Now i have a prolem!
I double click on my zip file from cdrom.
System can not read my zip file and i can not eject my cdrom.
How can i manage process and can i end a process
or how can i eject my cdrom?
please have me! thanks (4 Replies)
Discussion started by: leenguyen0101
4 Replies
4. Solaris
Hi,
I want to know HOw can I know on which slice cdrom is mounted?by default on which slice generally it is mounting? (1 Reply)
Discussion started by: manoj.solaris
1 Replies
5. UNIX for Dummies Questions & Answers
Hey everyone,
Quick question...I am trying to get packages off a cdrom for NETBSD. I tried mounting using this command mount /dev/rccd0a /etc/home/cdrom. But I just get an error.
I did a dmesg |grep ^cd and it said that my cdrom was at cd0.?
Am I doing something wrong.? Any help would... (2 Replies)
Discussion started by: vaff4k
2 Replies
6. UNIX for Dummies Questions & Answers
Somebody loaded RH 7.3 for me on my PC & now I'm running through & configuring all my settings.
Question: Every time I insert a CD into the cdrom, it automatically mounts the cdrom if there's anything on the CD. How do I disable this? I don't want it to automount.
Thanks in advance!! (2 Replies)
Discussion started by: jalburger
2 Replies
7. Solaris
Here's some cmd output:
bash-2.05# ls /dev/dsk/*
/dev/dsk/c0t0d0s0 /dev/dsk/c0t0d0s4 /dev/dsk/c0t1d0s0 /dev/dsk/c0t1d0s4
/dev/dsk/c0t0d0s1 /dev/dsk/c0t0d0s5 /dev/dsk/c0t1d0s1 /dev/dsk/c0t1d0s5
/dev/dsk/c0t0d0s2 /dev/dsk/c0t0d0s6 /dev/dsk/c0t1d0s2 /dev/dsk/c0t1d0s6
/dev/dsk/c0t0d0s3 ... (4 Replies)
Discussion started by: AJA
4 Replies
8. UNIX for Dummies Questions & Answers
i got rid of my /dev/cdrom link thing to try to get a movie player to read a file as a dvd and now i need it back. the drive is a dvd player and its a slave on the first ide channel. i'm using linux 8. how can i get the device thing(i dont know what exactly you call these) back? thanks (2 Replies)
Discussion started by: jinjoae
2 Replies
9. UNIX for Dummies Questions & Answers
Hi everybody:
I have Solaris 8 installed on my little Enterprise 3500 and, for a cruel fate of the destiny, Im the admin....
Here is the problem: a week ago I took out a CD from the CDROM drive in an abnormal way.
I inserted a clip in the little hole in the front of the drive because the button... (8 Replies)
Discussion started by: piltrafa
8 Replies
10. UNIX for Dummies Questions & Answers
How would I mount a cdrom drive in Unix (4 Replies)
Discussion started by: Hordak
4 Replies
ffm(4) Kernel Interfaces Manual ffm(4)
NAME
ffm - File-on-File Mounting File System
STANDARDS
Interfaces documented on this reference page conform to industry standards as follows:
fattach(): XSH4.2
fdetach(): XSH4.2
Refer to standards(5) for more information about industry standards and their associated tags.
DESCRIPTION
The File-on-File Mounting (FFM) file system allows regular files, character device special files, or block device special files to be
mounted on regular files or directories.
The ffm file system is used with the System V Release 4-compatible library functions fattach(3) and detach(3) to enable a user process to
have one file descriptor pointing to the data associated with a named file and a named STREAM. When one name is active, the other name is
invisible.
For example, a user application mounts a file descriptor from a file named a_file on a file that is named b_file. The file descriptor of
file a_file is accessible by two names, a_file and b_file. However, when the user application attempts to open either file, only the file
descriptor for a_file is returned: the file descriptor for b_file is invisible while a_file is mounted over it.
The fattach(3) function mounts a file over another; the fdetach(3) function removes the association so the underlying file can be accessed.
The user process can also mount a regular file over a regular file in order for it to be a clone of the underlying file. [Do not confuse
this clone with an AdvFS clone fileset.] In this case, the clone file is a character device special file that is associated with a device
driver that handles such files. As a result, a user can specify one clone entry and then open this device multiple times. Each time the
device is opened, a new vnode is obtained but exactly the same device behavoir is also obtained: the behavior is cloned.
That mount occurs if the -o clone option is used in the mount command or as an element of a ffm line in the /etc/fstab file. In this case,
there are two files with identical contents, separate names, and separate file descriptors.
EXAMPLES
The following example shows an ffm mount of a_file on b_file. If the du command were executed, its display would show a_file in the file
system column and b_file in the Mounted on column:
# mount -t ffm a_file b_file
The following example shows an ffm mount of a_file on b_file, with the mount -o clone option specifying that a_file is a clone of b_file.
# mount -t ffm -o clone a_file b_file
RESTRICTIONS
The user process must be the root user or must be the owner of the files and must have write permissions for the files.
[Tru64 UNIX] Before you can use the ffm file system, you must configure the kernel option FFM_FS into the kernel. See System Administra-
tion for information about configuring the kernel.
RELATED INFORMATION
Commands: fdetach(8), mount(8)
Functions: fattach(3), fdetach(3), isastream(3), chmod(2), mount(2)
Interfaces: streamio(7)
Files: fstab(4)
Standards: standards(5) delim off
ffm(4)