Hi ,
I have 3 file system. / , /usr and /var.
I'm trying to backup them using tar command like this :
find / -xdev -exec tar cvf root.tar {} \;
According to above commond , since i have mentioned '-xdev' for find, find
should list files and dir related to '/' file system only.
If i try only " find / -xdev" , this list files and dir as expected.That
is it lists only files within '/' File system.
But when i use tar within find,i'm getting /usr and /var tared too !!
How could i solve this ?
Regards
-Dilip
---------