From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Peter Teoh" Subject: filesystem differentiation Date: Sat, 15 Mar 2008 00:17:27 +0800 Message-ID: <804dabb00803140917o2abebd2dh12c77b21a48094c4@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: htmldeveloper@gmail.com To: kernelnewbies , linux-fsdevel@vger.kernel.org Return-path: Received: from rn-out-0910.google.com ([64.233.170.184]:5298 "EHLO rn-out-0910.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753845AbYCNQR3 (ORCPT ); Fri, 14 Mar 2008 12:17:29 -0400 Received: by rn-out-0910.google.com with SMTP id v46so2787744rnb.15 for ; Fri, 14 Mar 2008 09:17:28 -0700 (PDT) Content-Disposition: inline Sender: linux-fsdevel-owner@vger.kernel.org List-ID: given different harddisk partition, does anyone knows how to differentiate one partition from another? at the kernel source level, which is the constant/variable for this? Is it EXT3_XATTR_MAGIC? (but EXT2_XATTR_MAGIC have the same value as ext3, so betw the two they are not distinguisable?) (or REISERFS_XATTR_MAGIC etc) So I supposed if I were to create my new filesystem, then just create a new /random value from this? -- Regards, Peter Teoh