nav-left cat-right
cat-right
Home » Blog » 2007 » März

shell: is the device mounted ?...

The following function allows to test if a device is already mounted. (weiterlesen…)

shell: does the server exist ?...

The following function allows to test for the existens of a server in the network via ping, but with a better interface (weiterlesen…)

bash: Copy everthing except …...

If you want to copy multiple files, keep the permission, and want to exclude multiple files from being copied this can be done with the following code:

tar cp --exclude-from=$EXCLUDE $FROMDIR | (cd $DESTDIR ; tar xpv)

$EXCLUDE contains the file that contains the folders and files that shall be exluded. It can be created and filled with

EXCLUDE="exclude.txt"
touch $EXCLUDE
echo "$HOME/.kde" >> $EXCLUDE
echo "$HOME/.texmf" >> $EXCLUDE
echo "$HOME/.cxoffice" >> $EXCLUDE

Other solutions for this problem are possible as well. Especially rsync should be a good candidate.

Find the programm, that prohibits the unmounting o...

The simple solution is the command “lsof” which means “list of files”, invoked with

lsof /dev/hdc

if /dev/hdc is the cdrom would give the list of files and programs which prohibit unmounting.

D-Link DWL-G510 with OpenSuse 10.2...

  1. State of driver in Opensuse 10.2
  2. Installation of rt61 drivery
    1. rt61sta.dat
    2. ifcfg-wlan-id-00:17:9a:b8:59:c1
    3. possible problems

State of driver in Opensuse 10.2

Opensuse 10.2 is using a driver for this card which is completely unusable. The driver that is installed is called “rt61pci”. This however requires firmware that does not come with Opensuse 10.2, which leads to the following error when loading the module
rt61pci->rt61pci_init_firmware_cont: Error - Failed to load Firmware.
(weiterlesen…)
Page 1 of 3123»