Skip to contentSkip to conversation

PATH field questions

DISCUSSION Matthew Booth 2 participants 2 messages Jan 16, 2008

lore
Share & tools
lore
#0 lore raw

Sorry for not batching these. There shouldn't be any more in the immediate future :)

In PATH can anybody point me to:

The meaning of the first 3 characters of the mode field. The meaning of rdev.

Thanks,

Matt

Signature · 6 lines
Matthew Booth, RHCA, RHCSS
Red Hat, Global Professional Services

M:       +44 (0)7977 267231
GPG ID:  D33C3490
GPG FPR: 3733 612D 2D05 5458 8A8A 1600 3441 EA19 D33C 3490
#1 lore raw
Quoted 1 line · On Wednesday 16 January 2008 09:32:57 Matthew Booth wrote:

The meaning of the first 3 characters of the mode field.

The mode field is in octal. This is the sticky * setuid bits. Look at fstat man page for st_mode.

Quoted 1 line

The meaning of rdev.

root device for the file in question.

-Steve