% man cp
[..]
-p, --preserve
preserve file attributes if possible
The command line option is already there ... A stat() of the file
would return S_MULTI or whatever and cp would know how to handle it.
Tar, cpio and pax same story
Mike.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/