How do I keep soft link /dev/dvd after reboot?

Le grand pinguin rm at
Thu Nov 11 21:53:32 UTC 2004

On Thu, Nov 11, 2004 at 12:49:46PM -0800, Eric Potter wrote:
> O.K., now I understand that udev creates these device files dynamically.
> I did:
> cd /dev
> ln -s hdc dvd
> so that I can use mplayer without specifying -dvd-device each time.
> udev erases this after each reboot.  How do I have a persistent soft
> link from hdc to dvd?

Well, udev _should_ take care of that ... 
Have a look at '/etc/udev/udev.rules', there should be an entry like:

 # cdrom/cdrw links
 BUS="ide" KERNEL="hdc", SYMLINK="cdrom cdrecorder"

you might want to change this to: 

 # cdrom/cdrw links
 BUS="ide" KERNEL="hdc", SYMLINK="cdrom dvd cdrecorder"

that should do it (the rule basically tells udev to create
symlinks for the three device files whenever the kernel 
reports hdc.

 HTH Ralf Mattes

> -- 
> ubuntu-users mailing list
> ubuntu-users at

More information about the ubuntu-users mailing list