NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: procfs difference between NetBSD and Linux



martin%duskware.de@localhost (Martin Husemann) writes:

>And any software requiring a procfs mount to work correctly is not portable
>(for some sense of portable).

The bad behaviour is not restricted to procfs.

% pwd
/tmp/x
% ls -l
total 4
-rw-r--r--  1 mlelstv  wheel  6 Jun  4 16:20 mountpoint2
% echo Hello > ordinaryfile
% echo Hello > mountpoint2
mountpoint2: File exists.
% ls -l
total 12
-rw-r--r--  1 mlelstv  wheel  6 Jun  4 16:20 mountpoint2
-rw-r--r--  1 mlelstv  wheel  6 Jun  4 16:24 ordinaryfile

% mount -v | grep overlay
fud:/d/1/overlay on /tmp/x/mountpoint2 type nfs (fsid: 0xb03/0x70b, reads: sync 0 async 0, writes: sync 0 async 0)

We need to understand why namei() does this check and how it can be
corrected.



Home | Main Index | Thread Index | Old Index