Results 1 to 3 of 3
Can someone help me out and list(ls -l) the following files? I'm assuming you are using redhat
1. /mnt/cdrom
2. /dev/hdc
3. /dev/cdrom
Thank you....
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 02-12-2003 #1Linux Engineer
- Join Date
- Nov 2002
- Location
- Queens, NY
- Posts
- 1,319
device files
Can someone help me out and list(ls -l) the following files? I'm assuming you are using redhat
1. /mnt/cdrom
2. /dev/hdc
3. /dev/cdrom
Thank you.The best things in life are free.
- 02-12-2003 #2Linux Engineer
- Join Date
- Jan 2003
- Location
- Lebanon, pa
- Posts
- 994
You break your symlinks in /dev?
- 02-12-2003 #3Linux Guru
- Join Date
- Oct 2001
- Location
- Täby, Sweden
- Posts
- 7,578
It doesn't matter what /mnt/cdrom is (as long as it's a directory), since it's just used for mounting on. /dev/cdrom should naturally be a symlink to whatever is your cdrom (which I'm guessing is hdc is your case). /dev/hdc should be a block device 22, 0 with appropriate perms. On my RedHat systems I simply use pam_console.so, which changes the owner to whoever is logged in at the physical console, at which time it has mode 600. When noone's logged in (at the physcial console), it's owned by root:disk and has mode 660.


Reply With Quote
