-   Linux - General (
-   -   Uh-oh. Erased /dev/dvd file (

Chromezero 07-27-2005 11:07 AM


Would I use the device characteristics for hdc ?
If I understand it correctly, it would be Major 4, Minor 64 for hdd.
Then, as mentioned before, it's common to create a sym link to /dev/hdd and call it /dev/cdrom or /dev/dvdrom or whatever you want to call it. The advantage to using a sym link is this...When I mount my cdrom, I just mount /dev/cdrom which would be the same as mount /dev/hdc. Instead of trying to remember whether my cdrom is on hdc or hdd, I just use the symlink.

newmoon 07-27-2005 11:16 AM


It worked. You guys sure know your stuff.

Now, just to finish up, what owner, group and permissions
should I have on /dev/dvd ?

thanks again.


Matir 07-27-2005 11:31 AM

If /dev/dvd is a symlink to /dev/hdX, then don't worry about permissions and ownership. They are not checked on links.

Chromezero 07-27-2005 12:12 PM

For cdrom and dvdrom, I use owner=root, group=cdrom and make sure my users are part of the cdrom group. Then for permissions on /dev/hdx , I do chmod 755. Permissions will vary, based on your local needs.

All times are GMT -5. The time now is 09:55 AM.