Re: `mount` command and POSIX Utility Syntax Guidelines

John Crowhurst <[email protected]>
Newsgroups gmane.linux.slackware
Message-ID <[email protected]>
Hi Timothy,

I may be missing the point, but why are you asking the Slackware list 
for a problem that seems more to be a fault with the davfs mount helper? 
Slackware is only a distribution of the Linux kernel and associated 
packages. Surely, having the problem resolved at savannah would fix the 
problem for every Linux distro?

Best,

John

On 07/10/2012 12:29, Timothy Madden wrote:
> Pe 04/10/2012 01:35, Bradley D. Thornton a scris:
> [...]
>> On 10/02/2012 11:50 AM, Timothy Madden wrote:
>>> Hello
>>>
>>> I have a strange problem that I can not mount a DAV folder with the
>>> davfs2 filesystem, because I usually keep POSIXLY_CORRECT environment
>>> variable set. The var allows me to keep an "aliases" file (similar to
>>> ~/.basrc) and change it when needed if I put the file name in the ENV
>>> variable.
>>
>> can't you use a script to accept your arguments and source the mounts
>> through another shell for this?
> [...]
>
> My arguments are those to the `mount` command, and they are right, as 
> `mount` itself never complains about syntax.
>
> The problem is the command line for the `mount.davfs` helper, which is 
> invoked (and composed) by `mount`.
>
> Trying to wrap the real `mount.davfs` command in a shell script was my 
> first idea indeed. As I wrote in the issue report on mount.davfs2 
> (linked in the previous message) I tried that, only to find out 
> `mount` will not invoke a shell script. It looks like it wants an 
> executable as the mount helper command.
>
> I wrote such a simple executable (attached in the same issue report on 
> mount.davfs2 tracker/list,
>  http://savannah.nongnu.org/support/download.php?file_id=26664) which 
> I am currently using as my workaround, but I still think the 
> system-provided `mount` command is issue at hand here, and it should 
> follow the POSIX guidelines, as there may be many mount helpers out 
> there using glibc getopts.
>
>
> Thank you,
> Timothy Madden
>
>
> _______________________________________________
> slackware mailing list
> [email protected]
> https://mailman.lug.org.uk/mailman/listinfo/slackware
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.