Re: /var/log/lastlog -- why is it 19 megabytes?

From: Rodolfo J. Paiz (rpaiz_at_simpaticus.com)
Date: 08/25/03

  • Next message: Rodolfo J. Paiz: "Re: /var/log/lastlog -- why is it 19 megabytes?"
    To: redhat-list@redhat.com
    Date: Sun, 24 Aug 2003 21:28:18 -0600
    
    

    At 8/24/2003 23:17 -0300, you wrote:
    >Rodolfo J. Paiz wrote:
    >
    > > I have no idea how to even start looking for this one
    >
    > Well, you could try unsparsing a file.. it's a blind shot, it makes no
    >sense, but it's worth a try (on the smallest huge file).
    >
    >cp --sparse=always big.wav test.wav

    That's actually how I ended up on this thread... no one was paying me any
    attention on my other attempts to get help on this issue, and sparse files
    sounded like a possible explanation so I went through the thread and made
    attempts to sparse or unsparse with both cp and rsync.

    No dice... I still get 1.2GB worth of file, yet the darn thing plays
    properly in a media player and displays correctly in certain incantations
    of ls.

    Is there someone out there with some coding expertise, who can maybe
    explain why "ls -l" and "ls -sh" give different results? Like this:

    ls -l:
    -rwxr--r-- 1 rpaiz rpaiz 1177207676 Aug 3 18:09 Kansas ~ Best of
    Kansas ~ 04 ~ Dust in the Wind ~ 890B500A.wav
    ls -sh:
      35M Kansas ~ Best of Kansas ~ 04 ~ Dust in the Wind ~ 890B500A.wav

    Worse yet, the file that I gzipped and then gunzipped is now really and
    truly taking up 1.2GB:

    ls -l:
    -rwxr--r-- 1 rpaiz rpaiz 1181163340 Aug 3 18:09 Kansas ~ Best of
    Kansas ~ 01 ~ Carry on Wayward Son ~ 890B500A.wav
    ls -sh:
    1.2G Kansas ~ Best of Kansas ~ 01 ~ Carry on Wayward Son ~ 890B500A.wav

    Any listing of it now shows 1.2GB, and total space used in the directory
    "du -ms" as well as disk free space "df -m" reflect the increase. It still
    plays fine in my media player, though!

    Arrrgh!!!

    -- 
    Rodolfo J. Paiz
    rpaiz@simpaticus.com
    -- 
    redhat-list mailing list
    unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
    https://www.redhat.com/mailman/listinfo/redhat-list
    

  • Next message: Rodolfo J. Paiz: "Re: /var/log/lastlog -- why is it 19 megabytes?"

    Relevant Pages

    • RE: up2date
      ... > admin@redhat.com] On Behalf Of Rodolfo J. Paiz ... We all read the original post, ... > Rodolfo J. Paiz ... was in general SOP for this list. ...
      (RedHat)
    • Re: Fedora
      ... "Rodolfo J. Paiz" wrote: ... I see Fedora as being functionally equivalent to RHL ...
      (RedHat)
    • Re: Taming the mailing lists?
      ... On Tue, 2004-05-04 at 17:48, Rodolfo J. Paiz wrote: ... These are the ones who quote two pages ... nerve of reality, ...
      (Fedora)
    • DHCP for multiple subnets (was: Re: Routing and bandwidth problem)
      ... >Rodolfo J. Paiz said: ... >> a single server if all of them are coming in via a switch. ... ...then any host on the network connected to eth0 will be dynamically ...
      (Fedora)