To show the list of flags and langs together with a rpm files list:
rpm -q --queryformat '[%{FILEFLAGS:fflags}\t%{FILELANGS}\t%{FILEMODES:perms}\t%{FILENAMES}\n]' <package>
Complete list of rpm tags:
rpm --querytags
To show the list of flags and langs together with a rpm files list:
rpm -q --queryformat '[%{FILEFLAGS:fflags}\t%{FILELANGS}\t%{FILEMODES:perms}\t%{FILENAMES}\n]' <package>
Complete list of rpm tags:
rpm --querytags
While trying to un-blank monitor in a script, I stumbled over various ways to send fake X11 events (for example keyboard ones). Most tools use the XTest X11 extension (like we do in our numlock helper), like Claudio's Anarkey.
For example, xdotool is a rather complete tool to simulate of lot of X11 events, allowing to send keyboard, mouse, and window events.
When turning a monitor off and on (with xset dpms force on) from scripts, the monitor may not be un-blanked automatically.
A trick is to run xset s reset to reset the screensaver and force un-blank (some suggest to use xset s activate, which works, but does not look correct).
This LFS script allows to extract supported PCI IDs from X.org drivers, by dlopen()ing them http://wiki.linuxfromscratch.org/livecd/browser/trunk/packages/xorg-udev-rules/extract_pci_ids.c
For the record, the Makefile uses a weird trick to export Xorg symbols /o\
nm -D /usr/bin/Xorg | egrep ' (B|D) ' | cut -d ' ' -f 3 | grep -v __
SCSI drivers are limited to 15 partitions, kpartx can be used to get more partitions: https://bugzilla.novell.com/show_bug.cgi?id=218122
all install: make $(MAKECMDGOALS) -C po
From taskset(1):
taskset is used to set or retrieve the CPU affinity of a running process given its PID or to launch a new COMMAND with a given CPU affinity. CPU affinity is a scheduler property that "bonds" a process to a given set of CPUs on the system. The Linux scheduler will honor the given CPU affinity and the process will not run on any other CPUs.
It's actually quite easy to test the stage2 installer, I don't know why I'm so resistant to do it.
sudo urpmi /SRPMS/contrib/release/drakx-installer-stage2-10.4.171-1mdv2008.0.src.rpm
cd ~/vc/mandriva/soft/drakx/trunk/perl-install/install make make install
sudo make install_pms
List of upstream bugs in migration-assistant: https://bugs.launchpad.net/ubuntu/+source/migration-assistant/
Some useful notes about XCB integration in libx11:
The MIT-SCREEN-SAVER extension of the Xserver allows to control screensaver features, but also to query screensaver info on specific windows.
XScreenSaverQueryInfo() allows to know the time since the last input was received from the user on any of the input devices, which is quite useful to detect if there is some activity in a window (used by pidgin to set away status).
The kernel allows to pass <irq>,<io>,<mem_start>,<mem_end>,<name> options to interfaces using the netdev= option and the deprecated ether= one (kernel-parameters.txt)
Surprisingly, the mem_start option does not match at all its initial meaning (in the context of shared memory). And the Linux devices drivers book does not clearly states that it is now used otherwise.
The Ethernet HOWTO documents it as PARAM_1, which is not very meaningful on purpose. Some drivers uses this mem_start/PARAM_1 field for debugging purposes, some for DMA channel selection, and most for media type (if_port, which can be IF_PORT_10BASET or IF_PORT_100BASETX for example). This is the case in the epic100 driver, which I stumbled upon on old bug #888
X.org 7.3 introduces input devices hotplug (wiki) (announce). The X server now registers a D-Bus name, which allows to add/remove input devices on the fly using simple D-Bus requests. A simple python server as been posted, it watches HAL device events and forwards them to the X server if appropriate.
From /soft/ldetect-lst/trunk
MODULE=at76_usb grep $MODULE /lib/modules/`uname -r`/modules.usbmap > $MODULE.usbmap ./convert/merge2pcitable.pl kernel_usbmap $MODULE.usbmap lst/usbtable > usbtable diff -u lst/usbtable .