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

17
votes
2answers
29k 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
471 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
10k 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
550 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?
7
votes
1answer
1k views

Is Ramdisk and initrd the same?

While reading through the kernel documentation on ramdisk in ramfs-rootfs-initramfs.txt i was having a doubt like the ramdisk explained there is same as the initrd features described in the post at ...
1
vote
1answer
1k views

What is the significance of Linux's Disk caching Mechanisms?

I would like to know the exact meaning and significance of Linux's Disk caching Mechanisms. In one of the articles I have read, page cache and dentry cache are two forms of them. Could somebody ...
1
vote
0answers
224 views

kernel compilation error [duplicate]

Possible Duplicate: Kernel can't find /dev/sda file during boot I got the following errors after new kernel compilation (linux-2.6.25.tar.bz2) mount: could not find filesystem ...
1
vote
1answer
123 views

Is it possible to compile a code from within target?

I have a target in which i have the toolchain installed with the RFS image. If i have the kernel source code in some PC in the network which i can mount via NFS, is it possible to compile the source ...
13
votes
1answer
13k views

What is [jbd2/dm-3-8] and [kdmflush]? And why are they constantly on iotop?

The title says it all. Using Fedora for a small Samba and development server.
4
votes
7answers
3k views

Linux distribution that offers a good KDE experience

I have been a Gnome user for years (8 years), and I'm looking for recommendations and comparisons of Linux distributions that offers good KDE integration/experience. Some details to mention: the ...
8
votes
1answer
453 views

Bandwidth control in linux

How do I control both the inbound and outbound bandwidth in a RHEL 5 router?
71
votes
12answers
251k views

How do I find out what hard disks are in the system?

I need to know what hard disks are available, including ones that aren't mounted and possibly aren't formatted. I can't find them in dmesg or /var/log/messages (too much to scroll through). I'm hoping ...
6
votes
2answers
899 views

Do I need to cross-compile my program when my target is 64 bit arch. and host is 32 bit arch from x86 family?

I have scenario in which my host is : x86 32 bit processor my target is : x86 64 bit processor I have a couple of questions : I want to know if i can simply compile a program in my host using ...
6
votes
4answers
4k views

How many cores can Linux kernel handle?

I'm interested in theoretical limits, perhaps with examples of systems having huge numbers of CPU's.
32
votes
10answers
12k views

A tool for automatically applying RandR configuration when external display is plugged in

is there a tool which enables one to: remember current RandR configuration (position, orientation, resolution etc) on per-monitor basis, automatically apply last known good configuration as soon as ...
2
votes
3answers
152 views

Linux advice for datalogging machine

I've been asked whats the cheapest/easiest/most reliable way to use Linux as a webserver/mysql DB machine. Is it going to be buying a really old PC and putting Linux on it or what i'd rather do is get ...
2
votes
1answer
252 views

clear(1) after detach in GNU screen

I run irssi in screen and I want screen to automatically blank the terminal (scrollback) after detach. I found out that screen has a command called "blanker" that can clear the screen, but I don't ...
4
votes
3answers
534 views

How can produce an “installer” in Linux?

How can I produce an installer for a set of source codes for a specific application in Linux? Also, what are the actions happening when one installs software in Linux?
6
votes
3answers
647 views

Access to original contents of mount point

On my headless NAS I have sdf1 (a flash-card) mounted as / while /home is mounted from lv00 (an LVM volume backed by a software RAID). To be able to access the machine when the RAID fails, I have a ...
17
votes
2answers
13k views

Reply on same interface as incoming?

I have a system with two interfaces. Both interfaces are connected to the internet. One of them is set as the default route; a side effect of this is that if a packet comes in on the non-default-route ...
54
votes
5answers
39k views

What is a Superblock, Inode, Dentry and a File?

From the article Anatomy of Linux File Systems by Tim Jones, I read that Linux views all the file systems from the perspective of a common set of objects and these objects are superblock, inode, ...
7
votes
6answers
4k views

Sync writes very slow. Ubuntu 10.10, 32 bits, ext4

I am running ActiveMQ on my Macbook Pro that runs Ubuntu 10.10, 32 bits with an ext4 partition. Linux iker-laptop 2.6.35-23-generic-pae #40-Ubuntu SMP Wed Nov 17 22:32:51 UTC 2010 i686 GNU/Linux If ...
19
votes
5answers
8k views

What is the difference between ls and l?

I accidentally typed l instead of ls today and found that the command still printed a list of the files in my current directory. Trying l --help brings up the help file for ls suggesting that l is ...
4
votes
1answer
1k views

How to make my Linux tcsh prompt bold?

Greeting all, I am attempting to make my Linux tcsh prompt bold. However I'm failing miserably. I know about escape codes and I can successfully make echo'ed output bold, but I can't seem to do it ...
2
votes
3answers
346 views

Single CD install of a RHEL-like distribution?

Can someone suggest a RHEL-like distribution that can install from a single CD? I am looking for a distribution where services are started from /etc/init.d, environment variables are set from scripts ...
8
votes
1answer
1k views

Dual network connection

I have a usb cellular modem and a Home LAN connection on my Ubuntu 10.10 box. Both work independently. I want to know how to have both connected at the same time, and be able to specify which ...
7
votes
2answers
9k views

Force dhcp client to get a new lease

I have a linux DHCP server running on my network. I recently found out that I can assign specific IP addresses to clients based on their MAC address by modifying the dhcpd.conf file. Now is there ...
111
votes
5answers
30k views

Is Linux a Unix?

So, there are lots of different versions of Unix out there: HP-UX, AIX, BSD, etc. Linux is considered a Unix clone rather than an implementation of Unix. Are all the "real" Unices actual descendants ...
5
votes
1answer
864 views

Switch display output without rebooting but not in Xorg

My graphic card has two output (VGA and DVI). Is it possible to switch from one to the other without rebooting ? It works in Xorg by restarting the X server (I guess it should be doable with xrandr ...
19
votes
7answers
11k views

Linux boot loaders supporting full disk encryption?

Are there any Linux boot loaders supporting full disk encryption (a la TrueCrypt). I know there was work towards adding encryption support to GRUB2, but this does not seem to be ready yet. Any other ...
4
votes
2answers
2k views

How do I use dhcpcd in openwrt instead of udhcpc?

I'm trying to determine the reason my router is not syncing up to my ISP, I do suspect snafu on their end so I'm trying to replicate my desktops setup which includes using dhcpcd. Problem is I don't ...
1
vote
1answer
477 views

Stuck on “Determining IP information for wlan0” at boot

In my struggles to install ClearOS correctly, I now have another problem: After the first boot I keep getting stuck on "Determining IP information for wlan0...". It doesn't move forward at all. I've ...
3
votes
1answer
2k views

Can't get the '-o remount' option on an NFS share to work in Slackware 13.1

I've had rsnapshot working under Slackware 13.0 for a few months. In my /etc/rsnapshot_<interval> scripts I first have it run is mount -o remount,rw then the very last thing it does is a mount ...
5
votes
1answer
3k views

Why do my SATA devices show up under /proc/scsi/scsi?

I have 3 SATA devices on my system. They show up under /proc/scsi/scsi, although these are not SCSI devices. Why do my SATA devices show up under the SCSI directory? $ cat /proc/scsi/scsi Attached ...
4
votes
3answers
950 views

Why would I keep home directories in /var/home?

As far as I understand, the traditional place for home directories is beneath /home. Some Linux variants seem to keep them in /var/home, what's the reason for that?
4
votes
1answer
412 views

Are there any Workload Management subsystems for Linux?

Asked this on superuser, got no response: Can anyone tell me of the status/state of WLM (Workload Management) kernel scheduler systems in Linux? Alternatively, any user-space process goal-based load ...
3
votes
1answer
1k views

The caps lock and scroll lock lights are flashing and everything is frozen

I was using a small Linux distro that was running X11 with JWM as its window manager. I was browsing a directory when all of a sudden the mouse froze and the keyboard became unresponsive. The caps ...
1
vote
1answer
271 views

Good graphics card for TV-Out

I am looking for a graphics card (AGP) with a TV-Out (SVideo or Composite) that is not a PITA with X. I guess it depends on the driver/X-Server. The card needs to be small and should not have a huge ...
8
votes
1answer
1k views

Why does the linux kernel use linux-libre code to get rid of binary blobs?

I ask this question because I'm curious as to whether there is some sort of performance advantage offered from the binary blobs that are in the Linux kernel. Since many of these blobs have been ...
7
votes
3answers
10k views

/etc/cron.daily/foo : Send email to a particular user instead of root?

I'm running CentOS 5.5. We have several cronjobs stored in /etc/cron.daily/ . We would like the email for some of these cronjobs to go to a particular email address, while the rest of the emails in ...
3
votes
2answers
406 views

Getting the number and names of windows in Xvfb

I am currently working with Xvfb to grab the screenshots of my programs. Is there a way to determine the number and the names of the windows that are currently "displayed" in Xvfb? Where can I find ...
1
vote
2answers
319 views

forwarding DHCP packets

I've got this configuration: WRouter ->(by wifi) Computer1 And I want to add another computer (computer2) connected by cable to computer1. Is it possible then to configure computer1 to forward ...
2
votes
1answer
1k views

How to uninstall RHEL from a dual-boot system?

I had RHEL 5 and WinXP on dual-boot and then from WinXP I deleted those partitions which were allocated to RHEL. Now I am not able to start my computer. The booting process stops at grub. I tried ...