xfs
[Top] [All Lists]

Re: XFS dmapi: dm_path_to_handle fails if the path is a directory

To: Vlad Apostolov <vapo@xxxxxxx>
Subject: Re: XFS dmapi: dm_path_to_handle fails if the path is a directory
From: John Groves <jgl@xxxxxxxxxxxxxx>
Date: Fri, 03 Nov 2006 08:57:40 -0600
Cc: John Groves <John@xxxxxxxxxx>, linux-xfs@xxxxxxxxxxx, Dean Roehrich <roehrich@xxxxxxx>
In-reply-to: <454AB0A0.7050309@sgi.com>
References: <4547DA70.4040107@Groves.net> <4547EDFD.8020407@sgi.com> <454A94A6.6040907@johngroves.net> <454AAC6B.7010406@sgi.com> <454AAF31.8050104@Groves.net> <454AB0A0.7050309@sgi.com>
Reply-to: jgl@xxxxxxxxxxxxxx
Sender: xfs-bounce@xxxxxxxxxxx
User-agent: Mozilla Thunderbird 1.0.7 (Windows/20050923)


Vlad Apostolov wrote:

Just a note that dm_path_to_handle works fine with relative paths on my machine.

In your case, could it be applying the "current working directory" from the process context to resolve a full path? Mine is a daemon, and the relative paths are not valid relative to the "cwd" in which the daemon was started.


...just a thought. Otherwise, for the moment I may have to just accept it as weird...

Thanks again,
John


<Prev in Thread] Current Thread [Next in Thread>