[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: devfs & DVD



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Monday 04 February 2002 2:35 am, Mircea Luca wrote:
> Hi everybody
>
> I just spend the last 2 hours reading the various docs on the net, the
> devfsd manpage
> and /etc/init.d/devfsd but still can't figure out how to create a
> symlink /dev/dvd --> /dev/hdd.
> The symlink shall be persistent between reboots. Any help appreciated .
> I'm running sid with kernel 2.4.16 in case it matters.
>
> Please cc me or respond directly since I unsubscribed about a month
> ago.Right now I can't
> put up with the volume of this list.
>
> Thanks

create a file of any name you like in /etc/devfs/conf.d and then add lines 
like the following (change the device to the correct one of course)

REGISTER        ide/host0/bus1/target1/lun0/cd CFUNCTION GLOBAL symlink 
$devname dvd
UNREGISTER      ide/host0/bus1/target1/lun0/cd CFUNCTION GLOBAL unlink dvd

and then run  update-devfsd

Also add a file in /etc/modutils with a lines like the following

# Link my dvd drive
alias /dev/dvd          ide-cd

and then run update-modules


At least this is my setup - I forget quite why I did everything I did right 
now but it works.




- -- 

  Alan - alan@chandlerfamily.org.uk
http://www.chandlerfamily.org.uk
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8XikY1mf3M5ZDr2kRAuLpAJ9NnawhYbYEVgsOr55amAkyk9US+gCgq4hu
m6CEugro1SrVUst7HrGLQnk=
=H5BZ
-----END PGP SIGNATURE-----



Reply to: