[TriLUG] cp and a new fs, eg ntfs

Joseph Mack NA3T jmack at wm7d.net
Fri Jul 30 17:34:24 EDT 2010


I'm wondering how cp on linux works. I have ntfs-3g mounting 
windows disks. Does cp have to be ntfs-3g (or fs) aware? If 
I cp ntfs to ntfs, will the permissions (or whatever is 
unique to ntfs) get copied correctly? Is getting the 
permissions right part of the ntfs-3g code and cp invokes 
calls in the ntfs-3g drivers?

It's hard to imagine any other way of doing it, but I just 
realised that I don't know what happens. Otherwise the fs 
tools (cp, mkdir...) would need code for all the fs, and 
when a new fs came out, the fs tools would have to be 
upgraded.

Thanks Joe
-- 
Joseph Mack NA3T EME(B,D), FM05lw North Carolina
jmack (at) wm7d (dot) net - azimuthal equidistant map
generator at http://www.wm7d.net/azproj.shtml
Homepage http://www.austintek.com/ It's GNU/Linux!



More information about the TriLUG mailing list