How do you find the symbolic links to files.
Boyd Roberts
boyd at necisa.ho.necisa.oz
Thu Dec 13 10:21:38 AEST 1990
In article <2993:Dec1202:37:2090 at kramden.acf.nyu.edu> brnstnd at kramden.acf.nyu.edu (Dan Bernstein) writes:
>
>Right! So on a system with st_blocks, the archiver's responsibility is
>to restore the right number of holes. It can do this by making the first
>N zero-filled blocks into holes, with no regard to the original
>positions. This does *not* require access to the raw disk blocks.
>
Sounds like just the argument why you don't want st_blocks. What a
nightmare to maintain from an archivers point of view. Sure it can
detect the holes and diddle about, but that's revolting.
All you really want is the data in the file. Using general purpose
archivers on special purpose (holed files) is just a no-no. Programs
that create such files should also have programs to dump out the
data in the files, which can then be used to recreate them.
Dump and restor are special cases. They archive file-systems and
it is their responsibility that the file-system structure is
preserved correctly. Why System V deprecated them I'll never know.
I'm equally puzzled/appalled by those who advocate tar or cpio
to back up their file-systems. Those things take an image of
a snapshot in time. They don't handle incrementals or file
deletions properly. They are used to archive -- not backup.
Boyd Roberts boyd at necisa.ho.necisa.oz.au
``When the going gets wierd, the weird turn pro...''
More information about the Comp.unix.internals
mailing list