[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: fakeroot status
From: |
Roland McGrath |
Subject: |
Re: fakeroot status |
Date: |
Mon, 13 May 2002 17:51:41 -0400 (EDT) |
> I tried the cruel way and just #if 0'ed out the whoel S_ISCHR... block (but
> not the symlink handling), and it worked fine. Which form should the hook
> take? A function that netfs_S_dir_lookup calls and that we override?
It could just be a flag global variable. Conversely, struct node could
just get a new member nn_translated to be checked instead of nn_stat.st_mode.
Then the filesystem's netfs_validate_stat function is responsible for
setting it. For maximum flexibility, this could be the st_mode bits to
examine, i.e. S_IPTRANS or S_IFMT bits to indicate short-circuit.
Then other existing netfs_validate_stat routines can do nothing but
nn_translated = nn_stat.st_mode.
- fakeroot status, Marcus Brinkmann, 2002/05/12
- Re: fakeroot status, Roland McGrath, 2002/05/12
- Re: fakeroot status, Marcus Brinkmann, 2002/05/12
- Re: fakeroot status, Roland McGrath, 2002/05/12
- Re: fakeroot status, Marcus Brinkmann, 2002/05/12
- Re: fakeroot status, Roland McGrath, 2002/05/12
- Re: fakeroot status, Marcus Brinkmann, 2002/05/12
- Re: fakeroot status, Roland McGrath, 2002/05/12
- Re: fakeroot status, Marcus Brinkmann, 2002/05/13
- Re: fakeroot status,
Roland McGrath <=
- Re: fakeroot status, Marcus Brinkmann, 2002/05/12
- Re: fakeroot status, Marcus Brinkmann, 2002/05/13
- Re: fakeroot status, Roland McGrath, 2002/05/13
- Re: fakeroot status, Marcus Brinkmann, 2002/05/13
- Re: fakeroot status, Roland McGrath, 2002/05/13
- Re: fakeroot status, Thomas Bushnell, BSG, 2002/05/14
- Re: fakeroot status, Roland McGrath, 2002/05/14
- Re: fakeroot status, Thomas Bushnell, BSG, 2002/05/14
- Re: fakeroot status, Roland McGrath, 2002/05/14
- Re: fakeroot status, Thomas Bushnell, BSG, 2002/05/15