Alan Cox writes:
>> Isn't there some other "proper" way of doing this in userspace, or is
>> this really the correct way?
>
> You can look at the S_IFMT bits and stuff however link count indicating
> number of subdirectories is a standard Unix thing and used by many quite
> mundane tools as an op
Greg KH writes:
> On Mon, Jan 30, 2012 at 10:10:59PM +, Alan Cox wrote:
>> > Isn't there some other "proper" way of doing this in userspace, or is
>> > this really the correct way?
>>
>> You can look at the S_IFMT bits and stuff however link count indicating
>> number of subdirectories is a
On Mon, Jan 30, 2012 at 02:27:17PM -0800, Greg KH wrote:
> On Mon, Jan 30, 2012 at 10:10:59PM +, Alan Cox wrote:
> > > Isn't there some other "proper" way of doing this in userspace, or is
> > > this really the correct way?
> >
> > You can look at the S_IFMT bits and stuff however link count i
On Mon, Jan 30, 2012 at 10:43:50PM +, Al Viro wrote:
> On Mon, Jan 30, 2012 at 02:27:17PM -0800, Greg KH wrote:
> > On Mon, Jan 30, 2012 at 10:10:59PM +, Alan Cox wrote:
> > > > Isn't there some other "proper" way of doing this in userspace, or is
> > > > this really the correct way?
> > >
On Mon, Jan 30, 2012 at 10:10:59PM +, Alan Cox wrote:
> > Isn't there some other "proper" way of doing this in userspace, or is
> > this really the correct way?
>
> You can look at the S_IFMT bits and stuff however link count indicating
> number of subdirectories is a standard Unix thing and u
> Isn't there some other "proper" way of doing this in userspace, or is
> this really the correct way?
You can look at the S_IFMT bits and stuff however link count indicating
number of subdirectories is a standard Unix thing and used by many quite
mundane tools as an optimisation.
Alan
__
On Mon, Jan 30, 2012 at 10:56:26PM +0100, Jiri Slaby wrote:
> Hi,
>
> I cannot boot properly with this commit:
> commit 524b6c5b39b931311dfe5a2f5abae2f5c9731676
> Author: Eric W. Biederman
> Date: Sun Dec 18 20:09:31 2011 -0800
>
> sysfs: Kill nlink counting.
>
>
> 1) network systemd rul