The difference of minor number and instance number

I study how to develop device drivers. I am beginner.
I'm confusing the differece of minor number and instance number
what is the exact difference of them???

Hi,
I guess a good example would be a disk. Each disk you have would be a different instance. To use a disk it is divided into slices, each of which has a different minor number.
Your device driver needs to map the minor number to the correct instance of the device. How you do this is completely up to you, so to start you could map them one to one.
Hope that helps.
Ralph
SUN DTS

Similar Messages

  • What is the difference between SID,HOSTNAME and port number?

    I want to know difference between SID,HOSTNAME and portnumber with purposes. could any one explain me with examples,please?
    Thanks in advance.

    Raghavendra Rao J S V wrote:
    I want to know difference between SID,HOSTNAME and portnumber with purposes. could any one explain me with examples,please?http://bit.ly/PkIJfi
    http://bit.ly/PkIMri
    http://bit.ly/PkINvD
    Thanks,
    Hussein

  • What's the difference between global variables and instance variables?

    hi im just a biginner,
    but what is the difference between these two?
    both i declare them above the constructor right.
    and both can access by any method in the class but my teacher said
    global variables are not permitted in java....
    but i don't know what that means....and i got started to confuse these two types,,
    im confusing.......
    and why my teacher said declaring global variables is not permitted,,,,,,
    why.....

    instance variables are kindof like Global variables. I'm not surprised you are confused.
    The difference is not in how they are declared, but rather in how they are used.
    There are two different "styles" of programming
    - procedural programming.
    - object oriented programming.
    Global variables are a term from Procedural programming.
    In this style of programming, you have only one class, and one "main" procedure. You only create one instance of the class, and then "run" it.
    There is one thread of control, which goes through various methods/procedures to accomplish your task.
    In this style of programming instance variables ARE "global" variables. They are accessible to all methods. There is only one instance of the class, and thus only one instance of the variables.
    Global variables are "bad" BECAUSE you can change them in any method you like. Even from places that shouldn't have to. Also if you use the same name as a global variable and a local variable, you can cause great trouble. This can lead to very subtle bugs, as the procedures interact in ways you don't expect.
    The preferred method in procedural programming is to pass the values as parameters to the methods, and only refer to the parameters, and local variables. This means that you can track exactly what your method is doing, and what it affects. It makes it simpler to understand. If you use global variables in your methods, it becomes harder to understand.
    So when are instance variables not global variables?
    When you are actually using the class as an Object, rather than just a program to run. If you are creating multiple instances of an object, all with different values for their instance variables, then they are not global variables. For instance you declare a Person object with an attribute "firstname". Your "main" program then creates many instances of the Person object, each with their own "firstname"
    I guess at the end of all this, it comes down to definitions.
    Certainly you can write procedural code in java. You can treat your instance variables, for all intents and purposes like global variables.
    I can only think to show a sort of example
    public class Test1
       User[] users;
       public void printUsers(){
         // loop through and print all the users
         // uses a global variable
          for(int i=0; i<users.length; i++){
            users.printUser();
    public void printUsers(User[] users){
    // preferred method - pass it the info it needs to do the job
    for(int i=0; i<users.length; i++){
    users[i].printUser();
    public Test1(){
    User u1 = new User("Tom", 20);
    User u2 = new User("Dick", 42);
    User u3 = new User("Harry", 69);
    users = new User[3];
    users[0] = u1;
    users[1] = u2;
    users[2] = u3;
    printUsers();
    printUsers(users);
    public static void main(String[] args)
    new Test1();
    class User{
    String firstName;
    int age;
    public User(String name, int age){
    this.firstName = name;
    this.age = age;
    public void printUser(){
    // here they are used as instance variables and not global variables
    System.out.println(firstName + " Age: " + age);
    Shit thats a lot of typing, and I'm not even sure I've explained it any good.
    Hope you can make some sense out of this drivel.
    Cheers,
    evnafets

  • What is the difference between partition-count and the number of caches?

    What is the difference between partition-count and the number of caches in Coherence? Are they same?

    Those are totally orthogonal concepts.
    For more, look at this thread where I answered your other related questions and explain this, too:
    Where can I find the accurate definitions of these terms?
    Best regards,
    Robert

  • Message Server Port and Instance Number

    Hi All,
    I need to create Technical System and Business System in SLD for my IDOC-XI-FILE Scenario. There i need to specify the Message Server port under Message Server and Instance Number in Central Application Server. Please let me know where i have to found these. Please help as soon as possible.
    Thanks & Regards,
    Nagarjuna.

    Hi Nagarujna,
    Instance Number : - just check the logon pad.. select your Ecc or R/3 system and click on chane item....  Usally it is 00.
    Message server port : it is 3600 + instance no.
    3600 + 00 = 3600
    Sachin

  • Hostname and Instance Number

    Hello,
    I have installed SAP hana studio and client on my personal computer.
    How can i find the hostname and instance number when adding a system in Hana studio?
    Thank you.

    You must have access to some Hana installation, in a cloud or elsewhere. See the CSN Hana home page http://scn.sap.com/docs/DOC-31722 for some examples. If you already have access to Hana, you should know the IP or hostname of the computer where it is running.
    -- Micha

  • I have had  adobe creative suit 6 design standard for 2 years and all of the sudden it would not open. I do not have the windows disc anymore however i still have the product code, number and serial number. is there anyway to get my photoshop back?

    I have had  adobe creative suit 6 design standard for 2 years and all of the sudden it would not open. I do not have the windows disc anymore however i still have the product code, number and serial number. is there anyway to get my photoshop back?

    uninstall, clean and reinstall per Use the CC Cleaner Tool to solve installation problems | CC, CS3-CS6
    for the installation file(s):
    Downloads available:
    Suites and Programs:  CC 2014 | CC | CS6 | CS5.5 | CS5 | CS4 | CS3
    Acrobat:  XI, X | 9,8 | 9 standard
    Premiere Elements:  12 | 11, 10 | 9, 8, 7
    Photoshop Elements:  12 | 11, 10 | 9,8,7
    Lightroom:  5.5 (win), 5.5 (mac) | 5 | 4 | 3
    Captivate:  8 | 7 | 6 | 5
    Contribute:  CS5 | CS4, CS3
    Download and installation help for Adobe links
    Download and installation help for Prodesigntools links are listed on most linked pages.  They are critical; especially steps 1, 2 and 3.  If you click a link that does not have those steps listed, open a second window using the Lightroom 3 link to see those 'Important Instructions'.

  • How to print a gift return label if only know the return number and order number

    I have a macbook pro, it's a gift, and I want to return it. But at first time, I forgot to print the return label, now I know the order number and return number, when I click "Print return label", it appeared I need to sign in, but I don't have a apple ID

    Call Apple sales and ask them. The number should be on your order receipt or look at the Contact Us link at the bottom right hand corner of this page.

  • Merging of Prodn Order number and operation number into the unloading point

    Hi,
    I am creating the production order using the Tcodes Co01 or co10 and my requirement is that after creating the production number and then when I open that one in the change mode using co02 Tcode the unloading point which is present in the Goods Receipt tab should come as a concatenation of order number and operation number .
    Thanks for the help in advance.
    Regards,
    Venkat.

    Hello Rachit,
    The relation is as follows
    AFKO-AUFPL (Routing number is Order header)
    Use this routing number to get operations from AFVC
    AFVC-VORNR gives operation number
    AFVC-LTXA1 gives operation description
    For sub-operations, VORNR will be sub-operation number, and AFVC-SUMNR for this sub-operation corresponds to the respective superior operation(refers to AFVC-APLZL).
    AFVC-APLZL is a unique number for each operation.
    Hope this helps. You can check with some existing/new orders as well.
    let me know if you need anything about split operations as well.
    Best Regards,
    Subhakanth

  • My husband and I both have iPhones on the same account. When he did his update yesterday, he chose both his number and my number during set up. Now he is getting my messages, too. Can someone please help me fix this?

    My husband and I both have iPhones on the same account. When he did his update yesterday, he chose both his number and my number during set up. Now he is getting my messages, too. Can someone please help me fix this?

    What do you mean he chose his and your number during setup. Chose them for what? Is you number showing up in the Settings>Messages>"You can be reached by imessage at" section? If it is he needs to remove it.
    Cheers,
    GB

  • Merging the Production order number and operation number into sequential no

    Hi,
      I am creating the production order using the Tcodes Co01 or co10 and my requirement is that after creating the production number and then when I open that one in the change mode using  co02 Tcode the sequential number which is present in the assignment tab should come as a concatenation of order number and operation number .
    Thanks for the help in advance.
    Regards,
    Venkat.

    dear,
    this depends on the user buffer set.
    for each user there will be a buffer set in when logeed in and create a production order.
    depending on the saving the production order saving time there may be a situation as you have now.
    discuss with your basis people and under stand the user  buffer of numer for production order.

  • Equipment number and serial number to be carried over to the new item

    Hi Friends,
    I have an issue regarding the " Equipment number and serial number carried over to the new item " .
    AS Per my Business Process i want to reject the old line item and add same Material in that  order, while adding the new line item or substituted item , the new item has to pick the old serial number and Equipment number.
    For the same We are using BAPI & BDC,
    IN BAPI We do not have any function module and in BDC while rejecting the old line item serial number, BDC is not recording the same and default it is Picking Delete serial number as "NO".
    Kindly through a light on this issue.
    Helpful answer will be rewarded.
    Advance thanks
    Regards
    Naren
    Message was edited by:
            Naren Naren

    Hi
    I think you can achieve my making the serial and equipment synchronization  in the materiel master. Adjacent to where we specify the serial no profile we can make the setting. I am not in front of the system , kindly check
    Also you need to have the internal number range for equipment which should be same as serial number
    Regards
    thyagarajan

  • HT4061 If I have my iphone4 lost, but I still have the serial number and IMEI number, how can I get the ICCID number?

    If I have my iphone4 lost, but I still have the serial number and IMEI number, how can I get the ICCID number?

    You can't.

  • What is the difference between VI Template and vi that is reenterant​?

    What is the difference between VI Template and vi that is reenterant?
    From what little info I can find about them, they seem to basically do the same thing....
    What are the difference?
    What are the pros and cons of each?
    Thanks alot for the help.....

    Tarek316 wrote:
    I inherited an app that uses .vit for the purpose of having multipe separate instances.
    Thanks,
    OK, here's what happens when you call a VI Template using Call by Reference or using Invoke and Property Nodes.
    Since the VI you are calling is a template, LabVIEW creates a new instance of that VI by creating a copy of it and giving a new name. Notice in the title bar of the instantiated VI the VI name is the same as the template VI plus a number. This is the same thing you see when you open a template from the "New..." menu. So if you call the template VI 3 times, you'd end up with 5 newly instantiated VIs named, "VI Name 1.vi", "VI Name 2.vi" and "VI Name 3.vi". This is how you end up with multiple instances.
    Reentrancy only works on subVIs when they are used as a normal subVI in a top level application. Using Call by Reference or Invoke and Property Nodes to open and run a reentrant VI results in the VI only being opened once because LabVIEW will not automatically give it a new name. The new name is only generated when calling templates. Since LabVIEW can only a have a single instance of VI name in memory at a time, you'll not end up with multiple instances.
    Not sure if I can help with the know issue on OSX. If it's specific to using the Call by Reference function, you could try calling the templates using Invoke and Property nodes.
    Ed
    Ed Dickens - Certified LabVIEW Architect - DISTek Integration, Inc. - NI Certified Alliance Partner
    Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences.

  • What's the difference of coverage hole and pre-coverage hole?

    Hi All,
    Anybody knows what's the difference of coverage hole and pre-coverage hole?
    What I can find from Cisco doc is:
    "coverage holes are displayed as alarms, pre-coverage holes are displayed as events."
    "Gaps or "holes" in an access point radio coverage are the primary cause of poor audio. Client-detected Pre-Coverage Hole events provide ongoing monitoring to ensure that the customer is alerted regarding the existence of these coverage holes."
    It seems Pre-coverage hole is client-detected, coverage hole is AP detected? However I'm not sure.
    Another question is which trap includes pre-coverage hole alarm in WCS 7.0 alarm and event dictionary? I can only find several coverage related traps:
    LRADIF_COVERAGE_PROFILE_FAILED
    LRADIF_COVERAGE_PROFILE_PASSED
    However both of them have not say if it is for coverage hole or pre-coverage hole. Not sure which trap will be sent by the WCS to a configured notification receiver to indicate a pre-coverage hole event, for example:
    Minor         --X----       13:27:52 16/09/10    cisco-WCS     WCS    SNMP   <$2>   0x07 da 09 10 0d 1b 2c 05 2b 0a 00 :10.1.1.12 : Pre-Coverage Hole reported by 00:1f:3c:cd:c8:2a detected by 10.1.1.12: Pre-Coverage Hole reported by '00:1f:3c:cd:c8:2a' was found on Controller
    Your valuable input is highly appreciated!

    Hello !
    A pre-coverage hole is when a client stays for 5 seconds in a coverage hole. In other words, when a client is heard for some time at bad signal and it's not roaming, it must mean that this area is a coverage hole. This event is informational
    A coverage hole event is when several clients are stuck in the same coverage hole. Then the AP will increase its power if this is possible.
    The fact that WLC waits for several clients before raising the power avoids crazy behaviors of increasine/lowering/increasing/lowering.
    The parameters for coverage hole events are configurable on the RRM part of WLC (number of clients, etc ...)
    Nothing is configurable for pre-coverage hole as this is just "1 client only is reaching the coverage hole tresholds".
    Hope this clarifies.
    Nicolas

Maybe you are looking for

  • How can I display "0" instead of "#missing" in Smartview

    Hi, I'm in Smartivew -> Options menu and I can put "text" or "-" in place of #missing when I retrieve. However, it would not allow me to put zero in place of "#missing" . Is there any way around that? I am connected to an Essbase server via smartview

  • In which case we opt BPM?

    Can any one explain me the business req in your project that leads to go for BPM?

  • Apple TV first generation remote problems

    Hello, my ATV has been working fine since I have had it.  This morning, I tried to listen to radio and well it is not cooperating.  I choose with either its remote or my harmony one to go from left to right or right to left and well I can't choose an

  • I Installed Win7, now Mountain Lion isn't my primary OS.  Is there a way to fix this?

    This isn't so much of a problem as it is an annoyance, but I installed Win7 so I can use several Microsoft products that aren't compatible with Mac, and whenever I turn of the computer the OS defaults to Windows. Obviously I know if I hold down optio

  • EDI Subsystems vs XI - functional differences

    I have seen from posts in this forum and other resources that it is possible to use XI as an EDI subsystem (please correct me if that is incorrect). However, what I would like to know is what functionality is missing if you do that. Also, I thought t