Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Mar 2002 09:20:14 -0500 (EST)
From:      Garrett Wollman <wollman@lcs.mit.edu>
To:        phk@critter.freebsd.dk
Cc:        arch@FreeBSD.org
Subject:   Re: Increasing the size of dev_t and ino_t 
Message-ID:  <200203111420.g2BEKEr06720@khavrinen.lcs.mit.edu>
In-Reply-To: <96479.1015833733@critter.freebsd.dk>
References:  <p05101539b8b186d47384@[128.113.24.47]>

next in thread | previous in thread | raw e-mail | index | archive | help
In article <96479.1015833733@critter.freebsd.dk> you write:

>I'm missing something here, unless README is a device, st_dev
>has no meaning, no ?

You're confusing st_dev and st_rdev.  st_rdev is the device that the
file *is* (iff the stat buffer represents a block or character special
file); st_dev is the device (or more accurately, identifies the
filesystem) that the file is *on*.

-GAWollman

-- 
Garrett A. Wollman   | O Siem / We are all family / O Siem / We're all the same
wollman@lcs.mit.edu  | O Siem / The fires of freedom 
Opinions not those of| Dance in the burning flame
MIT, LCS, CRS, or NSA|                     - Susan Aglukark and Chad Irschick

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200203111420.g2BEKEr06720>