Questions specifically about Linux, as opposed to Unix-like systems in general, or to questions about a specific distribution or program.

learn more… | top users | synonyms

3
votes
1answer
384 views

Linux Live CDs that are able to save configuration on the boot disk?

Puppy Linux has a great feature: as in wikipedia is mentioned However, it is possible to save files upon shutdown. This feature allows the user to either save the file to disk (USB, HDD etc.) or ...
3
votes
4answers
392 views

Bootable image with LAN drivers

I'm looking for an image which will boot quickly (I assume it'll be linux) and have LAN drivers- for sending TCP / UDP packets to another system in the same network. Ideally, if possible, I would like ...
5
votes
2answers
1k views

ZONE_NORMAL and it's association with Kernel/User-pages?

Above is presented a case where I have only 512 MB of physical memory. What I have read up so far, is that ZONE_NORMAL is mapped to the kernel virtual address space as shown. Essentially I have a ...
1
vote
1answer
780 views

Could not connect to host 127.0.0.1: Connection refused

Could not connect to host 127.0.0.1: Connection refused. - I am getting this error message on ktorrent on slackware 13.1 and the torrents cannot start. I tried to reconfigure the ktorrent prefernces, ...
6
votes
2answers
851 views

Loading 3rd-Party Drivers before Fedora 14 Installation

My server is equipped with a megaraid controller that cannot be identified by most linux installer. I have to load it's driver before installation can proceed. I know how to do it with CentOS that ...
6
votes
5answers
919 views

Can I install Linux on Ankya 7802L 266MHz 128MB 2GB laptop?

I recently bought this cute little laptop computer (not much memory/HD/CPU): http://www.dinodirect.com/netbook-anyka-7802l-266mhz-128mb-2gb-nand-flash.html Has anyone successfully installed any ...
4
votes
1answer
585 views

Setting processor fan to 100%

How can I set fans speed to 100% or more in linux ?
2
votes
0answers
283 views

Would anyone like to help me start a Wikipedia page “List of rolling release Linux Distribustions”? [closed]

I can't find a definitive list of rolling distros any where on the web. DistroWatch doesn't have one, though I posted a comment suggesting they add such or label rolling releases and the type of ...
12
votes
1answer
6k views

What does the Virtual kernel Memory Layout in dmesg imply?

While going through the "Output of dmesg" I could see a list of values which i am not able to understand properly. Memory: 2047804k/2086248k available (3179k kernel code, 37232k reserved, 1935k ...
16
votes
1answer
559 views

How is new hardware support added to the linux kernel?

Imagine there's a company A that releases a new graphics adapter. Who manages the process that results in this new graphics adapter being supported by the Linux kernel in the future? How does that ...
2
votes
3answers
7k views

Why are spin locks good choices in Linux Kernel Design instead of something more common in userland code, such as semaphore or mutex?

I understand that Spinlocks are real waste in Linux Kernel Design. I would like to know why is it like spin locks are good choices in Linux Kernel Design instead of something more common in userland ...
11
votes
1answer
6k views

How can I configure cgroups to fairly share resources between users?

There used to be a kernel config option called sched_user or similar under cgroups. This allowed (to my knowledge) all users to fairly share system resources. In 2.6.35 it is not available. Is there a ...
11
votes
4answers
3k views

How does one atomically change a symlink to a directory in busybox?

I am trying to (as close as possibly) atomically change a symlink. I've tried: ln -sf other_dir existing_symlink That just put the new symlink in the directory that existing_symlink pointed to. ln ...
19
votes
4answers
22k views

What is a spinlock in Linux?

I would like to know about spinlocks in detail? Could someone explain that to me?
17
votes
6answers
25k views

How to see disk details like manufacturer in Linux

With sfdisk -s I can see the disk capacity as follows: $ sfdisk -s /dev/cciss/c0d0: 143338560 total: 143338560 blocks How do I see disk details like disk manufacturer? I tried hdparm, but got an ...
2
votes
1answer
209 views

Where to find a PKG or RPM of fsarchiver?

I want to download the latest version of fsarchiver (I need a PKG file or RPM). Where can I find that?
4
votes
0answers
222 views

fsarchiver error

I'm running the following fsarchiver command: $ fsarchiver restfs /tmp/backup/c0d0p2.fsa id=0,dest=/dev/cciss/c0d0p2 I get the following error: [errno=22, Invalid argument]: ...
6
votes
4answers
383 views

Is knowing Linux required to learn Unix

Is it required to know Linux to learn other Unix. I don't know Linux but I am planning to learn Sun Solaris.
3
votes
3answers
685 views

How do I choose between Unix / Linux and Windows in a Server environment?

I need a server, and I'm used to windows at home and in the office, but it seems that Unix / Linux is an option, but I don't really know what it is. I don't know which one to get, how do I choose? ...
3
votes
2answers
2k views

How to create a new partition on a hard disk?

How do I create a new partition on a hard disk, from the terminal? I've been reading the man pages for fdisk and mkfs, but they're confusing. I need to know how to create a new partition on a blank ...
0
votes
2answers
186 views

where to start open-source work? [closed]

This one got closed: freeBSD or linux or something else? But I have a sincere question here. I want to know from the pros what is better for a newbie to start working on. I want to learn/contribute. ...
4
votes
2answers
8k views

Trouble getting busybox switch_root to work

I'm working on an embedded ARM Linux system that boots using initramfs. (Here's some background from a couple earlier questions, if you're interested.) So far, thanks in part to help received here, I ...
4
votes
2answers
976 views

802.3ad on FreeBSD and Linux using crossover cables?

I have setup a NFS server on FreeBSD 8.1, which will be serving one Linux client. Each box has a dual-port 1gig fiber card, and each box is directly connected to the other over this link. There is ...
7
votes
1answer
7k views

How to update Puppy Linux?

A month or two ago, I installed the latest version of Puppy Linux to an old Eee PC which I hardly use any more. Well I'm on it now! But I can't figure out how to update it. It uses a weird Puppy ...
11
votes
4answers
5k views

Shell command to read device registers?

On a single-board computer running Linux, is there a way to read the contents of the device configuration registers that control hardware? I think it would be a wrapper for inw(), more or less. I'm ...
58
votes
5answers
33k views

What are high memory and low memory on Linux?

I'm interested in the difference between Highmem and Lowmem: Why is there such a differentiation? What do we gain by doing so? What features does each have?
15
votes
6answers
301 views

What do I need to be aware of if I want to write an application that will run on any Linux distro?

I'm planning on writing an app that I would like to be able to run on any Linux installation without having to rewrite any of the code in doing so (except maybe the interface, GNOME vs KDE, etc). I'm ...
34
votes
3answers
9k views

What is the difference between procfs and sysfs?

What is the difference between procfs and sysfs? Why are they made as file systems? As I understand it, proc is just something to store the immediate info regarding the processes running in the ...
5
votes
4answers
6k views

find-command for certain subdirectories

Let's say I have a directory dir with three subdirectories dir1 .. dir3. And inside I have many files and other subdirectories. I'd like to search for a file inside, say with a *.c ending, but I'd ...
2
votes
2answers
3k views

How do I correct a directory incorrectly copied into itself?

Given the following situation... <path>/mydir1/mydir2 ...where mydir2 should have overwritten mydir1, but was instead placed inside, and both directories actually have the same filename. How ...
3
votes
2answers
424 views

Is there any Virus attack in Linux?

Is there any virus attack on any of the current distributions of Linux? if there is any, how was it solved? have they used any anti virus programs which are available now?
6
votes
2answers
620 views

Meaning of “rc5” in “linux kernel 2.6.37-rc5”

When I visited the kernel.org website to download the latest Linux kernel, I noticed a package named 2.6.37-rc5 in the repository. What is the meaning of the "rc5" at the end?
1
vote
1answer
1k views

What is the difference between Copied context output format and Unified context output format while taking diff?

What is the difference between Copied context output format and Unified context output format when taking a diff? diff -NBur dir1/ dir2/ diff -NBcr dir1/ dir2/
4
votes
1answer
419 views

How to use diff tool to take a diff between directories with libraries and source?

I would like to know if i can use the diff tool to take the difference between two folders which contain sources as well as libraries and executable. Right now i gave diff -Naur dir1/ dir2/ ...
8
votes
2answers
807 views

View Script Over SSH?

A friend, using a remote machine, SSHed to my machine and ran the following python script: while (1): ....print "hello world" (this script simply prints 'hello world' continuously). I am now ...
5
votes
1answer
1k views

Batch importing .sql files

I have a bunch of .sql files in a directory that I need to import. Although I can do it manually, for scripting purposes I need to be able to apply them in bulk. How can I do that though? What ...
4
votes
1answer
974 views

When auto-completing in tcsh, can I reference a previous argument?

I'm trying to get some efficient auto-completing going here, and have hit upon a bit of a snag. I've got a command for setting two things at once. The first is a relatively small list, but the ...
4
votes
3answers
880 views

How to get output from a remote shell

I have an application running on a server, started from the command line. From time to time, I need to connect to the server via SSH and get the output messages written to stdout from the application. ...
9
votes
1answer
1k views

What is the most compatible tiny X server?

I've been building LFS/BLFS for about a month now, with multiple failures and almost no successes, and I've just been informed that there exist Xorg-like window systems that are incredibly tiny, as ...
17
votes
2answers
28k views

What is the difference between ioctl(), unlocked_ioctl() and compat_ioctl()?

Going through the linux 2.6.36 source code at lxr.linux.no, I could not find the ioctl() method in file_operations. Instead I found two new calls: unlocked_ioctl() and compat_ioctl(). What is the ...
2
votes
2answers
505 views

Problem connecting to linksys wireless using zenwalk

I just recently installed zenwalk linux on my machine, and I am having trouble connecting to my wireless router. I am using the appropriate options such as use encryption, WEP passphrase, the correct ...
23
votes
5answers
1k views

How to strip a Linux system?

I've been building a Linux distro, and I've stripped the binaries, etc. The system won't use GCC or development tools, as it will be a Chrome kiosk, so it would greatly help if I could strip down the ...
6
votes
3answers
4k views

How to generate initramfs image with busybox links?

Having been directed to initramfs by an answer to my earlier question (thanks!), I've been working on getting initramfs working. I can now boot the kernel and drop to a shell prompt, where I can ...
3
votes
1answer
470 views

Is PAE worth it when I have 4GB RAM?

I have 4GB RAM installed on my machine, and I'm considering using all of it (IE, installing PAE-enabled kernel). I heard there's a performance penalty for this, so I wanted to know about other's ...
3
votes
3answers
816 views

Debugging ethernet before NFS boot

I'm trying to boot Linux from U-boot on an embedded ARM board using a filesystem on a remote machine served via NFS. It appears that the ethernet connection is not coming up correctly, which results ...
2
votes
1answer
120 views

Mirror for Fedora core 4 still available?

I'm trying to rebuild ELDK 4.0, which uses Fedora Core 4 as its base. Can anyone direct me to a mirror that still hosts the files?
4
votes
2answers
9k views

How to create .ko files in Linux

I have written one driver for one device in Linux. How can I create (using gcc) a .ko file so that I can insert it into the kernel?
7
votes
1answer
548 views

What files should I copy from Windows into Wine?

As far as I understand Wine runtime does better if some libraries are copied from MS Windows, but some Windows system libraries really are not to be used with Wine (some can even make it stop working, ...
5
votes
2answers
359 views

What Linux distro would you recommend for a big all-purpose LiveUSB?

I am about to buy a 2TB hard drive to have all my scrap in one place. I will split it to some partitions one to store my data, and others to store OS distros and bootable OSes like WinPE and Linux. ...
4
votes
2answers
2k views

joystick as a mouse with Fedora

I would like to use a joystick as a mouse with Fedora 12. I tried js2mouse but didn't work. Is there another solution? How should I configure the system?