Skip to content

Instantly share code, notes, and snippets.

@ingydotnet
Created December 5, 2011 21:43
Show Gist options
  • Save ingydotnet/1435512 to your computer and use it in GitHub Desktop.
Save ingydotnet/1435512 to your computer and use it in GitHub Desktop.
stackato@stackato:~$ cat stackato/vcap/GITDESCRIBE
v0.5.2-60-g788ef12
stackato@stackato:~$ ls -l /etc/udev/rules.d/70-persistent-cd.rules
-rw-r--r-- 1 root root 530 2011-12-04 18:41 /etc/udev/rules.d/70-persistent-cd.rules
stackato@stackato:~$ cat /etc/udev/rules.d/70-persistent-cd.rules
# This file was automatically generated by the /lib/udev/write_cd_rules
# program, run by the cd-aliases-generator.rules rules file.
#
# You can modify it, as long as you keep each rule on a single
# line, and set the $GENERATED variable.
# CD-ROM (pci-0000:00:01.1-scsi-1:0:0:0)
SUBSYSTEM=="block", ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:01.1-scsi-1:0:0:0", SYMLINK+="cdrom", ENV{GENERATED}="1"
SUBSYSTEM=="block", ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:01.1-scsi-1:0:0:0", SYMLINK+="dvd", ENV{GENERATED}="1"
stackato@stackato:~$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment