Project

General

Profile

Actions

Bug #13502

open

GNU find can't match inode numbers

Added by Rich Lowe over 2 years ago. Updated over 2 years ago.

Status:
New
Priority:
Normal
Assignee:
Category:
OI-Userland
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:

Description

; find / -inum 8675309
Assertion failed: p->st_ino, file /jenkins/jobs/oi-userland/workspace/components/sysutils/findutils/findutils-4.8.0/find/util.c, line 330, function get_info
Actions #1

Updated by Gergő Mihály Doma over 2 years ago

We have some directories under /system/ where inode number is 0:

root@openindiana:/# uname -a
SunOS openindiana 5.11 illumos-4004e4c5da i86pc i386 i86pc
root@openindiana:/# /usr/bin/ls -ilaR | awk '/^.\//{ PTH=$0; next } ($1 == 0){ print PTH"\n"$0 }' -
./system/boot:
         0 dr-xr-xr-x   1 root     root           0 febr.  7 14:39 .
./system/boot:
         0 drwxr-xr-x   5 root     root           5 okt. 31  2017 ..
./system/contract:
         0 dr-xr-xr-x   5 root     root           5 febr.  7 14:39 .
./system/contract:
         0 drwxr-xr-x   5 root     root           5 okt. 31  2017 ..
./system/contract/all:
         0 dr-xr-xr-x   5 root     root           5 febr.  7 14:39 ..
./system/contract/device:
         0 dr-xr-xr-x   5 root     root           5 febr.  7 14:39 ..
./system/contract/process:
         0 dr-xr-xr-x   5 root     root           5 febr.  7 14:39 ..
./system/object:
         0 dr-xr-xr-x   2 root     root           2 febr.  7 18:44 unix
./system/object/unix:
         0 dr-xr-xr-x   2 root     root           2 febr.  7 18:44 .
root@openindiana:/# 

Actions

Also available in: Atom PDF