[prev in list] [next in list] [prev in thread] [next in thread] 

List:       amd-dev
Subject:    Wrong symlink creation
From:       "Artem 'Zazoobr' Ignatjev" <timon () memphis ! mephi ! ru>
Date:       2002-02-13 13:59:56
[Download RAW message or body]

Hi. I posted this message in the beginning of february, and there was no response. \
Maybe this time someone will help me?

> Hi there.
> After I overcame `problem' with type:=program, I've got another issue:
> I want amd to mount samba's network shares for me, so I added following line
> to amd.conf:
> [ /net ]
> map_name = /etc/amd.net.map
> 
> and created following map:
> *       type:=program;mount:="/usr/local/sbin/smbmount smbmount timon@${key} \
> ${autodir}/${key}";unmount:="/sbin/umount umount ${autodir}/${key}" 
> and smbmount is script which translates sequence user@host_share to sequence
> //user@host/share and calls the correct mount program.
> BUT! when i type `cd /net/host_share', I get `no such file' from shell.
> Doing `amq' shows me that /net/host_share is mounted using program `smbmount \
> timon@host_share' on ${autodir}/host_share, while `ls /net' shows me that in `/net' \
> directory there is only one entry - `*' (!). I've tried to change `*' in map to \
> `/defaults' - and (magic) - it did the same,  except that it made symlink in /net \
> called `defaults', not `*'. 
> I couldn't figure out the code where the symlink is physically created, so I would \
> be glad, if someone will patch this issue. 
                         Sinceherely yours, Artem 'Zazoobr' Ignatjev.


     ----------------------------------------------------------------------

     * Previous message: amd and browsable_dirs variable
     * Next message: You help is needed !!!
     * Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
_______________________________________________
amd-dev mailing list: amd-dev@cs.columbia.edu
Am-utils: http://www.am-utils.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic