Find the answer to your Linux question:
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.
  1. #1
    Linux 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.

  2. #2
    Linux Engineer
    Join Date
    Jan 2003
    Location
    Lebanon, pa
    Posts
    994
    You break your symlinks in /dev?

  3. #3
    Linux 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.

  4. $spacer_open
    $spacer_close

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •