ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Vladimir Istrati <bob@kp.md>
To: sisyphus@lists.altlinux.org
Subject: [sisyphus] автомонтирование smb
Date: Fri, 6 Apr 2007 17:34:40 +0300
Message-ID: <808803376.20070406173440@kp.md> (raw)

Здравствуйте!

В Компакте проблему с автомонтированием samba (вынь) ресурсов решил
(помогли)следующим образом:
в fstab:
//192.168.1.5/For_CD /home/mnt cifs user,noauto 0 0
noauto - чтобы не пытался маунтиться до запуска сети и не бросал в лог
лишних ошибок
в /etc/rc.d/rc.local (сам создал):
mount -t cifs -o
username=User,password=user,codepage=cp866,iocharset=utf8 //192.168.1.5/For_CD /home/mnt



(знаю, что неизящно, но autofs победить не удалось)
Если без записи в fstab - монтирование не происходило.
Под пользователем mount... не сделать ))

Ярлык на десктопе сообщает, что он есть "смонтированный ресурс" ))
При обращении к нему открывается смонтированный ресурс...
Данные находятся в указанной точке монтирования: /home/mnt.

В Сизифе (записи те же), но: Ярлык - "отмонтированный ресурс"
При обращении - 0 файлов.
Данные находятся там, где и должны: /home/mnt (монтирование все же
происходит)

Что-то не отрабатывает...

Или может кто-то просто посоветует более правильный способ
монтирования?



-- 
Best regards,
 Vladimir                          mailto:bob@kp.md



             reply	other threads:[~2007-04-06 14:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-06 14:34 Vladimir Istrati [this message]
2007-04-06 14:37 ` Alexander Yereschenko

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=808803376.20070406173440@kp.md \
    --to=bob@kp.md \
    --cc=sisyphus@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 Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

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


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