On Tue, 2013-04-09 at 01:30 +0200, [email protected] wrote:
> Wait!! What???
> I'm horrified by what you are actually telling!!

On my machine there already is a Freemason/Illuminati Order-command
called lmount, I'm not allowed to give additional information and
there's Novell installed on my machine:

[rocketmouse@archlinux ~]$ sudo lmount -w suse11.2
[sudo] password for rocketmouse: 
[rocketmouse@archlinux ~]$ cat /mnt/suse11.2/etc/issue
Welcome to openSUSE 11.2 "Emerald" RC 1  - Kernel \r (\l).

42 btw. is a miscalculation, _I'm two_ mice [1] who own the computer
called "earth" to recalculate it.

[rocketmouse@archlinux ~]$ ls -l /home
total 8
drwxrwx--- 12 rocketmouse          29 4096 Nov 12 18:26 music
drwx------ 28 rocketmouse rocketmouse 4096 Apr  8 22:34 rocketmouse
lrwxrwxrwx  1 rocketmouse rocketmouse   11 Mar  8 18:44 spinymouse -> 
rocketmouse

[1] There isn't such as "Holy Trinity", it is "Holy ambivalency/ego-dystonia".

Breaking the vow of silence, there's a lmount github without an repository, but 
it's not from me.

[rocketmouse@archlinux ~]$ cat /usr/local/sbin/lmount
#!/bin/sh

# /usr/local/sbin/lmount

case $1 in
      -r|-w) mkdir -p /mnt/$2
             if [ -e "/media/$2" ] ; then :
             else
               ln -s /mnt/$2 /media/$2
             fi
             case $1 in
               -r) mount -rL$2 /mnt/$2;; 
               -w) mount -wL$2 /mnt/$2 -o noatime;;
             esac ;;
         -u) umount "$(blkid -L$2)"
             rm /media/$2; rmdir /mnt/$2;;
  --help|-h) echo
             echo "Usage of /usr/local/sbin/lmount"
             echo
             echo "mount read-only"
             echo "  lmount -r <label>"
             echo "mount read/write noatime"
             echo "  lmount -w <label>"
             echo "unmount"
             echo "  lmount -u <label>"
             echo ;;
esac
exit

[rocketmouse@archlinux ~]$ cat /usr/local/bin/tmount
#!/bin/sh

# /usr/local/bin/tmount

case $1 in
  --help|-h) echo
             echo "Usage of /usr/local/bin/tmount"
             echo
             echo "mount read-only"
             echo "  tmount -r <label>"
             echo "mount read/write noatime"
             echo "  tmount -w <label>"
             echo "unmount"
             echo "  tmount -u <label>"
             echo; exit;;
         -u) gksudo "lmount $*";;
          *) gksudo "lmount $*"; thunar /mnt/$2; gksudo "lmount -u $2";;
esac
exit

I needed to remove gvfs from my Xfce, because it makes my external USB
drive spin down and up again and again, this is just an unfinished
workaround.


_______________________________________________
D-community-offtopic mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/d-community-offtopic

Reply via email to