Log in
Register
Menu
Log in
Register
Home
What's new
Latest activity
Authors
Forums
New posts
Search forums
What's new
New posts
Latest activity
Members
Current visitors
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Linux Based Receivers
Dreambox Support Forum
Dreambox Satellite Receiver | Tutorials | Software
Dreambox 8000
Barry Allen - here today, gone tomorrow
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Dog's dinner" data-source="post: 785103" data-attributes="member: 362627"><p>Thanks for the tip. Now fdisk -l has never listed a CF device (I've run the command about 20 times over the past few weeks). I also ran a useful command, dmesg. It's s'posed to tell you what devices Linux discovered during bootup. I then ran lsmod to detect modules. Now I'm sure the results of these commands are telling me vital information. It's telling me for example that I've got a live Dreambox keyboard - which is news for me. Wonder where it is. </p><p></p><p>Joking apart - unless one has a glossary explaining all the acronyms and abbreviations, you'll be none the wiser running these commands. For example, does this line make sense to you: a</p><p>lps_bsbe2 44200 1 bcm 7455, Live 5xc5586 ?</p><p></p><p>One discovery, though which might be useful. I ran the command mkdir /mnt/cf. It returned a message, "the directory exists already". Well that's something. </p><p></p><p>No, the obviously most practical thing is to open /etc/fstab in Notepad and take decisive action. Now since I don't know a) what I'm looking for, and b) what I'll do if I don't find it, opening fstab may be akin to stabbing in the dark. I</p><p></p><p>imagine I'm supposed (or expected) to add a command line to the fstab commands (or whatever they're called in Linux speak). Let's see if we can't figure one out. (No, it's not "please Mr Dreambox, will you please mount my cf card?")</p><p></p><p>It has to look something like: /dev/cf /media/cfcard auto rw,auto,user,sync 0 0</p><p></p><p>This may be all wrong, of course. Auto means the card will be mounted automatically (leaving me hopefully out of the frame). But "noauto" gives me some control (ha, ha) over when, where, what and how to mount whatever. </p><p></p><p>rw means you're allowed to read and write (if you've got root-authority, that is) to the CF card. </p><p></p><p>user gives me the pleasure of mounting the device if I want to. I could have written nouser, and spoilt the fun. That would hand over my mounting rights to the Dreambox (which I wouldn't trust with the dog, much less mountaineering). </p><p></p><p>sync (or swim) means commands are written to the card as they're written by the root-authority (me). </p><p></p><p>And the final two 0s tell the dump not to back up the file system, and not to check it either. The latter command is given the merry acronym, fsck. (You wouldn't believe it, but they've got a file called fscking.raw next door to fstab.)</p><p></p><p>So, moment of truth. Insert command line into the fstab file. I suppose I'll have to restart/reboot the Dreambox. Exciting times! </p><p></p><p>...and the result is: nada. As usual, the Dreambox doesn't fail to disappoint. Taking longer than usual to reboot (which is saying something, you can usually do a lap round the block), it still hasn't a clue about a CF card. </p><p></p><p>Well, the command string was wrong, of course. I'll need another week to sort that one out I expect. </p><p></p><p>By the way, if you're interested in reading up on the Linux knowledge: <a href="http://www.tuxfiles.org/linuxhelp/fstab.html" target="_blank">How to edit and understand /etc/fstab</a></p></blockquote><p></p>
[QUOTE="Dog's dinner, post: 785103, member: 362627"] Thanks for the tip. Now fdisk -l has never listed a CF device (I've run the command about 20 times over the past few weeks). I also ran a useful command, dmesg. It's s'posed to tell you what devices Linux discovered during bootup. I then ran lsmod to detect modules. Now I'm sure the results of these commands are telling me vital information. It's telling me for example that I've got a live Dreambox keyboard - which is news for me. Wonder where it is. Joking apart - unless one has a glossary explaining all the acronyms and abbreviations, you'll be none the wiser running these commands. For example, does this line make sense to you: a lps_bsbe2 44200 1 bcm 7455, Live 5xc5586 ? One discovery, though which might be useful. I ran the command mkdir /mnt/cf. It returned a message, "the directory exists already". Well that's something. No, the obviously most practical thing is to open /etc/fstab in Notepad and take decisive action. Now since I don't know a) what I'm looking for, and b) what I'll do if I don't find it, opening fstab may be akin to stabbing in the dark. I imagine I'm supposed (or expected) to add a command line to the fstab commands (or whatever they're called in Linux speak). Let's see if we can't figure one out. (No, it's not "please Mr Dreambox, will you please mount my cf card?") It has to look something like: /dev/cf /media/cfcard auto rw,auto,user,sync 0 0 This may be all wrong, of course. Auto means the card will be mounted automatically (leaving me hopefully out of the frame). But "noauto" gives me some control (ha, ha) over when, where, what and how to mount whatever. rw means you're allowed to read and write (if you've got root-authority, that is) to the CF card. user gives me the pleasure of mounting the device if I want to. I could have written nouser, and spoilt the fun. That would hand over my mounting rights to the Dreambox (which I wouldn't trust with the dog, much less mountaineering). sync (or swim) means commands are written to the card as they're written by the root-authority (me). And the final two 0s tell the dump not to back up the file system, and not to check it either. The latter command is given the merry acronym, fsck. (You wouldn't believe it, but they've got a file called fscking.raw next door to fstab.) So, moment of truth. Insert command line into the fstab file. I suppose I'll have to restart/reboot the Dreambox. Exciting times! ...and the result is: nada. As usual, the Dreambox doesn't fail to disappoint. Taking longer than usual to reboot (which is saying something, you can usually do a lap round the block), it still hasn't a clue about a CF card. Well, the command string was wrong, of course. I'll need another week to sort that one out I expect. By the way, if you're interested in reading up on the Linux knowledge: [url=http://www.tuxfiles.org/linuxhelp/fstab.html]How to edit and understand /etc/fstab[/url] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Linux Based Receivers
Dreambox Support Forum
Dreambox Satellite Receiver | Tutorials | Software
Dreambox 8000
Barry Allen - here today, gone tomorrow
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.
Accept
Learn more…
Top