Find the answer to your Linux question:
Results 1 to 5 of 5
made an incorect link to /dev/sr0 where i linked sr0 to the file instead of visa versa tried currecting my mistake and deleted sr0 this is import as this is ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Aug 2013
    Posts
    3

    Exclamation accedentaly removed /dev/sr0 and can not quite figure how to get it bk


    made an incorect link to /dev/sr0 where i linked sr0 to the file instead of visa versa tried currecting my mistake and deleted sr0 this is import as this is where my cdrom connects to does any one have an idea of how to recreate it with the proper permitions

  2. #2
    Administrator MikeTbob's Avatar
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    7,864
    Hello and Welcome.
    Take a look at the mknod command. It should get you going in the right direction.
    I do not respond to private messages asking for Linux help, Please keep it on the forums only.
    All new users please read this.** Forum FAQS. ** Adopt an unanswered post.

    I'd rather be lost at the lake than found at home.

  3. #3
    Just Joined!
    Join Date
    Aug 2013
    Posts
    3

    thanks

    Quote Originally Posted by MikeTbob View Post
    Hello and Welcome.
    Take a look at the mknod command. It should get you going in the right direction.
    thanks i had looked at that and i am sure is a block device but am not quite shore the minor and major numbers

  4. #4
    Just Joined!
    Join Date
    Aug 2013
    Posts
    3
    usb 3-2: new low speed USB device using address 10
    input: USB HID v1.10 Mouse [1241:1111] on usb-0000:00:1d.1-2
    usb 1-3: new high speed USB device using address 6
    scsi2 : SCSI emulation for USB Mass Storage devices
    Vendor: LITE-ON Model: DVDRW SOHW-1633S Rev: BS0C
    Type: CD-ROM ANSI SCSI revision: 02
    sr0: scsi3-mmc drive: 62x/62x writer cd/rw xa/form2 cdda tray
    Attached scsi CD-ROM sr0 at scsi2, channel 0, id 0, lun 0
    Attached scsi generic sg2 at scsi2, channel 0, id 0, lun 0, type 5
    USB Mass Storage device found at 6

    from this information is there any way to find out what the major and minor is?

    /sbin/mknod name b major minor

  5. #5
    Just Joined!
    Join Date
    May 2013
    Posts
    37
    /dev/sr0 has major no. 11, minor no. 0. These are found in a file called devices.txt in the Documentation directory of the kernel source, though for this particular item one benefits from very close reading

Posting Permissions

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