From: Erik Mouw <J.A.K.Mouw@its.tudelft.nl>
To: Adrian McMenamin <adrian@mcmen.demon.co.uk>
Cc: linux-kernel@vger.kernel.org
Subject: Re: inode values in file system driver
Date: Tue, 13 May 2003 15:51:50 +0200 [thread overview]
Message-ID: <20030513135150.GA1049@arthur.home> (raw)
In-Reply-To: <200305102118.20318.adrian@mcmen.demon.co.uk>
[-- Attachment #1: Type: text/plain, Size: 675 bytes --]
On Sat, May 10, 2003 at 09:18:20PM +0100, Adrian McMenamin wrote:
> Am I allowed to assign the value 0 to an inode in a file system driver? I seem
> to be having problems with a file that is being assigned this inode value
> (its a FAT based filesystem so the inode values are totally artificial).
Yes, you are. However, glibc thinks that inode 0 is special and won't
show it.
Example: mount an NTFS filesystem with -o show_sys_files and do ls on
the mountpoint. You won't see the file $MFT, but it is there when you
copy it: cp /mountpoint/\$MFT /tmp .
Yes, this is a bug in glibc.
Erik
--
Erik Mouw
J.A.K.Mouw@its.tudelft.nl mouw@nl.linux.org
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2003-05-13 13:43 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-05-10 20:18 inode values in file system driver Adrian McMenamin
2003-05-13 13:51 ` Erik Mouw [this message]
2003-05-13 14:33 ` Andreas Schwab
2003-05-13 14:47 ` Nikita Danilov
2003-05-13 14:56 ` Andreas Schwab
2003-05-13 18:54 ` Adrian McMenamin
2003-05-14 18:31 ` Adrian McMenamin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20030513135150.GA1049@arthur.home \
--to=j.a.k.mouw@its.tudelft.nl \
--cc=adrian@mcmen.demon.co.uk \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox