On Tue, 2001-10-02 at 14:56, Jamie Wilkinson wrote: > Hi all. > > xine likes to default to /dev/dvd for the location of my DVD-ROM, however, > I'm using devfs, who puts that device into /dev/cdroms/cdrom0. I manually > symlink this to /dev/dvd, but it gets lost on every reboot, obviously. What > can I do to make this symlink stick around? I know about devfsd, but I > can't make sense of the configuration.
There's actually a groovy little example in my devfsd.conf that should do the trick: LOOKUP ^dvd$ CFUNCTION GLOBAL symlink cdroms/cdrom0 $devpath REGISTER ^cdrom/cdrom0$ CFUNCTION GLOBAL symlink cdroms/cdrom0 dvd UNREGISTER ^cdrom/cdrom0$ CFUNCTION GLOBAL unlink dvd -- Peter [EMAIL PROTECTED] -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
