hiding files under a mount point.

John F Haugh II jfh at rpp386.cactus.org
Tue Mar 26 00:29:59 AEST 1991


In article <1991Mar21.175748.27202 at NCoast.ORG> jeffl at NCoast.ORG (Jeff Leyser) writes:
>In post <1991Mar18.045734.5114 at brolga.cc.uq.oz.au>, ggm at brolga.cc.uq.oz.au (George Michaelson) says:
>!How "invisible" are they? Can this be exploited meaningfully by sysops
>!or others to provide secure online storage of files you don't want
>!mortals to know about? (/usr is a bad example. unmounting makes the
>!system pretty useless. some other places might be more bearable.)
>
>They're completely invisible, at lease to all "useful" utilities.  The
>only way to manipulate the "hidden" would be by i-node numbers, and I
>don't think anything other than fsdb will be able to do that for you.
>Of course, unmounting the "overlay" will allow you to manipulate the (no
>longer) hidden files in the usual manner.

No, they are quite visible to the "dump" utility, and you can infact
recover the files by dumping the partition and then extracting the files
from the dump tape.

Of course this is cheating since "dump" reads the raw partition, but
I didn't want people to go away with the impression that you can't
get to files under a mount point.
-- 
John F. Haugh II        | Distribution to  | UUCP: ...!cs.utexas.edu!rpp386!jfh
Ma Bell: (512) 832-8832 | GEnie PROHIBITED :-) |  Domain: jfh at rpp386.cactus.org
"I've never written a device driver, but I have written a device driver manual"
                -- Robert Hartman, IDE Corp.



More information about the Comp.unix.questions mailing list