Re: Ext3-users Digest, Vol 38, Issue 10

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
my program works well with fedora-2 .with fedora-5 it's gives following errors..
 
get_it_i_say.c:549: warning: implicit declaration of function 'strcmp'
cc  -o giis dir.o file.o get_it_i_say.o group.o init.o inode.o main.o searchnupdate.o uninit.o
inode.o: In function `read_inode':inode.c: (.text+0x202): undefined reference to `S_ISDIR'
inode.o: In function `show_inode':inode.c:(.text+0x2d0): undefined reference to `S_ISREG'
:inode.c:(.text+0x2f2): undefined reference to `S_ISDIR'
: inode.c:(.text+0x314): undefined reference to `S_ISLNK'
:inode.c:(.text+0x336): undefined reference to `S_ISCHR'
:inode.c:(.text+0x358): undefined reference to `S_ISBLK'
collect2: ld returned 1 exit status
make: *** [giis] Error 1
 
What's this errors mean ? what's the problem?
Thanks.
Lakshmipathi.G



 
On 4/17/07, ext3-users-request@xxxxxxxxxx <ext3-users-request@xxxxxxxxxx > wrote:
Send Ext3-users mailing list submissions to
       ext3-users@xxxxxxxxxx

To subscribe or unsubscribe via the World Wide Web, visit
       https://www.redhat.com/mailman/listinfo/ext3-users
or, via email, send a message with subject or body 'help' to
       ext3-users-request@xxxxxxxxxx

You can reach the person managing the list at
        ext3-users-owner@xxxxxxxxxx

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Ext3-users digest..."
 

Today's Topics:

  1. User space tool to extract ext3 inode information
     (Aravindan Raghuveer)
  2. Re: User space tool to extract ext3 inode information
     (Andreas Dilger)
  3. Re: User space tool to extract ext3 inode information
     (Aravindan Raghuveer)
  4. [About kjournald] (Forrest Wang)


---------- Forwarded message ----------
From: Aravindan Raghuveer <aravindan_raghu@xxxxxxxxx>
To: ext3-users@xxxxxxxxxx
Date: Mon, 16 Apr 2007 11:17:12 -0700 (PDT)
Subject: User space tool to extract ext3 inode information
Hello!

I need to write a user space tool that can dump
logical block addresses used by every file in a ext3
file system. For example, if file foo uses LBAs 2,3
and file bar uses LBAs 100,102,156, then the ouptut
should read:

FILENAME    LBAs
foo         2, 3
bar         100,102,156

Is there a tool that exists that can do this? If not,
what would be a good strategy to write this tool. I am
learning filesystem programming and would really
appreciate any pointers.

thanks in advance!!

Regards,
-Aravind.





__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com




---------- Forwarded message ----------
From: Andreas Dilger <adilger@xxxxxxxxxxxxx>
To: Aravindan Raghuveer < aravindan_raghu@xxxxxxxxx>
Date: Mon, 16 Apr 2007 12:33:29 -0600
Subject: Re: User space tool to extract ext3 inode information
On Apr 16, 2007  11:17 -0700, Aravindan Raghuveer wrote:
> I need to write a user space tool that can dump
> logical block addresses used by every file in a ext3
> file system. For example, if file foo uses LBAs 2,3
> and file bar uses LBAs 100,102,156, then the ouptut
> should read:
>
> FILENAME    LBAs
> foo         2, 3
> bar         100,102,156
>
> Is there a tool that exists that can do this? If not,
> what would be a good strategy to write this tool. I am
> learning filesystem programming and would really
> appreciate any pointers.

"debugfs -c -R 'stat /path/to/file' /dev/XXX" reports, among other things
the blocks used by that file.

Cheers, Andreas
--
Andreas Dilger
Principal Software Engineer
Cluster File Systems, Inc.




---------- Forwarded message ----------
From: Aravindan Raghuveer <aravindan_raghu@xxxxxxxxx>
To: Andreas Dilger < adilger@xxxxxxxxxxxxx>
Date: Mon, 16 Apr 2007 12:27:24 -0700 (PDT)
Subject: Re: User space tool to extract ext3 inode information
Hi Andreas,

Thanks a bunch for your quick response! I checked the
command and the output is terms of filesytem block
numbers [mine seems to have a 4K block size]. I can
convert this into LBAs in my perl script.

Thanks again.

Regards,

-Aravind.


--- Andreas Dilger < adilger@xxxxxxxxxxxxx> wrote:

> On Apr 16, 2007  11:17 -0700, Aravindan Raghuveer
> wrote:
> > I need to write a user space tool that can dump
> > logical block addresses used by every file in a
> ext3
> > file system. For example, if file foo uses LBAs
> 2,3
> > and file bar uses LBAs 100,102,156, then the
> ouptut
> > should read:
> >
> > FILENAME    LBAs
> > foo         2, 3
> > bar         100,102,156
> >
> > Is there a tool that exists that can do this? If
> not,
> > what would be a good strategy to write this tool.
> I am
> > learning filesystem programming and would really
> > appreciate any pointers.
>
> "debugfs -c -R 'stat /path/to/file' /dev/XXX"
> reports, among other things
> the blocks used by that file.
>
> Cheers, Andreas
> --
> Andreas Dilger
> Principal Software Engineer
> Cluster File Systems, Inc.
>
>


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com




---------- Forwarded message ----------
From: "Forrest Wang" <forrest.wang@xxxxxxxxx>
To: < ext3-users@xxxxxxxxxx>
Date: Tue, 17 Apr 2007 15:52:02 +0800
Subject: [About kjournald]
Hi,guys
 
    In my server, the process kjournald used much more cpu time.
 
    How can I let my system load down?
 
    Thanks.
 
 
 
Forrest Wang

_______________________________________________
Ext3-users mailing list
Ext3-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/ext3-users

_______________________________________________
Ext3-users mailing list
Ext3-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/ext3-users

[Index of Archives]         [Linux RAID]     [Kernel Development]     [Red Hat Install]     [Video 4 Linux]     [Postgresql]     [Fedora]     [Gimp]     [Yosemite News]

  Powered by Linux