From: Bob Harris <harris@zk3.dec.com>
Subject: Re: ADVFS fileset information
Date: Fri, 01 Feb 2002 10:15:37 -0500 [thread overview]
Message-ID: <010220021015379536%harris@zk3.dec.com> (raw)
In-Reply-To: b9019227.0201310642.c30cf91@posting.google.com
In article <b9019227.0201310642.c30cf91@posting.google.com>, Narasimha
<mknarasimha@hotmail.com> wrote:
X Hi,
X
X I am working on the ADVFS filesystem and was interested to know if
X there is any way to get the fileset information in terms of the
X extents/disks that the fileset spans over. ......................
Nothing that is easy. A fileset is really nothing more than a name
space. You might as well just walk the director tree and use a
showfile -x on each file in the fileset. There are no system calls
(neither public nor private) that output that information.
You could play with nvbmtpg (see the man page), but parsing the output
of that would be just about as much work as parsing showfile -x option
for each file, plus nvbmtpg analysis would require more reverse
engineering on your part.
X .......................................... Also there is a shared
X library of advfs system calls libmsfs.so which has a lot of advfs
X related calls. Any leads on where to find documentation or prototypes
X for these calls would be great. Thanks in advance.
The only ones that I know of which are documented are the ones
mentioned in the "man 4 advfs" man page, and these are APIs to aid
backup utilities.
Plus there is fcntl(fd,F_GETMAP,arg) to fetch a file's extent map (used
to properly restore sparse holes in backed up files). I supposed you
could use F_GETMAP instead of showfile to collect extent information on
a fileset.
Bob Harris
next prev parent reply other threads:[~2002-02-01 15:15 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-01-31 14:42 ADVFS fileset information Narasimha
2002-02-01 9:39 ` Marre des Spameurs qui prennent les add dans les news [SauroN]
2002-02-01 14:28 ` Narasimha
2002-02-04 15:40 ` Bob Harris
2002-02-01 15:15 ` Bob Harris [this message]
2002-02-04 16:47 ` Narasimha
2002-02-05 15:18 ` Bob Harris
2002-02-05 21:12 ` Narasimha
2002-02-06 15:18 ` Bob Harris
2002-02-06 22:48 ` Narasimha
2002-02-07 3:21 ` Bob Harris
2002-02-07 13:37 ` Narasimha
2002-02-08 17:36 ` Bob Harris
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox