fuser does not list id of processes that have a file
Ali Abdallah
aliovx at gmail.com
Wed Oct 17 06:07:55 UTC 2018
> diff --git a/usr.bin/fstat/fuser.c b/usr.bin/fstat/fuser.c
> index b4225328fc1f..17d06f1c5b13 100644
> --- a/usr.bin/fstat/fuser.c
> +++ b/usr.bin/fstat/fuser.c
> @@ -92,7 +92,7 @@ struct consumer {
> STAILQ_ENTRY(consumer) next;
> };
> struct reqfile {
> - uint32_t fsid;
> + uint64_t fsid;
> uint64_t fileid;
> const char *name;
> STAILQ_HEAD(, consumer) consumers;
The above patch does not resolve the problem for me.
Regards.
On Tue, Oct 16, 2018 at 5:17 PM Ed Schouten <ed at nuxi.nl> wrote:
> Hi there,
>
> Op di 16 okt. 2018 om 15:05 schreef Mateusz Guzik <mjguzik at gmail.com>:
> > struct reqfile {
> > - uint32_t fsid;
> > + uint64_t fsid;
> > uint64_t fileid;
>
> Considering that these are based on sb.st_{ino,dev}, maybe better to
> use the occasion to switch these fields to dev_t and ino_t?
>
> --
> Ed Schouten <ed at nuxi.nl>
>
More information about the freebsd-current
mailing list