Lieber Besucher, herzlich willkommen bei: GentooForum.de. Falls dies Ihr erster Besuch auf dieser Seite ist, lesen Sie sich bitte die Hilfe durch. Dort wird Ihnen die Bedienung dieser Seite näher erläutert. Darüber hinaus sollten Sie sich registrieren, um alle Funktionen dieser Seite nutzen zu können. Benutzen Sie das Registrierungsformular, um sich zu registrieren oder informieren Sie sich ausführlich über den Registrierungsvorgang. Falls Sie sich bereits zu einem früheren Zeitpunkt registriert haben, können Sie sich hier anmelden.
![]() |
Quellcode |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
#!/bin/bash PRIVATE="$1" if [ "$PRIVATE" == "" ] ; then echo "Kein Private angegenben" exit 1 fi export LC_ALL=de_DE.UTF-8 x11-ssh-askpass "�ffne $PRIVATE" | sudo /sbin/cryptsetup luksOpen /dev/mapper/vg-$PRIVATE $PRIVATE if [ "$?" == "0" ]; then mount /dev/mapper/$PRIVATE if [ -x /media/$PRIVATE/startscript.sh ]; then cd /media/$PRIVATE sudo /media/$PRIVATE/startscript.sh fi Xdialog --msgbox "$PRIVATE läuft" 8 30 else Xdialog --msgbox "Fehler beim Verbinden \nmit $PRIVATE" 8 30 fi |
![]() |
Quellcode |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
#!/bin/bash PRIVATE="$1" if [ "$PRIVATE" == "" ] ; then echo "Kein Private angegenben" exit 1 fi if [ -x /media/$PRIVATE/stopscript.sh ]; then cd /media/$PRIVATE sudo /media/$PRIVATE/stopscript.sh cd ~ fi umount /media/$PRIVATE sudo /sbin/cryptsetup luksClose $PRIVATE |
![]() |
Quellcode |
1 2 3 4 5 6 7 8 9 10 11 12 |
$ cat /usr/share/hal/fdi/policy/10osvendor/99-storage-policy-fixed-drives.fdi <?xml version="1.0" encoding="UTF-8"?> <!-- -*- SGML -*- --> <deviceinfo version="0.2"> <device> <match key="@block.storage_device:storage.hotpluggable" bool="false"> <match key="@block.storage_device:storage.removable" bool="false"> <merge key="volume.ignore" type="bool">true</merge> </match> </match> </device> </deviceinfo> |
![]() |
Quellcode |
1 2 3 |
+ + crypt : Allows HAL to mount volumes that are encrypted using LUKS. sys-fs/cryptsetup-luks which has recently been renamed to sys-fs/cryptsetup allows you to create such encrypted volumes. HAL will be able to handle volumes that are removable or fixed. |
![]() |
Quellcode |
1 2 3 4 5 6 7 8 9 10 11 |
<?xml version="1.0" encoding="UTF-8"?> <!-- -*- SGML -*- --> <deviceinfo version="0.2"> <device> <match key="@block.storage_device:storage.hotpluggable" bool="false"> <match key="@block.storage_device:storage.removable" bool="false"> <merge key="volume.ignore" type="bool">false</merge> </match> </match> </device> </deviceinfo> |
Dieser Beitrag wurde bereits 3 mal editiert, zuletzt von »arminius82« (01.03.2010, 23:55)
![]() |
Quellcode |
1 |
/org/freedesktop/Hal/devices/volume_part1_size_320070288384 |
![]() |
Quellcode |
1 |
/org/freedesktop/Hal/devices/storage_serial_Hitachi_HTS545032B9A300_000000000033_0_0 |
Puhhh... ja, aber etwas mehr Info zu dem Laufwerk (sdb1) hätte ich da schon erwartet..das ist ja schonmal gut das HAL die Platte erkennt.![]()
![]() |
Quellcode |
1 |
[ebuild R ] sys-apps/hal-0.5.13-r2 USE="X acpi apm consolekit crypt disk-partition -debug -dell -doc -laptop -policykit (-selinux)" 0 kB |
![]() |
Quellcode |
1 |
fdisk -l /dev/sdb |
![]() |
Quellcode |
1 |
dbus-monitor |
![]() |
Quellcode |
1 2 3 4 |
Failed to open connection to session message bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken. |
Zitat
Jedoch fragt ich mich immernoch, warum die alte Partitionierung/Verschlüsselung in der LiveCD oder bei Ubuntu gefunzt hat.