From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on sa.int.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-1.7 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.5 Date: Sat, 27 Sep 2008 21:26:24 +0300 From: Michael Shigorin To: ALT Linux Community general discussions Message-ID: <20080927182624.GO32406@osdn.org.ua> Mail-Followup-To: ALT Linux Community general discussions References: <91dc8dbf0809260925k5509af96mf5b150271a97d1c2@mail.gmail.com> <20080926163404.GJ5998@wrars-comp.wrarsdomain> <91dc8dbf0809260955u587caa20w98b90e4cd281580e@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <91dc8dbf0809260955u587caa20w98b90e4cd281580e@mail.gmail.com> User-Agent: Mutt/1.4.2.1i Subject: Re: [Comm] =?koi8-r?b?L3Zhci9mdHAgzsEgbnRmcw==?= X-BeenThere: community@lists.altlinux.org X-Mailman-Version: 2.1.10b3 Precedence: list Reply-To: shigorin@gmail.com, ALT Linux Community general discussions List-Id: ALT Linux Community general discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Sep 2008 18:26:27 -0000 Archived-At: List-Archive: List-Post: On Fri, Sep 26, 2008 at 10:55:53PM +0600, Ilis wrote: > >> Создал в /var/ftp софтлинки на каталоги на разделе NTFS > > симлинки за пределы /var/ftp не заработают. > Жаль, думал всё проще будет :) Ну почему. Если бы работали -- оставить симлинк на /etc/passwd или /home с целью воспользоваться им позже было бы для каких шутников из друзей проще. Или сервер проверит, или chroot не даст, если сервер настроен выполнять этот системный вызов. > > Делайте mount --bind > Заглянул в man, мало что понял... А можно конкретный пример, и > можно ли это в fstab сделать? mkdir dir1 dir2 touch dir1/test mount -o bind dir1 dir2 ls dir2 df dir2 В /etc/fstab, соответственно, dir1 dir2 auto bind 0 0 -- ---- WBR, Michael Shigorin ------ Linux.Kiev http://www.linux.kiev.ua/