vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Using Gentoo 2004.2, kernel 2.4.26. I have modules usbcore, usb-storage, sd_mod, sg (if required) compiled as mnodules. First problem is I cannot access my digital camera via the USB port which will be accessed as /dev/sda1. Second problem is my old hard drive is connected using a USB to IDE connector, and I am trying to access partition 7 (reiserfs /dev/sda7). I have created mount point of /camera and /sda7, extract of /etc/fstab: /dev/sda1 /camera auto noauto,users,rw 0 0 /dev/sda7 /sda7 reiserfs noauto,users,rw 0 0 I get the following error when trying to mount my external hard drive: anc@orac anc $ mount /sda7 mount: /dev/sda7 is not a valid block device /dev/sda7 does not exist in Gentoo so I created it using kernel major 8 and minor 7 anc@orac anc $ ls -l /dev/sda7 brw-r--r-- 1 root root 8, 7 Oct 20 19:36 /dev/sda7 .........but as gentoo uses the devfs surely this is wrong as other devices i.e. dev/hda1 are symbolic links. After reading the Gentoo File System Device Guide I believe I should be symbolicly linking /dev/sda7 to /dev/scsi/xxx/xxx My question is what do I create under /dev/scsi and do I still use mknod to create the new devices? Thanks in advance. |
| |||
| I'm a little bit surprised. sda1 is the first connected device, sdb1 the second, etc. I've never seen sda2 or 3 etc. That's different for hda1, hda2 etc. Why ? anc wrote: > Using Gentoo 2004.2, kernel 2.4.26. I have modules usbcore, > usb-storage, sd_mod, sg (if required) compiled as mnodules. > First problem is I cannot access my digital camera via the > USB port which will be accessed as /dev/sda1. > > Second problem is my old hard drive is connected using a > USB to IDE connector, and I am trying to access partition 7 > (reiserfs /dev/sda7). > > I have created mount point of /camera and /sda7, extract > of /etc/fstab: > > /dev/sda1 /camera auto noauto,users,rw 0 0 > /dev/sda7 /sda7 reiserfs noauto,users,rw 0 0 > > > I get the following error when trying to mount my external hard drive: > > anc@orac anc $ mount /sda7 > mount: /dev/sda7 is not a valid block device > > /dev/sda7 does not exist in Gentoo so I created it using kernel major > 8 and minor 7 > anc@orac anc $ ls -l /dev/sda7 > brw-r--r-- 1 root root 8, 7 Oct 20 19:36 /dev/sda7 > > ........but as gentoo uses the devfs surely this is wrong as other > devices i.e. dev/hda1 are symbolic links. After reading the Gentoo File > System Device Guide I believe I should be symbolicly linking /dev/sda7 > to /dev/scsi/xxx/xxx > > My question is what do I create under /dev/scsi and do I still use mknod > to create the new devices? > Thanks in advance. > > > |
| |||
| Albert enlightened us with: > sda1 is the first connected device, sdb1 the second, etc. No it isn't. sda is the first connected SCSI block device. sda1 is the first partition on that device, not the device itself. > I've never seen sda2 or 3 etc. > That's different for hda1, hda2 etc. > Why ? Probably because you don't have multiple partitions on your scsi dev. No use in partitioning your camera ;-) Please, next time, think about the way you post. Many people don't think about this and put their reply at the top of their post, quoting all of the original post below it. Now take a look at this: --------------------------------------------------------------------- > Why is top posting so hard to read? > > > What is one of the most annoying responses on Usenet? > > When they top post. In the English speaking world we read left to right, top to bottom. --------------------------------------------------------------------- If people do it the other way around, things will clear up instantly: --------------------------------------------------------------------- > > > What is one of the most annoying responses on Usenet? > > When they top post. > Why is top posting so hard to read? In the English speaking world we read left to right, top to bottom. --------------------------------------------------------------------- The best response type is "in-line" posting, that is, remove all the quoted text that does not apply to your response, adding your comments in context underneath as you go. The distributed nature of Usenet is causing that not everyone sees all posts in a particular thread in the right order or or even at all. If you make sure you put your reply in a top-to-bottom order, people will be able to easily read through it from top to bottom. Be sure to remove all excess quoted text though. There is nothing more annoying than having to scroll down three pages of quoted text you already read, just to read a two-lined reply ;-) A more complete guide to posting to Usenet can be found at http://www.netmeister.org/news/learn2quote.html The relevant section on good posting form is here http://www.netmeister.org/news/learn2quote2.html#ss2.3 Sybren -- The problem with the world is stupidity. Not saying there should be a capital punishment for stupidity, but why don't we just take the safety labels off of everything and let the problem solve itself? |
| |||
| anc wrote: > Using Gentoo 2004.2, kernel 2.4.26. I have modules usbcore, > usb-storage, sd_mod, sg (if required) compiled as mnodules. > First problem is I cannot access my digital camera via the > USB port which will be accessed as /dev/sda1. > > Second problem is my old hard drive is connected using a > USB to IDE connector, and I am trying to access partition 7 > (reiserfs /dev/sda7). > > I have created mount point of /camera and /sda7, extract > of /etc/fstab: > > /dev/sda1 /camera auto noauto,users,rw 0 0 > /dev/sda7 /sda7 reiserfs noauto,users,rw 0 0 > This is of course not right, since your harddisc will be device "sda" (as it is connected first) and your camera will become device "sdb". But your camera and you disc can not share the same device (sda). > > I get the following error when trying to mount my external hard drive: > > anc@orac anc $ mount /sda7 > mount: /dev/sda7 is not a valid block device > That means that there is no partition number seven available on /dev/sda or it is a symbolic link and points to an invalid node. > > My question is what do I create under /dev/scsi and do I still use mknod > to create the new devices? You don't need to. USB (and hotplug) take care of this on their own. Your entries in /etc/fstab should therefore look like this: /dev/sdb1 /camera auto noauto,users,rw 0 0 /dev/sda7 /sda7 reiserfs noauto,users,rw 0 0 If this doesn't work, you can try and look your up your devices under /dev/scsi/. You can also use fdisk to show the partitions: #> fdisk -l /dev/sda and #> fdisk -l /dev/sdb or their corresponding nodes under /dev/scsi/, but I assume, you don't need them. If that should turn up, that "sdb" is the device with seven partitions you need to alter the corresponding line(s) in /etc/fstab. HTH, regards Felix |
| |||
| Thank you for the answer Sybren. Quite useful. After a little bit more than one year with Linux, I still learn everyday, that's good. Concerning my way of posting, it is my choice to post on top, because I don't think it is a good idea to read through tons of replies to find the answer at the bottom. Instead, I think it is a loss of time. When you follow a thread, you generally know already the discussion and you don't need to read all the text again. The text below my post is for reference only. Concerning in line-posting, my own feeling is that it is painful to read and may be seen as impolite. You must understand that Internet is a place of freedom, and as long as someone does not offend the others, he is perfectly free to follow his own way, whatever the so-called 'netiquette' is. I don't know who decided what Netiquette is. Self-appointed ? I hardly accept conservatism here. I kindly think that you should keep this kind of remark for yourself. Freedom means some degree of anarchy, by definition. Sybren Stuvel wrote: > Albert enlightened us with: > >>sda1 is the first connected device, sdb1 the second, etc. > > > No it isn't. sda is the first connected SCSI block device. sda1 is the > first partition on that device, not the device itself. > > >>I've never seen sda2 or 3 etc. >>That's different for hda1, hda2 etc. >>Why ? > > > Probably because you don't have multiple partitions on your scsi dev. > No use in partitioning your camera ;-) > > Please, next time, think about the way you post. Many people don't > think about this and put their reply at the top of their post, quoting > all of the original post below it. Now take a look at this: > > --------------------------------------------------------------------- > > Why is top posting so hard to read? > > > > What is one of the most annoying responses on Usenet? > > > When they top post. > In the English speaking world we read left to right, top to bottom. > --------------------------------------------------------------------- > > If people do it the other way around, things will clear up instantly: > > --------------------------------------------------------------------- > > > > What is one of the most annoying responses on Usenet? > > > When they top post. > > Why is top posting so hard to read? > In the English speaking world we read left to right, top to bottom. > --------------------------------------------------------------------- > > The best response type is "in-line" posting, that is, remove all the > quoted text that does not apply to your response, adding your comments > in context underneath as you go. > > The distributed nature of Usenet is causing that not everyone sees all > posts in a particular thread in the right order or or even at all. If > you make sure you put your reply in a top-to-bottom order, people will > be able to easily read through it from top to bottom. > > Be sure to remove all excess quoted text though. There is nothing more > annoying than having to scroll down three pages of quoted text you > already read, just to read a two-lined reply ;-) > > A more complete guide to posting to Usenet can be found at > http://www.netmeister.org/news/learn2quote.html > > The relevant section on good posting form is here > http://www.netmeister.org/news/learn2quote2.html#ss2.3 > > > > Sybren |
| |||
| In alt.os.linux.gentoo, Albert uttered the immortal words: > Concerning my way of posting, it is my choice to post on top, because I > don't think it is a good idea to read through tons of replies to find > the answer at the bottom. Instead, I think it is a loss of time. You only have to read down 6 lines to read this bit of my reply (the introduction phrase, 3 lines quoted from your post and 2 blank lines). You can then skip the 2 or 3 lines I quoted to see my other replies to your post. All the time you're reading top to bottom and you can see exactly which points in your post I'm replying to. When you reach the bottom you've read the whole post. There's no need to scroll up unless you choose to do so. How is that a waste of time? > When > you follow a thread, you generally know already the discussion and you > don't need to read all the text again. You're making an assumption here. What if there are no replies to a thread for a few days? What if someone is away and doesn't read the group for a few days? What about groups that get hundreds of posts a day? Are you expecting people to remember everything about all the threads they read for several days? > The text below my post is for > reference only. But you quoted everything that Sybren said plus everything he quoted from previous posts making your post 81 lines long. You could've cut your post down to 20 - 25 lines by snipping and replying below the points you're commenting on. If everyone posted the way you do posts could easily reach several hundred lines each on long threads. That's several hundred lines wasting disk space on the network of NNTP servers, people's HDD if they're storing posts local and bandwidth when we all download the body and NNTP servers peer their posts. > Concerning in line-posting, my own feeling is that it is painful to read > and may be seen as impolite. How is this post painful to read? You can see exactly which points you've raised that I'm replying to because I'm replying directly below them. Someone joining this thread at this post can see why I'm saying what I'm saying because the relevant parts of your post are included for context (remember that there's no guarantee that all posts will end up on all NNTP servers or will turn up in the order that they're posted). If I posted your way they'd be scrolling up and down to try to make sense of it. > You must understand that Internet is a place of freedom, To a point. In most Linux groups it's the convention to post below the lines you're replying to for context and snip the rest. > and as long as > someone does not offend the others, he is perfectly free to follow his > own way, Offend could be a bit strong in this case but some of us feel that you're being impolite to the very people who're trying to help you. > whatever the so-called 'netiquette' is. I don't know who > decided what Netiquette is. Self-appointed ? Usenet, like society, works on a set of rules. If I have a house rule that people should take their shoes off when they enter my house I'll consider it rude if you keep your shoes on. Linux Usenet groups are a bit like that. I consider your posting style to be rude. > Self-appointed ? Look up RFC 1855 (I think that's the right one). > I hardly accept conservatism here. > I kindly think that you should keep this kind of remark for yourself. > Freedom means some degree of anarchy, by definition. You're quite right of course. You're free to post any way you like just like I'm free to read and respond to your posts or ignore them if I want. This conversation comes up again and again on Usenet but no one's ever given a good reason for top posting over inline posting IME. Apologise to all members of this group who have seen all this before and are bored with it. -- Andy. |
| |||
| What ? Apologise to the newsgroup ? Do you want to send me to the Gulag directly, comrade, or do you give me a last opportunity to make a kneeling public apology ? You are the one with the aggressive and intolerant behaviour. You quote RFC 1855 (http://www.dtcc.edu/cs/rfc1855.html). 1- It says : "This memo does not specify an Internet standard of any kind". This means it is an indicative set of informations / advices that you may or not follow. Up to each person. 2- RFC 1855 does not mean it was created in 1855, but almost. It is 10 years old, which means eons for internet, and was created at a time when people had an average connection speed of 14,4Kb/s. Naturally, in the old times it was better to manage the data very carefully. 3- If you are still using a 14.4k modem, please give me your address, I will send to you free a 56K modem, but you need to apologise to me first. |
| |||
| In alt.os.linux.gentoo, Albert uttered these immortal words: > What ? Apologise to the newsgroup ? I was apologising to the NG for bring up this tired argument again. > Do you want to send me to the Gulag directly, comrade, or do you give me > a last opportunity to make a kneeling public apology ? If that's your attitude then you're not worth talking to. > You are the one with the aggressive and intolerant behaviour. You're the one who talks about your freedom to post what you want, how you want. Don't get uptight when someone disagrees with you. IMHO nothing I posted was aggressive or intolerant. If that's the way you read it then that's your problem. -- Andy. |
| |||
| Albert enlightened us with: > After a little bit more than one year with Linux, I still learn > everyday, that's good. Good. > Concerning my way of posting, it is my choice to post on top, > because I don't think it is a good idea to read through tons of > replies to find the answer at the bottom. You didn't really read what I wrote, did you? Let me quote one piece again: >> The best response type is "in-line" posting, that is, remove all >> the quoted text that does not apply to your response, adding your >> comments in context underneath as you go. So there is no need to scroll all the way to the bottom to read someone's reply. I agree with you that *that* is irritating. > Instead, I think it is a loss of time. When you follow a thread, you > generally know already the discussion and you don't need to read all > the text again. Which was entirely my point. > The text below my post is for reference only. But why keep it there in it's entirity if people can read my original post? > Concerning in line-posting, my own feeling is that it is painful to > read and may be seen as impolite. It's not. > You must understand that Internet is a place of freedom, and as long > as someone does not offend the others, he is perfectly free to > follow his own way, whatever the so-called 'netiquette' is. I don't > know who decided what Netiquette is. Self-appointed ? Nope, officially documented. > I hardly accept conservatism here. Conservatism? You mean top posting is "the new cool thing" and inline posting and snipping unneeded text is "old and conservative"? > I kindly think that you should keep this kind of remark for > yourself. Freedom means some degree of anarchy, by definition. So in this freedom of yours I need to keep certain remarks to myself? Your idea of freedom sure is impolite. Sybren -- The problem with the world is stupidity. Not saying there should be a capital punishment for stupidity, but why don't we just take the safety labels off of everything and let the problem solve itself? |
| ||||
| Albert enlightened us with: > 2- RFC 1855 does not mean it was created in 1855, but almost. > > It is 10 years old, which means eons for internet Internet is 40 years old. 25% hardly counts as eons. > and was created at a time when people had an average connection > speed of 14,4Kb/s. Naturally, in the old times it was better to > manage the data very carefully. It still is. If every post in a thread copies the entire thread, every post is going to more than double the bandwidth. You do the math. You barge in here asking for help, and we gladly help you out, but when someone asks you to behave yourself a little you start making a big deal out of it. You should show your gratitude a little bit more. Sybren -- The problem with the world is stupidity. Not saying there should be a capital punishment for stupidity, but why don't we just take the safety labels off of everything and let the problem solve itself? |