udev rules for mounting CDROM


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting udev rules for mounting CDROM
# 1  
Old 05-21-2012
udev rules for mounting CDROM

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
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Question about udev Rules File?

Hello All, I found this site here: AndDiSa Android Blog: Nexus 7 MTP automount on OpenSuse 11.4 That sites explains how to mount an Android device that can only connect to a computer using MTP or PTP instead of what it used to get treated as, which was a Mass Storage Device. In my Rules... (0 Replies)
Discussion started by: mrm5102
0 Replies

2. Ubuntu

FAQ adding rules in udev for my usb 8G to autorun rsync

Hi, I would like to ask if someone knows and show/point me or simple help me how udev rules work in lucyd, upon my quest and search all the tuts i used is based on old udev since something i read the udev change in lucyd version.. I want to accomplised when i plug my usb 8Gb device and automount... (0 Replies)
Discussion started by: jao_madn
0 Replies

3. UNIX for Advanced & Expert Users

Problems with udev & mounting fat32 usb storage

I have been trying to get USB storage devices to auto-mount themselves under "/media/usb/<dev>" but have been running into some problems with udev (on FC7, btw... running udevd v.106) Every time I put in a FAT (not 32) USB stick, udev identifies it as "USB storage", identifies the partition and... (3 Replies)
Discussion started by: jjinno
3 Replies

4. Solaris

I/O error when mounting cdrom in Solaris 10

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

5. Solaris

cdrom mounting

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

6. Linux

udev core 5

installed fedora core 5 on a pc with USB and some usual things. in boot up it is stopped at "Starting udev:". Its harddisk light is busy. is it reconfiguring the kernel?. what do to solve this problem?. (0 Replies)
Discussion started by: GJ2
0 Replies

7. UNIX for Dummies Questions & Answers

Mounting cdrom on DG/UX

Hi, I'm looking to mount a cd on an old AViiON system we have. No one here really has any expertise with this platform so any help will be appreciated. I * think* the device is sd(apsc(pci(1),B,0,7),5,0), however I'm not sure at all. Thanks! (0 Replies)
Discussion started by: madesjardins
0 Replies

8. UNIX for Dummies Questions & Answers

mounting cdrom

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

9. UNIX for Dummies Questions & Answers

stop cdrom from auto-mounting

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

10. Solaris

mounting cdrom on Solaris 9

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
Login or Register to Ask a Question
VGREMOVE(8)						      System Manager's Manual						       VGREMOVE(8)

NAME
vgremove - remove a volume group SYNOPSIS
vgremove [-d|--debug] [-f|--force] [-h|-?|--help] [--noudevsync] [-t|--test] [-v|--verbose] VolumeGroupName [VolumeGroupName...] DESCRIPTION
vgremove allows you to remove one or more volume groups. If one or more physical volumes in the volume group are lost, consider vgreduce --removemissing to make the volume group metadata consistent again. If there are logical volumes that exist in the volume group, a prompt will be given to confirm removal. You can override the prompt with -f. OPTIONS
See lvm for common options. -f, --force Force the removal of any logical volumes on the volume group without confirmation. --noudevsync Disable udev synchronisation. The process will not wait for notification from udev. It will continue irrespective of any possible udev processing in the background. You should only use this if udev is not running or has rules that ignore the devices LVM2 cre- ates. SEE ALSO
lvm(8), lvremove(8), vgcreate(8), vgreduce(8) Sistina Software UK LVM TOOLS 2.02.95(2) (2012-03-06) VGREMOVE(8)