rumount
Da es ja ein mount -r gibt habe ich mir mal ein rumount geschrieben.
./rumount pfad
#!/bin/bash cat /proc/mounts | grep $1 | cut -d " " -f2 | tac | xargs -n1 umount exit 0
Da es ja ein mount -r gibt habe ich mir mal ein rumount geschrieben.
./rumount pfad
#!/bin/bash cat /proc/mounts | grep $1 | cut -d " " -f2 | tac | xargs -n1 umount exit 0
Veröffentlicht am: 07.09.2010 | publiziert in: bash, Linux
Dies ist ein Blog von Christoph Hüffelmann, geschreiben mit WordPress Feet (RSS).