From owner-freebsd-fs@FreeBSD.ORG Wed Sep 27 12:26:51 2006 Return-Path: X-Original-To: freebsd-fs@freebsd.org Delivered-To: freebsd-fs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9C3E516A403 for ; Wed, 27 Sep 2006 12:26:51 +0000 (UTC) (envelope-from kmholla@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.230]) by mx1.FreeBSD.org (Postfix) with ESMTP id 314B843D49 for ; Wed, 27 Sep 2006 12:26:51 +0000 (GMT) (envelope-from kmholla@gmail.com) Received: by wx-out-0506.google.com with SMTP id i27so188918wxd for ; Wed, 27 Sep 2006 05:26:50 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=U7LzysnrXC0mAjl5rBAHqzyiLP9Hj8ytkv8J3nLYqX4mnC+QuW9klMZgyndTh7sAdTUQZnDqT9YnmqJJcArQjrdtJBXNFahcttdvUuAelF84f3ezLRpdMhZE73+p24fIsQdf4hc7B6/nbeAMcfYYUtEnNducarQF9wIER4GvCEc= Received: by 10.70.56.4 with SMTP id e4mr594225wxa; Wed, 27 Sep 2006 05:26:50 -0700 (PDT) Received: by 10.70.19.13 with HTTP; Wed, 27 Sep 2006 05:26:50 -0700 (PDT) Message-ID: <347fc4490609270526k4ca31a00nc00d82c7d1d279d4@mail.gmail.com> Date: Wed, 27 Sep 2006 17:56:50 +0530 From: "krishnamurthy holla" To: freebsd-fs@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Hi: Porting Cramfs on FreeBSD X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Sep 2006 12:26:51 -0000 Dear All, I want to port cramfs to freebsd-6.1 ; can anybody give me some tips about how to port.. thank you, with love, krishnamurthy From owner-freebsd-fs@FreeBSD.ORG Wed Sep 27 13:07:28 2006 Return-Path: X-Original-To: freebsd-fs@FreeBSD.ORG Delivered-To: freebsd-fs@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6637616A403 for ; Wed, 27 Sep 2006 13:07:28 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (lurza.secnetix.de [83.120.8.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9601A43D79 for ; Wed, 27 Sep 2006 13:07:24 +0000 (GMT) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (mrgrip@localhost [127.0.0.1]) by lurza.secnetix.de (8.13.4/8.13.4) with ESMTP id k8RD7GTX016291; Wed, 27 Sep 2006 15:07:22 +0200 (CEST) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.13.4/8.13.1/Submit) id k8RD7G01016290; Wed, 27 Sep 2006 15:07:16 +0200 (CEST) (envelope-from olli) Date: Wed, 27 Sep 2006 15:07:16 +0200 (CEST) Message-Id: <200609271307.k8RD7G01016290@lurza.secnetix.de> From: Oliver Fromme To: freebsd-fs@FreeBSD.ORG, kmholla@gmail.com In-Reply-To: <347fc4490609270526k4ca31a00nc00d82c7d1d279d4@mail.gmail.com> X-Newsgroups: list.freebsd-fs User-Agent: tin/1.8.0-20051224 ("Ronay") (UNIX) (FreeBSD/4.11-STABLE (i386)) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.1.2 (lurza.secnetix.de [127.0.0.1]); Wed, 27 Sep 2006 15:07:22 +0200 (CEST) Cc: Subject: Re: Hi: Porting Cramfs on FreeBSD X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-fs@FreeBSD.ORG, kmholla@gmail.com List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Sep 2006 13:07:28 -0000 krishnamurthy holla wrote: > I want to port cramfs to freebsd-6.1 ; can anybody give me > some tips about how to port.. I think porting cramfs is not a good idea. It's GPL'ed, doesn't fully support POSIX semantics, and has severe limitations (16 MB maximum file size, 256 MB maximum file system size). It is probably better to design a new file system from scratch (and make it BSD-licensed). Just my 2 cents. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing Dienstleistungen mit Schwerpunkt FreeBSD: http://www.secnetix.de/bsd Any opinions expressed in this message may be personal to the author and may not necessarily reflect the opinions of secnetix in any way. Perl is worse than Python because people wanted it worse. -- Larry Wall From owner-freebsd-fs@FreeBSD.ORG Wed Sep 27 16:51:33 2006 Return-Path: X-Original-To: freebsd-fs@freebsd.org Delivered-To: freebsd-fs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 804B516A49E for ; Wed, 27 Sep 2006 16:51:33 +0000 (UTC) (envelope-from anderson@centtech.com) Received: from mh1.centtech.com (moat3.centtech.com [64.129.166.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2F7B543D78 for ; Wed, 27 Sep 2006 16:51:32 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from [10.177.171.220] (neutrino.centtech.com [10.177.171.220]) by mh1.centtech.com (8.13.1/8.13.1) with ESMTP id k8RGM7OJ006888; Wed, 27 Sep 2006 11:22:08 -0500 (CDT) (envelope-from anderson@centtech.com) Message-ID: <451AA52F.2020408@centtech.com> Date: Wed, 27 Sep 2006 11:22:07 -0500 From: Eric Anderson User-Agent: Thunderbird 1.5.0.7 (X11/20060923) MIME-Version: 1.0 To: freebsd-fs@freebsd.org, kmholla@gmail.com References: <200609271307.k8RD7G01016290@lurza.secnetix.de> In-Reply-To: <200609271307.k8RD7G01016290@lurza.secnetix.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.87.1/1947/Tue Sep 26 19:46:56 2006 on mh1.centtech.com X-Virus-Status: Clean Cc: Subject: Re: Hi: Porting Cramfs on FreeBSD X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Sep 2006 16:51:33 -0000 On 09/27/06 08:07, Oliver Fromme wrote: > krishnamurthy holla wrote: > > I want to port cramfs to freebsd-6.1 ; can anybody give me > > some tips about how to port.. > > I think porting cramfs is not a good idea. It's GPL'ed, > doesn't fully support POSIX semantics, and has severe > limitations (16 MB maximum file size, 256 MB maximum file > system size). > > It is probably better to design a new file system from > scratch (and make it BSD-licensed). > > Just my 2 cents. > > Best regards > Oliver > I'm currently working on a tarfs, that will do something similar to this, except it allows you to use a regular tar file as the file system image. I don't have compression working yet, but that is on the roadmap. It's also more fully featured than cramfs - it will support the full uid/gids, . and .. directories, hard links, large file system sizes (based on available memory), real timestamps, full permissions (but not extended attributes), and will be BSD licensed. Eric -- ------------------------------------------------------------------------ Eric Anderson Sr. Systems Administrator Centaur Technology Anything that works is better than anything that doesn't. ------------------------------------------------------------------------ From owner-freebsd-fs@FreeBSD.ORG Wed Sep 27 17:12:18 2006 Return-Path: X-Original-To: freebsd-fs@FreeBSD.ORG Delivered-To: freebsd-fs@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 214D316A4CA for ; Wed, 27 Sep 2006 17:12:18 +0000 (UTC) (envelope-from gpalmer@freebsd.org) Received: from noop.in-addr.com (noop.in-addr.com [208.58.23.51]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3ED0243D46 for ; Wed, 27 Sep 2006 17:11:55 +0000 (GMT) (envelope-from gpalmer@freebsd.org) Received: from gjp by noop.in-addr.com with local (Exim 4.54 (FreeBSD)) id 1GScws-000MNc-Un for freebsd-fs@FreeBSD.ORG; Wed, 27 Sep 2006 13:11:54 -0400 Date: Wed, 27 Sep 2006 13:11:54 -0400 From: Gary Palmer To: freebsd-fs@FreeBSD.ORG Message-ID: <20060927171154.GA60529@in-addr.com> Mail-Followup-To: freebsd-fs@FreeBSD.ORG References: <347fc4490609270526k4ca31a00nc00d82c7d1d279d4@mail.gmail.com> <200609271307.k8RD7G01016290@lurza.secnetix.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200609271307.k8RD7G01016290@lurza.secnetix.de> Cc: Subject: Re: Hi: Porting Cramfs on FreeBSD X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Sep 2006 17:12:18 -0000 On Wed, Sep 27, 2006 at 03:07:16PM +0200, Oliver Fromme wrote: > krishnamurthy holla wrote: > > I want to port cramfs to freebsd-6.1 ; can anybody give me > > some tips about how to port.. > > I think porting cramfs is not a good idea. It's GPL'ed, > doesn't fully support POSIX semantics, and has severe > limitations (16 MB maximum file size, 256 MB maximum file > system size). > > It is probably better to design a new file system from > scratch (and make it BSD-licensed). For running on a flash card, I'm not sure those limits are unreasonable. Also, if you do a implementation from the public data in the headers, is that code also under GPL? From owner-freebsd-fs@FreeBSD.ORG Wed Sep 27 17:39:10 2006 Return-Path: X-Original-To: freebsd-fs@FreeBSD.ORG Delivered-To: freebsd-fs@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7D93816A403 for ; Wed, 27 Sep 2006 17:39:10 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (lurza.secnetix.de [83.120.8.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id 643A943D5C for ; Wed, 27 Sep 2006 17:39:03 +0000 (GMT) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (pahevu@localhost [127.0.0.1]) by lurza.secnetix.de (8.13.4/8.13.4) with ESMTP id k8RHctZH032313 for ; Wed, 27 Sep 2006 19:39:01 +0200 (CEST) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.13.4/8.13.1/Submit) id k8RHctX9032312; Wed, 27 Sep 2006 19:38:55 +0200 (CEST) (envelope-from olli) Date: Wed, 27 Sep 2006 19:38:55 +0200 (CEST) Message-Id: <200609271738.k8RHctX9032312@lurza.secnetix.de> From: Oliver Fromme To: freebsd-fs@FreeBSD.ORG In-Reply-To: <20060927171154.GA60529@in-addr.com> X-Newsgroups: list.freebsd-fs User-Agent: tin/1.8.0-20051224 ("Ronay") (UNIX) (FreeBSD/4.11-STABLE (i386)) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.1.2 (lurza.secnetix.de [127.0.0.1]); Wed, 27 Sep 2006 19:39:01 +0200 (CEST) Cc: Subject: Re: Hi: Porting Cramfs on FreeBSD X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-fs@FreeBSD.ORG List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Sep 2006 17:39:10 -0000 Gary Palmer wrote: > Oliver Fromme wrote: > > krishnamurthy holla wrote: > > > I want to port cramfs to freebsd-6.1 ; can anybody give me > > > some tips about how to port.. > > > > I think porting cramfs is not a good idea. It's GPL'ed, > > doesn't fully support POSIX semantics, and has severe > > limitations (16 MB maximum file size, 256 MB maximum file > > system size). > > > > It is probably better to design a new file system from > > scratch (and make it BSD-licensed). > > For running on a flash card, I'm not sure those limits are unreasonable. Nowadays, flash cards of 1 GB or even larger are pretty much standard. Therefore I think that a 256 MB file system limit is not reasonable. A file size limit of 16 Mb is even less reasonable, IMHO. (Remember Bill Gate's famous statement "640 KB should be enough for everybody"? ;-) > Also, if you do a implementation from the public data in the headers, is > that code also under GPL? No, I don't think so (but I'm not a lawyer). But he wrote that he wanted "to port cramfw", not to do an implementation of his own, which is a different thing. But maybe he really meant the latter. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing Dienstleistungen mit Schwerpunkt FreeBSD: http://www.secnetix.de/bsd Any opinions expressed in this message may be personal to the author and may not necessarily reflect the opinions of secnetix in any way. "A language that doesn't have everything is actually easier to program in than some that do." -- Dennis M. Ritchie From owner-freebsd-fs@FreeBSD.ORG Wed Sep 27 17:46:36 2006 Return-Path: X-Original-To: freebsd-fs@FreeBSD.ORG Delivered-To: freebsd-fs@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3EAD716A40F for ; Wed, 27 Sep 2006 17:46:36 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (lurza.secnetix.de [83.120.8.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5F9C243DA1 for ; Wed, 27 Sep 2006 17:45:17 +0000 (GMT) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (lejqdo@localhost [127.0.0.1]) by lurza.secnetix.de (8.13.4/8.13.4) with ESMTP id k8RHipPu032656; Wed, 27 Sep 2006 19:44:56 +0200 (CEST) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.13.4/8.13.1/Submit) id k8RHipTS032655; Wed, 27 Sep 2006 19:44:51 +0200 (CEST) (envelope-from olli) Date: Wed, 27 Sep 2006 19:44:51 +0200 (CEST) Message-Id: <200609271744.k8RHipTS032655@lurza.secnetix.de> From: Oliver Fromme To: freebsd-fs@FreeBSD.ORG, anderson@centtech.com In-Reply-To: <451AA52F.2020408@centtech.com> X-Newsgroups: list.freebsd-fs User-Agent: tin/1.8.0-20051224 ("Ronay") (UNIX) (FreeBSD/4.11-STABLE (i386)) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.1.2 (lurza.secnetix.de [127.0.0.1]); Wed, 27 Sep 2006 19:44:57 +0200 (CEST) Cc: Subject: Re: Hi: Porting Cramfs on FreeBSD X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Sep 2006 17:46:36 -0000 Eric Anderson wrote: > I'm currently working on a tarfs, that will do something similar to > this, except it allows you to use a regular tar file as the file system > image. That's cool. I'm looking forward to it. > I don't have compression working yet, but that is on the > roadmap. [...] large file system sizes (based on available > memory) Hm. Does that mean that the whole (uncompressed) FS image will have to fit into memory? That would be a disadvantage compared to cramfs. Cramfs doesn't compress the whole FS as one object (like .tar.gz), but it compresses it page-by- page, so every page can be uncompressed independently, and memory usage is very low, which is good for small embedded applications. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing Dienstleistungen mit Schwerpunkt FreeBSD: http://www.secnetix.de/bsd Any opinions expressed in this message may be personal to the author and may not necessarily reflect the opinions of secnetix in any way. "... there are two ways of constructing a software design: One way is to make it so simple that there are _obviously_ no deficiencies and the other way is to make it so complicated that there are no _obvious_ deficiencies." -- C.A.R. Hoare, ACM Turing Award Lecture, 1980 From owner-freebsd-fs@FreeBSD.ORG Wed Sep 27 18:51:13 2006 Return-Path: X-Original-To: freebsd-fs@FreeBSD.ORG Delivered-To: freebsd-fs@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3B6FC16A403 for ; Wed, 27 Sep 2006 18:51:13 +0000 (UTC) (envelope-from anderson@centtech.com) Received: from mh1.centtech.com (moat3.centtech.com [64.129.166.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id E0C5C43D46 for ; Wed, 27 Sep 2006 18:51:12 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from [10.177.171.220] (neutrino.centtech.com [10.177.171.220]) by mh1.centtech.com (8.13.1/8.13.1) with ESMTP id k8RIpBrZ031166; Wed, 27 Sep 2006 13:51:11 -0500 (CDT) (envelope-from anderson@centtech.com) Message-ID: <451AC81E.5070803@centtech.com> Date: Wed, 27 Sep 2006 13:51:10 -0500 From: Eric Anderson User-Agent: Thunderbird 1.5.0.7 (X11/20060923) MIME-Version: 1.0 To: Oliver Fromme References: <200609271744.k8RHipTS032655@lurza.secnetix.de> In-Reply-To: <200609271744.k8RHipTS032655@lurza.secnetix.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.87.1/1948/Wed Sep 27 11:03:03 2006 on mh1.centtech.com X-Virus-Status: Clean Cc: freebsd-fs@FreeBSD.ORG Subject: Re: Hi: Porting Cramfs on FreeBSD X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Sep 2006 18:51:13 -0000 On 09/27/06 12:44, Oliver Fromme wrote: > Eric Anderson wrote: > > I'm currently working on a tarfs, that will do something similar to > > this, except it allows you to use a regular tar file as the file system > > image. > > That's cool. I'm looking forward to it. > > > I don't have compression working yet, but that is on the > > roadmap. [...] large file system sizes (based on available > > memory) > > Hm. Does that mean that the whole (uncompressed) FS image > will have to fit into memory? That would be a disadvantage > compared to cramfs. Cramfs doesn't compress the whole FS > as one object (like .tar.gz), but it compresses it page-by- > page, so every page can be uncompressed independently, and > memory usage is very low, which is good for small embedded > applications. No, only inode+direntries need to fit into memory. So an FS with 1million inodes might take .5MB of memory (estimate). Eric -- ------------------------------------------------------------------------ Eric Anderson Sr. Systems Administrator Centaur Technology Anything that works is better than anything that doesn't. ------------------------------------------------------------------------ From owner-freebsd-fs@FreeBSD.ORG Wed Sep 27 18:58:27 2006 Return-Path: X-Original-To: freebsd-fs@freebsd.org Delivered-To: freebsd-fs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 08E8E16A40F for ; Wed, 27 Sep 2006 18:58:27 +0000 (UTC) (envelope-from umka@sevcity.net) Received: from mail.sevcity.net (ns.sevcity.net [193.47.166.213]) by mx1.FreeBSD.org (Postfix) with ESMTP id A614143D79 for ; Wed, 27 Sep 2006 18:58:21 +0000 (GMT) (envelope-from umka@sevcity.net) Received: from mail.sevcity.net (service.sevcity [127.0.0.1]) by mail.sevcity.net (Postfix) with ESMTP id 88B7A170016; Wed, 27 Sep 2006 21:59:09 +0300 (EEST) Received: from berloga.shadowland (umka.sevcity.net [193.47.166.138]) by mail.sevcity.net (Postfix) with ESMTP id 68120170004; Wed, 27 Sep 2006 21:59:09 +0300 (EEST) Received: from berloga.shadowland (berloga.shadowland [127.0.0.1]) by berloga.shadowland (8.12.11.20060308/8.12.11) with ESMTP id k8RIwL9k006086; Wed, 27 Sep 2006 21:58:21 +0300 Received: (from root@localhost) by berloga.shadowland (8.12.11.20060308/8.12.11/Submit) id k8RIwK1t006084; Wed, 27 Sep 2006 21:58:20 +0300 From: Alex Lyashkov To: krishnamurthy holla In-Reply-To: <347fc4490609270526k4ca31a00nc00d82c7d1d279d4@mail.gmail.com> References: <347fc4490609270526k4ca31a00nc00d82c7d1d279d4@mail.gmail.com> Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable Organization: SevcityNet Message-Id: <1159383500.3269.17.camel@berloga.shadowland> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 (1.4.5-17) Date: Wed, 27 Sep 2006 21:58:20 +0300 X-Virus-Scanned: ClamAV using ClamSMTP Cc: freebsd-fs@freebsd.org Subject: Re: Hi: Porting Cramfs on FreeBSD X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Sep 2006 18:58:27 -0000 how are use geom_uzip(4)/mkuzip ? it`s seem to be equal cramfs.=20 =F7 =F3=D2=C4, 27.09.2006, =D7 15:26, krishnamurthy holla =D0=C9=DB=C5=D4: > Dear All, > I want to port cramfs to freebsd-6.1 ; can anybody give me some tips > about how to port.. >=20 >=20 > thank you, > with love, > krishnamurthy > _______________________________________________ > freebsd-fs@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-fs > To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org" From owner-freebsd-fs@FreeBSD.ORG Fri Sep 29 01:55:04 2006 Return-Path: X-Original-To: freebsd-fs@freebsd.org Delivered-To: freebsd-fs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 691FC16A40F for ; Fri, 29 Sep 2006 01:55:04 +0000 (UTC) (envelope-from andrew@areilly.bpa.nu) Received: from omta02ps.mx.bigpond.com (omta02ps.mx.bigpond.com [144.140.83.154]) by mx1.FreeBSD.org (Postfix) with ESMTP id BC24243D45 for ; Fri, 29 Sep 2006 01:55:03 +0000 (GMT) (envelope-from andrew@areilly.bpa.nu) Received: from areilly.bpa.nu ([141.168.2.3]) by omta02ps.mx.bigpond.com with ESMTP id <20060929015501.ZJIF16502.omta02ps.mx.bigpond.com@areilly.bpa.nu> for ; Fri, 29 Sep 2006 01:55:01 +0000 Received: (qmail 47438 invoked by uid 501); 29 Sep 2006 01:53:52 -0000 Date: Fri, 29 Sep 2006 11:53:52 +1000 From: Andrew Reilly To: freebsd-fs@freebsd.org Message-ID: <20060929015352.GA46546@duncan.reilly.home> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.2i Subject: Doesn't *anyone* (else) use an atacontrol-built software RAID1 (mirror)? X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Sep 2006 01:55:04 -0000 Hi, I've posted this sort of question to freebsd-questions and freebsd-stable, back on the 22nd, when I first noticed a problem. Much to my surprise, I've not received any answer at all, which makes me wonder if, perhaps, I'm the only one actually using this sort of configuration. If that's the case, then I'll happily drop it like a hot rock and try again with a GEOM mirror, or something like that. Here's the story: I just (a week ago) tried to do an in-place upgrade from RELENG_5 to RELENG_6 on a system that was running an ataraid (built with atacontrol) mirror on a pair of SATA disks. The root file system (256M) mounted fine, but fsck -p fails (unable to find a superblock, from memory) under the new kernel on my /usr partition, which is about 73G (most of the 80G of the disks). Falling back to the RELENG_5 /boot/kernel and fsck finds no problem with that filesystem. Is there a known behaviour change in ataraid behaviour between the two versions? The hardware is Intel P4, ICH6 SATA150, and a pair of Seagate 80G SATA drives. I can dig up more details if necessary. Full dmesg and config file details are included in the message to freebsd-questions on the 22nd, entitled "ataraid/fsck glitch on upgrade from 5.5 to 6-stable?" One odd-looking thing that I noticed (in RELENG_5, of course) is that fdisk ar0 says that cylinders=9729 heads=255 sectors/track=63, but fdisk ad4 (the first of the "real" SATA disks) says cylinders=155061, heads=16, sectors/track=63. Should these really be so different? I haven't tested it, but wouldn't this geometry difference make recovery with one dead drive kind of awkward? Is backup and start again from label/newfs (perhaps using gmirror instead of atacontrol?) my only option? Cheers, -- Andrew From owner-freebsd-fs@FreeBSD.ORG Fri Sep 29 14:37:53 2006 Return-Path: X-Original-To: freebsd-fs@freebsd.org Delivered-To: freebsd-fs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6364216A40F for ; Fri, 29 Sep 2006 14:37:53 +0000 (UTC) (envelope-from root@prometheus.powertrip.co.za) Received: from prometheus.powertrip.co.za (prometheus.powertrip.co.za [72.21.46.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id 03C6E43D49 for ; Fri, 29 Sep 2006 14:37:53 +0000 (GMT) (envelope-from root@prometheus.powertrip.co.za) Received: from root by prometheus.powertrip.co.za with local (Exim 4.61 (FreeBSD)) (envelope-from ) id 1GTJUr-000OQr-Mq; Fri, 29 Sep 2006 16:37:49 +0200 Date: Fri, 29 Sep 2006 16:37:49 +0200 From: Jacques Marneweck To: Andrew Reilly Message-ID: <20060929143749.GO64985@prometheus.powertrip.co.za> References: <20060929015352.GA46546@duncan.reilly.home> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060929015352.GA46546@duncan.reilly.home> User-Agent: Mutt/1.4.2.2i Cc: freebsd-fs@freebsd.org Subject: Re: Doesn't *anyone* (else) use an atacontrol-built software RAID1 (mirror)? X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Sep 2006 14:37:53 -0000 On Fri, Sep 29, 2006 at 11:53:52AM +1000, Andrew Reilly wrote: > Hi, Hi, I normally would reinstall a machine from scratch rather than having a mission to upgrade from one major release to another major release. Also the software pseudo raid behaves quite well from my usage of it in production environments. Regards --jm > > I've posted this sort of question to freebsd-questions and > freebsd-stable, back on the 22nd, when I first noticed a > problem. Much to my surprise, I've not received any answer at > all, which makes me wonder if, perhaps, I'm the only one > actually using this sort of configuration. If that's the case, > then I'll happily drop it like a hot rock and try again with a > GEOM mirror, or something like that. > > Here's the story: > > I just (a week ago) tried to do an in-place upgrade from > RELENG_5 to RELENG_6 on a system that was running an ataraid > (built with atacontrol) mirror on a pair of SATA disks. The > root file system (256M) mounted fine, but fsck -p fails (unable > to find a superblock, from memory) under the new kernel on my > /usr partition, which is about 73G (most of the 80G of the > disks). Falling back to the RELENG_5 /boot/kernel and fsck > finds no problem with that filesystem. > > Is there a known behaviour change in ataraid behaviour between > the two versions? The hardware is Intel P4, ICH6 SATA150, and a > pair of Seagate 80G SATA drives. I can dig up more details if > necessary. Full dmesg and config file details are included in > the message to freebsd-questions on the 22nd, entitled > "ataraid/fsck glitch on upgrade from 5.5 to 6-stable?" > > One odd-looking thing that I noticed (in RELENG_5, of > course) is that fdisk ar0 says that cylinders=9729 heads=255 > sectors/track=63, but fdisk ad4 (the first of the "real" SATA > disks) says cylinders=155061, heads=16, sectors/track=63. > Should these really be so different? I haven't tested it, but > wouldn't this geometry difference make recovery with one dead > drive kind of awkward? > > Is backup and start again from label/newfs (perhaps using > gmirror instead of atacontrol?) my only option? > > Cheers, > > -- > Andrew > _______________________________________________ > freebsd-fs@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-fs > To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org" From owner-freebsd-fs@FreeBSD.ORG Fri Sep 29 17:04:17 2006 Return-Path: X-Original-To: freebsd-fs@freebsd.org Delivered-To: freebsd-fs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9E0AD16A5D6 for ; Fri, 29 Sep 2006 17:04:17 +0000 (UTC) (envelope-from kmholla@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.224]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8072143D8C for ; Fri, 29 Sep 2006 17:04:10 +0000 (GMT) (envelope-from kmholla@gmail.com) Received: by wx-out-0506.google.com with SMTP id i27so988204wxd for ; Fri, 29 Sep 2006 10:04:09 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=df9mixN+9U++vUcIkTJTDdYVfcJ/REwbnvo8KUgU6yhBLgBJxr/48LqfWtYxuEYat4z5D/t7k4X/+44PrleZ/FNiPdpWFMW3hurmM9bu50zoi5uzjBSvxsh9ZIOTM1c6ZiKcEt1cEDUXt9bEyoMB5S+QbgAShLHTeLw50v0BmHQ= Received: by 10.70.32.10 with SMTP id f10mr741415wxf; Fri, 29 Sep 2006 10:04:09 -0700 (PDT) Received: by 10.70.19.13 with HTTP; Fri, 29 Sep 2006 10:04:09 -0700 (PDT) Message-ID: <347fc4490609291004m53ee9ecduf41155e338ad0fdb@mail.gmail.com> Date: Fri, 29 Sep 2006 22:34:09 +0530 From: "krishnamurthy holla" To: "Alex Lyashkov" In-Reply-To: <1159383500.3269.17.camel@berloga.shadowland> MIME-Version: 1.0 References: <347fc4490609270526k4ca31a00nc00d82c7d1d279d4@mail.gmail.com> <1159383500.3269.17.camel@berloga.shadowland> Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: base64 Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-fs@freebsd.org Subject: Re: Hi: Porting Cramfs on FreeBSD X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Sep 2006 17:04:17 -0000 RGVhciBTaXIsCiBUaGFuayB1IGZvciB1ciBpbmZvLAogICBpIG5lZWQgc29tZSBkb2NzIHNvIHRo YXQgaSBjYW4gaW1wbGVtZW50IGNyYW1mcyAvIHRhcmZzIG9uIG15IG93biBvbgpGcmVlQlNELiBT aW5jZSBpIGFtIG5ldyB0byBGcmVlQlNEIGFuZCBldmVuIGkgYW0gbm90IEdldHRpbmcgZG9jcyBh Ym91dCBob3cKdG8gaW1wbGVtZW50IGZpbGVzeXN0ZW1zIGluIGZlZWJzZCAuLi4KCgp3aXRoIGxv dmUKa3Jpc2huYW11cnRoeQoKCk9uIDkvMjgvMDYsIEFsZXggTHlhc2hrb3YgPHVta2FAc2V2Y2l0 eS5uZXQ+IHdyb3RlOgo+Cj4gaG93IGFyZSB1c2UgZ2VvbV91emlwKDQpL21rdXppcCA/IGl0YHMg c2VlbSB0byBiZSBlcXVhbCBjcmFtZnMuCj4KPgo+IPcg89LELCAyNy4wOS4yMDA2LCDXIDE1OjI2 LCBrcmlzaG5hbXVydGh5IGhvbGxhINDJ28XUOgo+ID4gRGVhciBBbGwsCj4gPiAgSSB3YW50IHRv IHBvcnQgY3JhbWZzIHRvIGZyZWVic2QtNi4xIDsgY2FuIGFueWJvZHkgZ2l2ZSBtZSBzb21lIHRp cHMKPiA+IGFib3V0IGhvdyB0byBwb3J0Li4KPiA+Cj4gPgo+ID4gdGhhbmsgeW91LAo+ID4gd2l0 aCBsb3ZlLAo+ID4ga3Jpc2huYW11cnRoeQo+ID4gX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX18KPiA+IGZyZWVic2QtZnNAZnJlZWJzZC5vcmcgbWFpbGluZyBs aXN0Cj4gPiBodHRwOi8vbGlzdHMuZnJlZWJzZC5vcmcvbWFpbG1hbi9saXN0aW5mby9mcmVlYnNk LWZzCj4gPiBUbyB1bnN1YnNjcmliZSwgc2VuZCBhbnkgbWFpbCB0byAiIGZyZWVic2QtZnMtdW5z dWJzY3JpYmVAZnJlZWJzZC5vcmciCj4K From owner-freebsd-fs@FreeBSD.ORG Fri Sep 29 17:58:56 2006 Return-Path: X-Original-To: freebsd-fs@freebsd.org Delivered-To: freebsd-fs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9315216A407 for ; Fri, 29 Sep 2006 17:58:56 +0000 (UTC) (envelope-from absorbb@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.184]) by mx1.FreeBSD.org (Postfix) with ESMTP id 17C1243D49 for ; Fri, 29 Sep 2006 17:58:51 +0000 (GMT) (envelope-from absorbb@gmail.com) Received: by nf-out-0910.google.com with SMTP id a4so149688nfc for ; Fri, 29 Sep 2006 10:58:51 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:from:to:subject:date:user-agent:mime-version:content-type:content-transfer-encoding:content-disposition:message-id; b=TRiPclF6YgsYb2lRfEdDzqOoG7f6nEU5d1Apdp8dIkJrzbZoc4A6U2XkYy306IQU5e9hXCbNhnSDTHNrZ/iYmFrW2+v1BB6QIpuWARE8+BFuHONiH+KAkR+SLEbJ1YbGrF6oHVAd+2mesVVNNIV5QSzEIxrBqICE/yB/5lT0IeY= Received: by 10.78.204.20 with SMTP id b20mr2590256hug; Fri, 29 Sep 2006 10:58:50 -0700 (PDT) Received: from localhost ( [195.91.168.1]) by mx.gmail.com with ESMTP id 40sm2506270hue.2006.09.29.10.58.49; Fri, 29 Sep 2006 10:58:50 -0700 (PDT) From: =?koi8-r?b?6czYxMHSIO7V0snTzMHNz9c=?= To: freebsd-fs@freebsd.org Date: Fri, 29 Sep 2006 21:58:10 +0400 User-Agent: KMail/1.9.4 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200609292158.10505.absorbb@gmail.com> Subject: ntfs broken when share through samba3 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Sep 2006 17:58:56 -0000 This old already reported bug. But situation have'nt changed. There is very simple patch that fix this bug: From owner-freebsd-fs@FreeBSD.ORG Fri Sep 29 18:00:09 2006 Return-Path: X-Original-To: freebsd-fs@freebsd.org Delivered-To: freebsd-fs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7A56216A47B for ; Fri, 29 Sep 2006 18:00:09 +0000 (UTC) (envelope-from absorbb@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.190]) by mx1.FreeBSD.org (Postfix) with ESMTP id 604E143D80 for ; Fri, 29 Sep 2006 17:59:54 +0000 (GMT) (envelope-from absorbb@gmail.com) Received: by nf-out-0910.google.com with SMTP id n29so1080371nfc for ; Fri, 29 Sep 2006 10:59:53 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:from:to:subject:date:user-agent:mime-version:content-disposition:message-id:content-type:content-transfer-encoding; b=coF47TsPcpMohSZ/ximLpiOsBr+UzUNUw/XyHYB6QazWdyc+RPqyzeUGQrfKt8DZrntzO+D3kLzh9wyqwc4Y8BeNCMPINFwLiTx8wCgMyjg3yxWXYPcWz/GF0DhmPnC/ltQR3d6s1EFg460fKvqc+mpPUn1qVHwPNjy+TpN0cWc= Received: by 10.78.183.15 with SMTP id g15mr2591522huf; Fri, 29 Sep 2006 10:59:53 -0700 (PDT) Received: from localhost ( [195.91.168.1]) by mx.gmail.com with ESMTP id 37sm2386542hua.2006.09.29.10.59.52; Fri, 29 Sep 2006 10:59:52 -0700 (PDT) From: =?koi8-r?b?6czYxMHSIO7V0snTzMHNz9c=?= To: freebsd-fs@freebsd.org Date: Fri, 29 Sep 2006 21:59:17 +0400 User-Agent: KMail/1.9.4 MIME-Version: 1.0 Content-Disposition: inline Message-Id: <200609292159.18282.absorbb@gmail.com> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Subject: ntfs broken when share through samba3 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Sep 2006 18:00:09 -0000 This old already reported bug. But situation have'nt changed. There is very simple patch that fix this bug: --- usr/src/sys/fs/ntfs/ntfs_vnops.c Mon Mar 13 00:50:01 2006 +++ home/voxel/stuff/ntfs_vnops.c Thu Aug 31 09:22:08 2006 @@ -187,7 +187,8 @@ vap->va_fsid = dev2udev(ip->i_dev); vap->va_fileid = ip->i_number; vap->va_mode = ip->i_mp->ntm_mode; - vap->va_nlink = ip->i_nlink; + vap->va_nlink = (ip->i_nlink ? ip->i_nlink : 1); + //vap->va_nlink = ip->i_nlink; vap->va_uid = ip->i_mp->ntm_uid; vap->va_gid = ip->i_mp->ntm_gid; vap->va_rdev = 0; /* XXX UNODEV ? */ but it seems to be not beaty solution