LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Uh-oh. Erased /dev/dvd file (https://www.linuxquestions.org/questions/linux-general-1/uh-oh-erased-dev-dvd-file-346781/)

Chromezero 07-27-2005 11:07 AM

Quote:

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

Guys:

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.


newmoon

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.