- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Regarding statvfs and fstatvfs
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-28-2008 01:51 AM
тАО03-28-2008 01:51 AM
Regarding statvfs and fstatvfs
Could u please provide me answers for the below questions.
1. Call statvfs() on an existing file. Check file system block and inode counts. Check file system ID.
2. Call statvfs() on non-existent file.
3. Call statvfs() with NULL pathname.
4. Call statvfs() with component of pathname non-directory.
5. Call statvfs() with pathname that has one component without search permission.
6. Call statvfs() with invalid pathname.
7. Call statvfs() with invalid buf address.
8. Call statvfs() using pathname that is a symbolic link with a circular loop.
9. Call statvfs() with a pathname that is too long.
10. Call statvfs() with a pathname component that is too long.
11. Call fstatvfs() on an existing file. Check file system block and inode counts. Check file system ID.
12. Call fstatvfs() invalid file descriptor.
13. Call fstatvfs() with unopened file descriptor.
14. Call fstatvfs() with invalid buf address.
тАв Expected Result:
1. Success.
2. Failure with ENOENT(2).
3. Failure with ENOENT(2).
4. Failure with ENOTDIR(20).
5. Failure with EACCES(13).
6. Failure with EFAULT(14).
7. Failure with EFAULT(14).
8. Failure with ELOOP(249).
9. Failure with ENAMETOOLONG(248).
10. Failure with ENAMETOOLONG(248).
11. Success.
12. Failure with EBADF(9).
13. Failure with EBADF(9).
14. Failure with EFAULT(14).
Please help me in doing this...I need to submit these answers by tommorow afternoon.
Please help me..
Thanks in Advance,
Shammer.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-28-2008 01:59 AM
тАО03-28-2008 01:59 AM
Re: Regarding statvfs and fstatvfs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-28-2008 02:14 AM
тАО03-28-2008 02:14 AM
Re: Regarding statvfs and fstatvfs
Thanks for your reply :)
Absolutely right...
I need testcases for it.Please help me..
Thanks,
Shammeer.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-28-2008 02:17 AM
тАО03-28-2008 02:17 AM
Re: Regarding statvfs and fstatvfs
Please let me know u have this machine ..
Thanks,
shammer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-28-2008 03:52 AM
тАО03-28-2008 03:52 AM
Re: Regarding statvfs and fstatvfs
> Please help me in doing this...I need to submit these answers by tommorow afternoon.
Homework assignments are not the purpose of this forum, if that correctly represents your intent.
As for testing, see:
http://www.testdrive.hp.com/os/
Regards!
...JRF...