Moving/merging a filesystem back into /

Kevin Korb kmk at sanitarium.net
Sun Dec 8 15:14:32 MST 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

https://sanitarium.net/rsyncfaq/#differentsizes

On 12/08/13 14:11, Charles Marcus wrote:
> On 2013-12-08 11:38 AM, Charles Marcus <CMarcus at Media-Brokers.com>
> wrote:
>> 
>> 3. Copy current /usr to temp directory
>> 
>> rsync -avHP --numeric-ids /usr//tmp-usr/
> 
> Decided to use rsync, and have a question...
> 
> Why, after rsync'ing /usr to /tmp-usr, do the sizes differ?
> 
> # du -h --max-depth=0 /usr 3.5G    /usr
> 
> and
> 
> # du -h --max-depth=0 /tmp-usr 3.7G    /tmp-usr
> 
> Is that because of the different filesystems (ext4 on / and
> reiserfs on /usr) maybe?
> 
> Is there a simple way to get the total # of files and directories
> for comparison, like you can in Windows when getting properties of
> a folder?
> 
> --
> 
> Best regards,
> 
> */Charles/*
> 
> 

- -- 
~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~
	Kevin Korb			Phone:    (407) 252-6853
	Systems Administrator		Internet:
	FutureQuest, Inc.		Kevin at FutureQuest.net  (work)
	Orlando, Florida		kmk at sanitarium.net (personal)
	Web page:			http://www.sanitarium.net/
	PGP public key available on web site.
~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlKk70gACgkQVKC1jlbQAQfSEACfeub3cidmtNjG4c+dsxqvsYP/
FfIAn0TboksNeJcSXCoZUM+6QigrnMqS
=5t+8
-----END PGP SIGNATURE-----


More information about the rsync mailing list