Date: Wed, 28 Jan 1998 16:12:10 +0200 (IST) From: Eli Zaretskii To: Demmer AT lstm DOT ruhr-uni-bochum DOT de cc: dj AT delorie DOT com, djgpp-workers AT delorie DOT com Subject: Re: invent inode docs In-Reply-To: <4B4BF00220@brain1.lstm.ruhr-uni-bochum.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On Wed, 28 Jan 1998, Tom Demmer wrote: > > Is the above description correct for Unix? If it is, maybe we need to > > set st_rdev, at least to the same value as st_dev? (I needed to say > > "foo.st_rdev = foo.st_dev" in the `tar' sources to make it work.) > > > This should be necessary only if if foo stats a special device, at > least after the above definition. Can you confirm that? Yes, this entire issue of st_rdev is only relevant to devices like /dev/tty, /dev/null and others. That is when I saw GNU tar and cpio check the st_rdev field.