From: "Joseph D. Wagner" Subject: What's the difference between i_dev and i_rdev? Date: Fri, 3 Oct 2003 18:58:10 +0600 Sender: linux-fsdevel-owner@vger.kernel.org Message-ID: <200310031858.10371.theman@josephdwagner.info> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Return-path: Received: from ssa8.serverconfig.com ([209.51.129.179]:41352 "EHLO ssa8.serverconfig.com") by vger.kernel.org with ESMTP id S261673AbTJCX6R (ORCPT ); Fri, 3 Oct 2003 19:58:17 -0400 Received: from 24-196-33-250.shb.wi.charter.com ([24.196.33.250] helo=192.168.1.2) by ssa8.serverconfig.com with asmtp (Exim 4.24) id 1A5ZoM-0001le-LF for linux-fsdevel@vger.kernel.org; Fri, 03 Oct 2003 19:57:52 -0400 To: linux-fsdevel@vger.kernel.org Content-Disposition: inline List-Id: linux-fsdevel.vger.kernel.org I'm looking at struct inode in include/linux/fs.h and I'm not sure of the purpose of, or difference between, i_dev and i_rdev. The documentation I have says i_dev is "device number of the file" and i_rdev is "device at device files." This isn't clear, and a brief explaination would be greatly appreciated. Joseph D. Wagner