Results 1 to 5 of 5

Thread: SCSI hard disk device node creation

  1. #1
    Join Date
    Mar 2010
    Posts
    2,470

    SCSI hard disk device node creation

    Hi,
    I need some help here regarding SCSI hard disk node creation in Linux. Here I am trying to run some service on the Linux platform. The hot plug option here is disabled now. In Linus as a part of the code I think there is no need of generation a device file for those devices which are not frequently used. Like if thereis a attached SCSI hard drive then it creating /dev/sda or /dev/sda1, etc on its own. I need help in creating this node for USB SCSI drive.

  2. #2
    Join Date
    Nov 2009
    Posts
    865

    Re: SCSI hard disk device node creation

    I think this might be done automatically but I am not sure about the same. In cause of a USB SCSI drive attached on your system then on the boot up option this might be created automatically. You can use GParted for that. I think the SCSI driver can create then ode file and that makes the driver to run automatically. It will be listed as /dev/sda1.

  3. #3
    Join Date
    Nov 2009
    Posts
    687

    Re: SCSI hard disk device node creation

    The node creation of hard drive in Linux is done by udev. This udev service works with HAL and Dbus. For I will recommend you to search more about udev functioning and setup information. Udev gives you a dynamic /dev directory and also on the same hand it hoots the userspace to the kernel device events. You can refer the man pages of udev and other documentation included in it.

  4. #4
    Join Date
    Nov 2009
    Posts
    824

    Re: SCSI hard disk device node creation

    You must know one thing that the node /dev/sda and the other one /dev/sdb are the partitions of hard disk. The nodes which represent a number at the end replicates each partition on the hard drive. Like if you have 2 partition then /dev/sda1 and /dev/sda 2 is the two partitions which are present on your hard disk it is not related to the different hard drive.

  5. #5
    Join Date
    Apr 2009
    Posts
    1,107

    Re: SCSI hard disk device node creation

    In Linux platform the Nodes are created by mknod. It is a command line program which is used to create nodes which has a similar name. This nodes can then be moved or deleted by any file system. You can rename them also. After passing option -R or while copying a node of a device th cp command here generates a new device node with similar attribute.

Similar Threads

  1. Replies: 4
    Last Post: 07-08-2010, 05:29 PM
  2. Replies: 4
    Last Post: 01-03-2009, 11:46 PM
  3. TSST corp DVD +RW ts H653B SCSI CDROM Device
    By gajrap in forum Vista Setup and Install
    Replies: 1
    Last Post: 26-10-2008, 03:19 AM
  4. device hard disk has a bad block
    By Daiwikr in forum Windows XP Support
    Replies: 2
    Last Post: 14-03-2007, 10:35 AM
  5. The device, \Device\Scsi\adpu160m1, did not respond within the tim
    By =?Utf-8?B?Ym9i?= in forum Windows Server Help
    Replies: 1
    Last Post: 24-01-2005, 07:22 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,557,219.24354 seconds with 16 queries