From owner-freebsd-questions Mon Jan 21 4:16:47 2002 Delivered-To: freebsd-questions@freebsd.org Received: from dire.bris.ac.uk (dire.bris.ac.uk [137.222.10.60]) by hub.freebsd.org (Postfix) with ESMTP id 8A83E37B405 for ; Mon, 21 Jan 2002 04:16:44 -0800 (PST) Received: from mail.ilrt.bris.ac.uk by dire.bris.ac.uk with SMTP-PRIV with ESMTP; Mon, 21 Jan 2002 12:16:25 +0000 Received: from cmjg (helo=localhost) by mail.ilrt.bris.ac.uk with local-esmtp (Exim 3.16 #1) id 16SdMV-0007ZZ-00; Mon, 21 Jan 2002 12:15:43 +0000 Date: Mon, 21 Jan 2002 12:15:43 +0000 (GMT) From: Jan Grant X-X-Sender: cmjg@mail.ilrt.bris.ac.uk To: Bernie Cc: freebsd-questions@FreeBSD.ORG Subject: Re: magic number on fs? In-Reply-To: <20020118212448.C2070-100000@BLAST> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, 18 Jan 2002, Bernie wrote: > > hello, > > can anyone tell me if it's not too much trouble, > what's the so called 'magic number' on filesystems? > > thanks a lot and sorry for slightly irrelevant > question... Have a look at the jargon file, definition #3: Special data located at the beginning of a binary data file to indicate its type to a utility. there's a bit more there about these. -- jan grant, ILRT, University of Bristol. http://www.ilrt.bris.ac.uk/ Tel +44(0)117 9287088 Fax +44 (0)117 9287112 RFC822 jan.grant@bris.ac.uk ioctl(2): probably the coolest Unix system call in the world To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message