Re: which files took the space
On Mar 4, 2016, at 5:39 AM, Gene Heskett <gheskett@shentel.net> wrote:
> On Friday 04 March 2016 03:39:03 jdd wrote:
>
>> Le 04/03/2016 08:38, tomas@tuxteam.de a écrit :
>>> If memory serves, long, long time ago, "mount" (the system call)
>>> refused to comply unless the directory was empty (kernel 2.6.mumble;
>>> so long ago. Expect bit flips and glitches in my wetware, yadda).
>>
>> if it existed, it's much older than that, never seen it since 1997...
>
> Me either, and I go back to '97 myself in linux usage.
>
>> man mount:
>>
>> This tells the kernel to attach the filesystem found on device
>> (which is of type type) at the directory dir. The previous contents
>> (if any) and owner and mode of dir become invisible, and as long
>> as this filesystem remains mounted, the pathname dir refers to the
>> root of the filesystem on device."
This behavior (mounted filesystems hiding the files in the underlying directory) goes all the way back to Bell Labs UNIX(tm) v7 (at least -- I never had a chance to use v6 or earlier) in the 1970's. It's in the POSIX standard.
Rick
Reply to: