Skip to contentSkip to conversation

JFS libraries/headers for userspace?

DISCUSSION aq 2 participants 4 messages Apr 27, 2005 – Apr 28, 2005 VFS

lore
Share & tools
lore

aq

author
#0 lore raw

hello,

I am writing a program in userspace to extract information from a JFS filesystem. Unfortunately I cannot find which packages provides libraries/headers for JFS in userland. Could anybody please tell me where to look for it?

Would be great if you could tell me which Ubuntu/Debian packages provide what I need.

Thank you a lot,
aq

#1 lore raw
Quoted 6 lines · aq

hello,

I am writing a program in userspace to extract information from a JFS filesystem. Unfortunately I cannot find which packages provides libraries/headers for JFS in userland. Could anybody please tell me where to look for it?

You are looking for jfsutils. There isn't a good general-purpose user-space library. Part of jfsutils is a library, libfs.a, but it is an ad-hoc collection of functions used by the utilities without any real structure or documentation.

You may also find this document useful:
http://www-106.ibm.com/developerworks/library/l-jfslayout/
The links to the figures, etc. in the document are out of date. I just remembered that I need to get them updated. :^)

Quoted 5 lines

Would be great if you could tell me which Ubuntu/Debian packages provide what I need.

Thank you a lot,
aq

Signature · 2 lines
David Kleikamp
IBM Linux Technology Center
author
#2 lore raw
Quoted 8 lines · Dave Kleikamp
Quoted 6 lines · aq

hello,

I am writing a program in userspace to extract information from a JFS filesystem. Unfortunately I cannot find which packages provides libraries/headers for JFS in userland. Could anybody please tell me where to look for it?

Quoted 4 lines

You are looking for jfsutils. There isn't a good general-purpose user-space library. Part of jfsutils is a library, libfs.a, but it is an ad-hoc collection of functions used by the utilities without any real structure or documentation.

I am surprised: why there is no separate headers/libraries for JFS in userspace? Meanwhile, other FS like Reiser, XFS all have their.

In this situation, I must extract needed libraries and headers from jfsutils, and then package them to include with my software. That is not so convenient, isnt it?

So if possible, please release something like jfslibs-dev. People want to write software for JFS would appreciate it.

Thank you,
aq

#3 lore raw
Quoted 9 lines · aq
Quoted 8 lines · Dave Kleikamp
Quoted 6 lines · aq

hello,

I am writing a program in userspace to extract information from a JFS filesystem. Unfortunately I cannot find which packages provides libraries/headers for JFS in userland. Could anybody please tell me where to look for it?

Quoted 7 lines
Quoted 4 lines

You are looking for jfsutils. There isn't a good general-purpose user-space library. Part of jfsutils is a library, libfs.a, but it is an ad-hoc collection of functions used by the utilities without any real structure or documentation.

I am surprised: why there is no separate headers/libraries for JFS in userspace? Meanwhile, other FS like Reiser, XFS all have their.

Probably because I've never had a requirement to provide them.

Quoted 3 lines

In this situation, I must extract needed libraries and headers from jfsutils, and then package them to include with my software. That is not so convenient, isnt it?

No, probably not. If you're writing a GPL'ed program, you may want to look at grub. The file you want is fsys_jfs.c.

Quoted 2 lines

So if possible, please release something like jfslibs-dev. People want to write software for JFS would appreciate it.

I don't have the time now to work on providing a package like this, but if someone were to volunteer to put together a jfslibs-dev package, I would certainly support it.

Quoted 2 lines

Thank you,
aq

Signature · 10 lines
David Kleikamp
IBM Linux Technology Center



-------------------------------------------------------
SF.Net email is sponsored by: Tell us your software development plans!
Take this survey and enter to win a one-year sub to SourceForge.net
Plus IDC's 2005 look-ahead and a copy of this survey
Click here to start!  http://www.idcswdc.com/cgi-bin/survey?id=105hix