Feeds

The netbook newbie's guide to Linux

'We're the Fukarwi'

  • alert
  • submit to reddit

High performance access to file storage

I'm not just going to tell you to type mysterious command lines and take them on trust. I do think we need to know a little bit about what we're doing, although I'll try not to get bogged down in a lot of unnecessary detail. The command line you'll be typing now is as follows:

sudo yum list | less

Sudo is a command that says: OK, I don't have supervisor status on this machine - I'm not 'root' - but please treat the command that follows as if I did. Provided I'm on a list of approved sudo users, yum evokes the package manager, and the list parameter tells yum to give me a list of stuff.

I'll look at why you need sudo, and what root is all about, in a future column.

The character, | is a called a 'pipe'. It's an instruction to feed the outcome of the previous command into the command following the pipe. Less works like more in DOS - more or less - as a full-screen text display that allows you to step through the output, page by page. You can exit from less by hitting the Q key. Try it.

Yum in the Terminal

Yum in the Terminal

Not all forms of Linux use yum. The Eee PC, for one, uses apt-get - short for Advanced Packaging Tool - which does the same job.

If you're already connected to the internet, you'll notice that the list you get isn't just an inventory of what's on your machine. It consists of three columns. The left-hand column lists the name of the program or component, the middle column gives you its version number and the third line confirms whether that component is installed or available elsewhere online. In this case, elsewhere is Fedora, an online repository of the version of Red Hat Linux on which Linpus is based. In theory, this means you can use yum to install a new Fedora packages on your AA1, but I don't recommend trying that at this early stage.

There is one really useful thing we can do, however. If, like me, you have other machines attached to your network offering Windows fileshares, the AA1 will appear to know nothing about them. It can only browse files on the local machine. So what we're going to do now is 'mount' a Windows share as if it were part of the AA1's own local file system. Linux in general does a superb job of accessing Windows shares through a technology called Samba. Samba provides a Windows-compatible file system called cifs, and a utility to mount this file system called mount.cifs. But don't worry about it. The ordinary mount command knows to use mount.cifs if you evoke it with the -t cifs parameter. And mount.cifs is smart enough to insert the relevant filesystem module (cifs.ko) into the OS' kernel automatically.

Forums

The user base for netbooks is growing fast. The following forums deal with the netbooks we've been discussing here:

The Asus Eee PC series: forum.eeeuser.com

The Acer Aspire One: www.aspireoneuser.com/forum/

The MSI Wind: forums.msiwind.net

High performance access to file storage

More from The Register

next story
Android engineer: We DIDN'T copy Apple OR follow Samsung's orders
Veep testifies for Samsung during Apple patent trial
Microsoft: Windows version you probably haven't upgraded to yet is ALREADY OBSOLETE
Pre-Update versions of Windows 8.1 will no longer support patches
OpenSSL Heartbleed: Bloody nose for open-source bleeding hearts
Bloke behind the cockup says not enough people are helping crucial crypto project
Half of Twitter's 'active users' are SILENT STALKERS
Nearly 50% have NEVER tweeted a word
Windows XP still has 27 per cent market share on its deathbed
Windows 7 making some gains on XP Death Day
Internet-of-stuff startup dumps NoSQL for ... SQL?
NoSQL taste great at first but lacks proper nutrients, says startup cloud whiz
US taxman blows Win XP deadline, must now spend millions on custom support
Gov't IT likened to 'a Model T with a lot of things on top of it'
Microsoft TIER SMEAR changes app prices whether devs ask or not
Some go up, some go down, Redmond goes silent
prev story

Whitepapers

Mainstay ROI - Does application security pay?
In this whitepaper learn how you and your enterprise might benefit from better software security.
Five 3D headsets to be won!
We were so impressed by the Durovis Dive headset we’ve asked the company to give some away to Reg readers.
3 Big data security analytics techniques
Applying these Big Data security analytics techniques can help you make your business safer by detecting attacks early, before significant damage is done.
The benefits of software based PBX
Why you should break free from your proprietary PBX and how to leverage your existing server hardware.
Mobile application security study
Download this report to see the alarming realities regarding the sheer number of applications vulnerable to attack, as well as the most common and easily addressable vulnerability errors.