ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Oleg Dolgov <dolgov@mail.zp.ua>
To: community@lists.altlinux.org
Subject: [Comm] Re: Re: Re: Re: ИНЖЛФ ДОХ ПТРЦЛЖТАЧРЛХ encfs
Date: Wed, 02 Nov 2005 16:13:56 +0200
Message-ID: <pan.2005.11.02.14.13.55.678431@mail.zp.ua> (raw)
In-Reply-To: <43685B03.7060700@rambler.ru>

В письме Wed, 02 Nov 2005 09:21:55 +0300, Vasya Makarov
написал:
> gksu с паролем и без терминала?

Песня :-) Спасибо.
---------------------------
#!/bin/sh
if [ -z $DISPLAY ]
then
        sudo encfs --public /opt/cr/.cr /mnt/CR1
else
        gksu -p | sudo encfs -S --public /opt/cr/.cr /mnt/CR1
fi
----------------------------
А как правильно прописать проверку на
строки /mnt/CR1 в /etc/mtab? Ну для того, если уже
подмонтирован, то просто выйти, а если
нет, то монтируем. Что-то у меня с этим
bash'ем совсем башка уже не варит :-[

-- 
С наилучшими,
Олег Долгов
<dolgov AT mail DOT zp DOT ua>
Registered Linux user #315454




  parent reply	other threads:[~2005-11-02 14:13 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-01  7:10 [Comm] скрип для монтирования encfs Oleg Dolgov
2005-11-01 10:19 ` [Comm] " Oleg Dolgov
2005-11-01 11:34   ` [Comm] Re: УЛТЙР ДМС НПОФЙТПЧБОЙС encfs Andrii Dobrovol`s`kii
2005-11-01 11:48     ` [Comm] " Oleg Dolgov
2005-11-01 14:06       ` [Comm] Re: Re: хмфкт дну орпжкфрювпку encfs Andrii Dobrovol`s`kii
2005-11-01 14:41         ` [Comm] " Oleg Dolgov
2005-11-01 14:56           ` [Comm] Re: Re: Re: ИНЖЛФ ДОХ ПТРЦЛЖТАЧРЛХ encfs Genix
2005-11-02  6:21             ` Vasya Makarov
2005-11-02  7:11               ` [Comm] " Oleg Dolgov
2005-11-02  8:52                 ` Oleg Dolgov
2005-11-02 14:13               ` Oleg Dolgov [this message]
2005-11-02 14:31                 ` [Comm] [SUMMARY] скрипт для монтирования encfs Oleg Dolgov
2005-11-14 11:04                   ` Eugene Ostapets

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=pan.2005.11.02.14.13.55.678431@mail.zp.ua \
    --to=dolgov@mail.zp.ua \
    --cc=community@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git