von pospiech | Mrz 31, 2007 | Linux
The following function allows to test if a device is already mounted. #!/bin/sh # ——————————————————— # function is_mounted () { # 1. mount aufrufen. # 2....
von pospiech | Mrz 31, 2007 | Linux
The following function allows to test for the existens of a server in the network via ping, but with a better interface #!/bin/sh # ——————————————————— #...
von pospiech | Mrz 31, 2007 | Linux
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...
von pospiech | Mrz 31, 2007 | Linux
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.
von pospiech | Mrz 11, 2007 | Linux
[TOC] 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...
von pospiech | Mrz 11, 2007 | Linux
Everytime I have to look up how to install grub after the mbr got messed up. Therefor here a link to speed up the process… Manual page of Grub about grub-install The important part is the line mount -t ext2 /dev/hda1 /mnt grub-install –root-directory=/mnt...