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

4
votes
1answer
598 views

Does IO prioritise by the very nature of renicing a task?

The CFQ IO scheduler supports priorities though I am not sure that Deadline does (I believe not). The premise is that when I renice a task it gets a larger share of CPU under the Completely Fair ...
6
votes
6answers
13k views

How does a kernel mount the root partition?

My question is with regards to booting a Linux system from a separate /boot partition. If most configuration files are located on a separate / partition, how does the kernel correctly mount it at boot ...
1
vote
2answers
1k views

iptables rule for local network with free internet blocking unrequested connection from internet to server?

I have a home server (with slackware 13) with a eth0 for the local network and a eth1 for the internet (cable modem with dynamic ip). While I do want to learn more about iptables I am still on the ...
11
votes
2answers
7k views

How to investigate cause of total hang?

My Arch machine sometimes hangs, suddenly not responding in any way to the mouse or the keyboard. The cursor is frozen. Ctrl-Alt-Backsp won't stop X11, and ctrl-alt-del does exactly nothing. The ...
0
votes
1answer
101 views

Kernel - Starting the application

I placed the uBoot loader and the kernel into the raw flash image. This does not contain any root file system. (I copied uBoot and kernel image using dd command to a flash image). Now i have to ...
1
vote
2answers
399 views

Google chat video - Fedora / Google Chrome

The webcam is working, because i can see me with the "Cheese" app. ok..... I installed: google-talkplugin_current_i386.rpm then i opened chrome, and this is what i see: ...
2
votes
1answer
11k views

How do I determine LVM mapping on a physical device?

I have a server (SUSE 11.5) that has two disks. There is only one volume group (vg01). How do I determine the physical device on which that vg exists?
5
votes
3answers
6k views

How to cd to a Windows file share?

At work, I spend a lot of time manipulating files on a networked computer that's running SME Server (but that's set up for Windows filesharing, if that somehow makes a difference). I have been ...
2
votes
1answer
887 views

Where is CONFIG_COMPAT_VDSO in make menuconfig?

I'm trying to compile a Linux Kernel to run light and paravirtualized on XenServer 5.6 fp1. I'm using the guide given here: ...
9
votes
7answers
17k views

How do I work with GUI tools over a remote server?

I have an Ubuntu server running on EC2 (which I didn't install myself, just picked up an AMI). So far I'm using putty to work with it, but I am wondering how to work on it with GUI tools (I'm not ...
2
votes
1answer
183 views

Only output printable chars OpenWrt

perl is not a very good idea, because it's an OpenWrt router, so not enough space for it. "cat -v" doesn't works, because it doesn't supports the "-v" option Any ideas? :\ Here's a bad text: ...
0
votes
2answers
4k views

How can I get the error code (exit code) of “xdg-mime query filetype” command?

I ran xdg-mime query filetype <file name> to check the MIME type of a file, and it failed. How can I print the error code (exit code) of the xdg-mime command? I want to know what error ...
3
votes
2answers
1k views

Why does `xdg-mime query filetype …` fail to find a new added file type?

I installed a new file type to share MIME database. But xdg-mime query filetype cannot tell the new type. This problem only happens on my own Linux OS which does not use GNOME or KDE as its desktop. ...
7
votes
4answers
360 views

How can I safely give a shell to somebody?

I have a question about giving a shell account to somebody. How safe is it? He could read /etc. How can I give a secured shell account that will only restrict the user to some bins and his own home? ...
0
votes
1answer
415 views

Setting a Multi-Terminal Linux Server

So Im a complete newb when it comes to enterprise level linux distros, and linux servers in general. I know my way around Most Linux Desktops, but Im going to be setting up a small Linux Server that ...
4
votes
3answers
388 views

Is it possible to simulate “no external access” from a Linux machine when developing?

Sometimes I upload an application to a server that doesn't have external internet access. I would like to create the same environment in my machine for testing some features in the application and ...
1
vote
1answer
1k views

Device names for logical volumes

Consider this: # fdisk -l /dev/sda Disk /dev/sda: 298.9 GB, 298999349248 bytes 255 heads, 63 sectors/track, 36351 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot ...
1
vote
1answer
2k views

How can I get an ELO Touch Screen to work?

I have bought a new touchscreen POS machine and I have installed fedora 14 on it. I couldn't make the touch screen work, as the ELO touch manufacturers have drivers only for kernel 2.6.14 versions. ...
0
votes
1answer
551 views

Hide referer with privoxy

How can i set a privoxy rule in the user.action file to block the referer information on any site?
2
votes
1answer
386 views

How is MIME type “text/html” registered to shared-mime-info? Where is its *.xml file?

On Ubuntu 10.10, which XML file under the directory /usr/share/mime/applications is for MIME type text/html? I checked xml.xml and xhtml+xml.xml, but neither has a glob pattern of *.html. So where is ...
4
votes
3answers
514 views

Multicasting in Linux

I want to do multicasting in linux for the video/audio/data file transmission. Is there any utility/tool to do so ?
7
votes
2answers
242 views

Hibernate and security considerations

How do Linux and OSX handle sensitive memory pages (e.g. cryptographic keys) when running OS is suspended to disk? If the memory image written is encrypted, how are its keys handled?
2
votes
2answers
3k views

Numbering convention for the linux kernel?

What is the convention for numbering the linux kernels? AFAIK, the numbers never seem to decrease. However, i think I've seen three kinds of schemes 2.6.32-29 2.6.32-29.58 2.6.11.10 Can anybody ...
3
votes
1answer
2k views

Privoxy redirect rule for Wikipedia

I have a few Privoxy rules, that can redirect HTTP Wikipedia [en,de] traffic to HTTPS: (a little part from the "user.action" file) { ...
0
votes
1answer
494 views

I am failing to build gudev with JHBuild

When I run jhbuild buildone gudev I get: <SNIP> Making all in . CC extras/gudev/extras_gudev_libgudev_1_0_la-gudevclient.lo CC ...
2
votes
2answers
312 views

Different sleep binaries on Mac (Darwin) and in Linux. How to properly handle the differences?

In my Linux box, sleep accepts seconds, minutes and hours. So: sleep 10m Sleeps for 10 minutes (or 600s). sleep on Mac only accepts seconds as argument. sleep 10m doesn't work, only sleep 600s. ...
7
votes
1answer
3k views

Can new glibc versions be used with an old kernel?

Apparently glibc can be compiled with --enable-kernel to support older kernel versions. However, I haven't been able to find information on what kernel versions are supported on a particular glibc ...
4
votes
1answer
3k views

Terminal charset / font

I want to write a game which runs in a terminal. I do some terminal coloring and wanted to use some unicode characters for nice ascii art "graphics". But a lot of unicode characters aren't supported ...
3
votes
2answers
461 views

How limited is the Linux-based distribution on the Nokia n900?

I am interested what N900 can do with Linux-based Maemo 5 system installed. Can it for example: Compile c++ or java files? Hack into wifi (I meant advanced wlan card features) Create own wifi ...
3
votes
1answer
158 views

Filesystem and journal layout

Is there any tools or some way in linux which can be used to view internals of filesystems ? How to view the inode related structures and journal ? and cached pages of files (pagecache).
5
votes
1answer
2k views

How to view bad blocks on mounted ext3 filesystem?

I've ran fsck -c on the (unmounted) partition in question a while ago. The process was unattended and results were not stored anywhere (except badblock inode). Now I'd like to get badblock ...
2
votes
1answer
881 views

Dump Page table layout (KERNEL CONFIG)

While configuring kernel for debugging found this option: CONFIG_X86_PTDUMP: Export kernel pagetable layout to userspace via debugfs Does this mean RAM page-table layouts ? any guides on how ...
6
votes
2answers
3k views

Why is there a discrepancy in disk usage reported by df and du? [duplicate]

I have a Linux(CentOS) server, the OS+packages used around 5GB. Then, I transferred 97GB data from a Windows server to two folders on this Linux server, after calculated the disk usage, I see the ...
6
votes
6answers
8k views

Lightweight X11 alternative available?

Is there any lightwight X11 alternative suited for old systems? (Say, 1GHz and 256-314MB RAM)
3
votes
1answer
719 views

Can splice()/tee() be made to work with sockets, and not merely pipes?

On Linux, the system calls splice(2) and tee(2) are used to transfer data between two file descriptors. One or both of the file descriptors must be a pipe, according to documentation. Why? Can this be ...
2
votes
1answer
922 views

Where can I find information on Linux device driver parameters?

I want to work on Linux module programming (Device Drivers). And as a my college project I have to do profiling or benchmarking of a kernel modules based on various parameters. Everywhere I looked, I ...
4
votes
2answers
485 views

Is there a way to find out which program is segfault-ing?

I have a Busybox/Linux system where a mystery program is segfaulting rarely. Is there a way to find which program is doing this?
57
votes
10answers
40k views

How do I choose a graphics card for Linux?

I'm building or buying a new Linux system, and I'm trying to select the best graphics card for my needs. How do I go about making this decision? There's dozens of computer-gear review sites which ...
3
votes
5answers
9k views

setserial /dev/ttyS4: Cannot set serial info

So, I have a board with 6 hardware serial ports: the first 2 on the ETX bus and the last 4 on the ISA bus. The following configuration is how it is supposed to be: /dev/ttyS0 port 0x03F8 irq 4 ...
6
votes
2answers
1k views

Is it possible to transfer a running process to your terminal? [duplicate]

Possible Duplicate: How can I pause up a running process over ssh, disown it, associate it to a new screen shell and unpause it? It is fairly easy to disown a process, or make it run ...
8
votes
3answers
4k views

How can I monitor disk I/O in a particular directory?

I've got a few processes with a known name that all write to files in a single directory. I'd like to log the number of disk block reads and writes over a period (not just file access) to test whether ...
18
votes
7answers
7k views

Linux equivalent to ReadyBoost?

Is there a kernel module or some other patch or something similar to Windows' ReadyBoost? Basically I'm looking for something that allows disk reads to be cached on a Flash drive.
4
votes
1answer
963 views

Booting without initrd

Is it possible to boot linux without a initrd.img ? I am planning to add default drivers as a part-of-kernel itself and avoid initrd completely. What are the modules that should be made ...
3
votes
3answers
6k views

Why is file ownership inconsistent between two systems mounting the same NFS share?

I have one IBM AIX server (serverA) which is connected to the san storage. I have created a volume group and also file system (jfs2) and mounted to directory /profit. After that I created a NFS ...
2
votes
1answer
1k views

Creating new initrd without installing kernel

How can i create initrd image for a new(experimental) kernel without actually installing it. (Existing tools to create initrd based on config and details from installed kernel.) Say i compile a new ...
1
vote
2answers
639 views

Remote VNC from Fedora to Ubuntu

PC-A: remote Ubuntu box PC-B: my local Fedora box PC-A [via ssh]: apt-get install tightvncserver and i gived a good password ok! PC-B: yum install vinagre i flushed all my iptables rule And i ...
3
votes
2answers
726 views

How to remove length limit from losetup -a

I am using losetup -a to see my loop devices, but it has a length limit (which is 62 characters). So I can't know for sure which loop device I really want. Ex: [root@r7byach]# losetup -a ...
3
votes
3answers
2k views

VPN on Fedora Linux?

I'm looking to install and setup a VPN on my Linux installation which is Fedora 14. At the moment the only one I know of is OpenVPN but I'm wondering if this the best option for Fedora or if Fedora ...
7
votes
4answers
3k views

Is there something like wine to run OSX apps on linux?

This question answers why Linux can't run OSX apps, but is there some application similar to Wine that allows one to do so?
4
votes
3answers
2k views

Permissions issues for shared directory on a server

The setup is we have a VPS running Debian Squeeze, and I've set up a shared directory for us to share files. So far I've followed this guide: ...