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

Re: Checking actually used space on NILFS



Hi,
On Wed, 9 Feb 2011 13:33:38 +0100, dexen deVries wrote:
> Hello list,
> 
> 
> it's my first day with NILFS, and one issue bothers me:
> 
> is there a reasonably easy way to check the size of the current (most recent) 
> content of the NILFS filesystem?

The current nilfs doesn't have an effiecient way to do that.
So, the easy way is using 'du -s':

 # du -s /nilfs-mount-point

We need adding API (ioctl) to get extended space information and may
need minor disk format change for that.

Regards,
Ryusuke Konishi

> As in, how much space would remain used if I decided to purge all old 
> checkpoints and only keep the current one.
>
> Regards,
> -- 
> dexen deVries
> 
> [[[↓][→]]]
> 
> > how does a C compiler get to be that big? what is all that code doing?
> 
> iterators, string objects, and a full set of C macros that ensure
> boundary conditions and improve interfaces.
> 
> ron minnich, in response to Charles Forsyth
> 
> http://9fans.net/archive/2011/02/90
> --
> To unsubscribe from this list: send the line "unsubscribe linux-nilfs" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe linux-nilfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Linux Filesystem; Devel]     [Linux CIFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]    [Yosemite Photos]    [Free Online Dating]     [Linux Kernel]     [Linux SCSI]     [XFree86]

Add to Google Powered by Linux