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

5
votes
2answers
556 views

Is there an analog of apt-pinning in Fedora?

Apt pinning is a feature that allows to set install priority for a group of packages, determined by a number of attributes, such as package version, repository, distro version, etc. See man ...
9
votes
2answers
4k views

Advantages of using a RTOS such as QNX or VxWorks instead of Linux?

When developing a solution that requires a real-time operating system, what advantages would an operating system such an QNX or VxWorks have over Linux? Or to put it another way, since these ...
4
votes
2answers
449 views

Linux package manager architecture

I am looking for a guide on one of Linux Package manager architectures. For example apt-get (dpkg), or yum (rpm). I want to know how they manage the package list, file list, package versions and so ...
1
vote
2answers
677 views

What is the Firefox repository with all dependencies solved?

I'm using Fedora Core 3, and Firefox needs to be upgraded from version 2.0 to some advanced version, such as 3.0 or 3.6. I used the remi repository for yum command, but that repository doesn't contain ...
7
votes
4answers
15k views

How to create a dupe of a KVM/libvirt/virt-manager VM?

I'm a bit lost with virt-manager / libvirt / KVM. I've got a working KVM VM (Windows XP) which works nicely. The VM is backed by a 4GB file or so (a .img). Now I want to do something very simple: I ...
5
votes
2answers
824 views

What is the state of open-source Poulsbo/GMA 500 drivers?

Currently, a causal browse through a number of Linux distros show spotty Poulsbo drivers at best. Has any headway been made recently towards either convincing Intel to coax the driver source out of ...
6
votes
3answers
411 views

SpamAssassin Under Linux VPS

I am getting bald with this guys: On a Linux VPS (CentOS), I have setup a mail server (Exim+Dovecot+Clamav+SpamAssassin) but scanning mail for spam using SpamAssassin is proving to be a challenge. I ...
4
votes
4answers
3k views

Understand error codes in Linux

I am working on Linux (Kernel Version 2.6.32.28) laptop. After I inserted/did file io/removed a SD combo card, I got following errors: mmcblk0: error -123 sending status command mmcblk0: error ...
6
votes
2answers
776 views

Xen/KVM/LXC for testing packages

On Debian Stable, I would like to be able to create a new instance of the OS, use apt-get to install some Unstable packages with dependencies, then cleanly delete the whole thing when I'm done. ...
4
votes
1answer
634 views

How to disable certain system calls for a given user?

I am creating a web app similar to codepad and for each run-action my app copies a directory (/home/radeks/voidptr/private/chroot-root) to /tmp/voidptr/[random-id]/chroot-root. This chroot directory ...
2
votes
1answer
614 views

How to make system automatically mount encrypted device in Linux

When I plug my external storage in , I need to automatically mount it as an encrypted device. How do I make this happen ?
1
vote
2answers
674 views

How can I disable /proc pseudo-filesystem on a shared Linux environment?

Is it possible to disable the /proc pseudo-filesystem to prevent w, ps, top, etc, from showing what other users are doing? Of course, I still want "everything else" to work correctly. Is there a ...
4
votes
2answers
1k views

Need Advice: What Linux distro should I install on an old PowerPC Mac

I'm trying to set up my brother (who has a PPC Mac, with 1 ghz processor and 256 ram) with a Linux distro that would allow him to surf the web on the device. Support has faded for the new browsers, ...
12
votes
4answers
11k views

Mounting USB disks automatically (How it works)

Background: I am trying to mount a usb disk as read only but my ubuntu install is mounting it rw when I plug the disk in. I can unmount the disk manually and remount it manually as read only with ...
2
votes
1answer
181 views

Add latency when accessing certain websites under linux

I've been playing with tc on my local machine. sudo tc qdisc add dev eth0 root netem delay 2000ms adds a 2-second latency to all traffic going through eth0. What I want is to be able to limit this ...
4
votes
2answers
3k views

Iso booting with grub2

I am using Linux Mint 10, and it is installed on sda8. I edited /etc/grub.d/40_custom: #!/bin/sh echo "Adding 40_custom.">&2 exec tail -n +3 $0 # This file provides an easy way to add custom ...
5
votes
3answers
218 views

How to check why the cdrom cannot be open exclusively

Sometimes when I try to burn an ISO image, the message that "/dev/sr0" cannot be open exclusively appears. lsof does not shows any program that opens "/dev/sr0" (I checked for aliases too).
24
votes
7answers
23k views

Disable screen blanking on text console

I'm running linux clusters, mostly on SLES10. The servers are mostly blades, accessed via remote console. There is a real console in the server room, but switched off. I would like to disable the ...
8
votes
2answers
388 views

Connect alauda driver to an mtd device

I have a USB card reader, an Olympus MAUSB-10. It provides direct flash access to SmartMedia or xD cards, using the Linux alauda driver. This is different from a typical card reader which just ...
3
votes
2answers
2k views

How to get vodafone mobile connect (or equivalent) working reliably on debian squeeze

I got a Vodafone K3760 at some point in Debian/Lenny's lifetime, for use with a Lenovo S10e. I installed (from the Vodafone BetaVine site) usb-modeswitch 0.97 and vodafone-mobile-connect (VMC) ...
2
votes
2answers
325 views

Video Watermarking

I am looking for a solution in which I can add watermark to the given video at given frame. Is there any utility/tool to do so ?
16
votes
5answers
2k views

How is the linux graphics stack organised?

Can anybody explain(hopefully with a picture), how is the linux graphics stack organised? I hear all the time about X/GTK/GNOME/KDE etc., but I really don't have any idea what they actually do and how ...
8
votes
1answer
2k views

Difference between /usr/include/sys and /usr/include/linux?

Well, obviously there is a difference, but I'm curious about the rational behind why some things go under /usr/include/sys and others go under /usr/include/linux, and have the same header file name? ...
3
votes
1answer
201 views

A short tutorial on how a linux distro is organized and supposed to work

I need a tutorial , preferably with pics/diagrams to get oriented to how a typical Linux distro. is organized and used (including the basic software installation work flow). It shouldn't be a 500 ...
7
votes
4answers
2k views

Debugging Linux machine freezes

I have 15 identical Linux RH 4.7 64-bit severs. They run cluster database (cluster is application level). On occasion (every month or so) a random box (never the same though) freezes. I can ping the ...
15
votes
4answers
7k views

Binary compatibility between Mac OS X and Linux

Brace yourselves, this question will likely appear naive and/or foolish, seeing as I am relatively new to the inner workings of unix like systems, and programming in general. Ready? Ok! I will go ...
2
votes
1answer
2k views

Customized XDM-based login screen

I am in the process of creating a lightweight yet full-featured Linux disto and don't want to include a whole bunch of unnecessary or bloated software. It is supposed to run off a USB flash drive. I ...
2
votes
2answers
737 views

rsync via ssh from linux to windows sbs 2003 protocol mismatch

I am trying to backup my linux webserver to our local windows sbs 2003 server in the office. I have set up ssh and cwrsync on the windows server and have confirmed that the linux server can reach the ...
8
votes
2answers
19k views

How to find out which Wi-Fi driver is installed?

I know about lsmod, but how do I figure out which driver does what?
4
votes
4answers
8k views

Linux distribution for the AMD Geode LX 800 (i586) [closed]

The manufacturer recommendfs RH9 (ugh) and many of the google search hits come up with comments from 2006/7 which detail xorg problems with the AMD video driver and I'm hoping someone here has had ...
9
votes
2answers
9k views

Bash Script on Startup? (Linux)

Is there any way to make/run a bash script on reboot (like in Debian/Ubuntu for instance, since thats what my 2 boxes at home have) Also, any recommended guides for doing cron jobs? I'm completely ...
1
vote
1answer
523 views

How can I get real-time information about monitor plug/unplug events?

When I connect or disconnect the USB device, udev shows/monitors that event. But udev is not enough smart to detect the plug-out or plug-in of the monitor. Is there any way/tool/utility from which I ...
1
vote
3answers
4k views

Reading EDID from EEPROM

From the link: http://en.wikipedia.org/wiki/Extended_display_identification_data The EDID is often stored in the monitor in a memory device called a serial PROM (programmable read-only memory) or ...
12
votes
4answers
3k views

Read the stack of another process?

I'm trying to read a child process's stack but with no luck. I know it is possible using ptrace, but ptrace's interface allows you to read only one word at a time, and I'm trying to scan a larger ...
13
votes
4answers
9k views

What is the meaning of $? in a shell script?

When going through one shell script, I saw the term "$?". What is the significance of this term?
1
vote
1answer
666 views

CCD cam to USB - AV grabber for linux

I was wondering if there is an AV Grabber that supports Linux. I have IC-348 model I.C.U (international camera unit) camera made in P.R.C, which uses a Sony CCD 420TVL. I want to grab the video output ...
2
votes
2answers
344 views

Linux installation on an extended drive related

I just want to install another version of same distro linux into the extended partition, i. e. into the /dev/sda7. Does it make any problem into current Linux and its data and contents? If no, I ...
4
votes
2answers
2k views

Remapping caps-lock to escape, and menu to compose, on the linux console

When running X I use a .xmodmaprc to remap certain keys thusly: ! Make it so that both Caps Lock and Escape do Escape clear Lock keysym Caps_Lock = Escape ! Remap the menu key as Compose keysym Menu ...
5
votes
4answers
3k views

Copy a File From One Zip to Another?

I have a file named 'sourceZip.zip' This file ('sourceZip.zip') contains two files: 'textFile.txt' 'binFile.bin' I also have a file named 'targetZip.zip' This file ('targetZip.zip') contains ...
12
votes
2answers
7k views

Linux: Writing a watchdog to monitor multiple processes

A few years ago, a coworker came up with an elegant solution for a watchdog program. The program ran on Windows and used Windows Event objects to monitor the process handles (PID’s) of several ...
1
vote
0answers
286 views

error booting the custom compiled kernel 2.6.37 on ubuntu 10.04 : gave up waiting on root device [duplicate]

Possible Duplicate: Kernel can't find /dev/sda file during boot Hi, I know this is very common problem and there are many threads discussing it. However after trying many solutions ...
6
votes
2answers
3k views

Edid information

I want to gather the Edid information of the monitor. I can get it from the xorg.0.log file when I run X with the -logverbose option. But the problem is that If I switch the monitor (unplug the ...
18
votes
4answers
1k views

Why does Linux scale so well to different hardware platforms?

Why does Linux run well on so many different types of machines - desktops, laptops, servers, embedded devices, mobile phones, etc? Is it mainly because the system is open, so any part of it can be ...
2
votes
1answer
2k views

Simple example of using Fedora alternatives to install old version of make

Can anyone help me using the Fedora alternatives system in order to install an old version of make? I know the actual program is irrelevant, but I need it so I'll use it as my example. I currently ...
0
votes
2answers
2k views

How to run a shell script containing an awk command

How to run this script (called count.sh)? awk 'BEGIN{ x=0 ; while (x < 5) { x+=1 ; print x ; } }' I'm trying to run it with sh count.sh but it's giving me an error.
3
votes
2answers
2k views

Dual-boot OS X and Fedora

I'm trying to install Fedora (dual-boot) on a brand-new MacBook Pro. The live/installer CD runs flawlessly on the machine, which was a nice surprise. But after the install is completed, I cannot ...
3
votes
2answers
420 views

How do I profile the kernel?

I'm having issues with a kworker process during system boot and I'd like to get such a nice call graph like Linus Torvalds posted here. How would I do this?
11
votes
2answers
9k views

Run process with higher priority

I want to run mplayer with higher priority than any other processes, including the IO-processes. How can I do that?
11
votes
3answers
3k views

What file systems on Linux store the creation time?

Are there any (good known, reliable) file systems on Linux that store the creation time of files and directories in the i-node table? If there are, is the "changed" time replaced by the creation ...
3
votes
2answers
1k views

I no longer have smart bash completion for normal user

I created a new user on our Ubuntu server and I no longer have the bash auto/smart completion (pressing tab once finishes your current phrase if possible. Two tabs give you a ls). Smart complete ...