From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,e97701f41b64ba63 X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2002-02-01 07:16:54 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!newsfeed.direct.ca!look.ca!newsfeed1.earthlink.net!newsfeed.earthlink.net!uunet!lax.uu.net!sac.uu.net!news.compaq.com!news.cpqcorp.net!harris Subject: Re: ADVFS fileset information From: Bob Harris Newsgroups: comp.unix.tru64 Message-ID: <010220021015379536%harris@zk3.dec.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-transfer-encoding: 8bit User-Agent: YA-NewsWatcher/5.0.1 Date: Fri, 01 Feb 2002 10:15:37 -0500 NNTP-Posting-Host: 16.140.32.194 X-Complaints-To: abuse@Compaq.com X-Trace: news.cpqcorp.net 1012576613 16.140.32.194 (Fri, 01 Feb 2002 07:16:53 PST) NNTP-Posting-Date: Fri, 01 Feb 2002 07:16:53 PST Organization: Compaq Computer Corporation Xref: archiver1.google.com comp.unix.tru64:6678 In article , Narasimha 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