From owner-freebsd-questions@FreeBSD.ORG Wed Apr 18 12:13:28 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id F172C106566B for ; Wed, 18 Apr 2012 12:13:28 +0000 (UTC) (envelope-from jhs@berklix.com) Received: from tower.berklix.org (tower.berklix.org [83.236.223.114]) by mx1.freebsd.org (Postfix) with ESMTP id 62B348FC08 for ; Wed, 18 Apr 2012 12:13:27 +0000 (UTC) Received: from mart.js.berklix.net (p5DCBE382.dip.t-dialin.net [93.203.227.130]) (authenticated bits=0) by tower.berklix.org (8.14.2/8.14.2) with ESMTP id q3ICDJWg098462; Wed, 18 Apr 2012 12:13:20 GMT (envelope-from jhs@berklix.com) Received: from fire.js.berklix.net (fire.js.berklix.net [192.168.91.41]) by mart.js.berklix.net (8.14.3/8.14.3) with ESMTP id q3ICDDPu003217; Wed, 18 Apr 2012 14:13:13 +0200 (CEST) (envelope-from jhs@berklix.com) Received: from fire.js.berklix.net (localhost [127.0.0.1]) by fire.js.berklix.net (8.14.4/8.14.4) with ESMTP id q3ICCfuO051318; Wed, 18 Apr 2012 14:13:13 +0200 (CEST) (envelope-from jhs@fire.js.berklix.net) Message-Id: <201204181213.q3ICCfuO051318@fire.js.berklix.net> To: Xavier From: "Julian H. Stacey" Organization: http://berklix.com BSD Unix Linux Consultancy, Munich Germany User-agent: EXMH on FreeBSD http://berklix.com/free/ X-URL: http://www.berklix.com In-reply-to: Your message "Sat, 07 Apr 2012 22:25:28 +0200." Date: Wed, 18 Apr 2012 14:12:41 +0200 Sender: jhs@berklix.com Cc: "Julian H. Stacey" , freebsd-questions@freebsd.org, "illoai@gmail.com" Subject: Re: Can FreeBSD 9.0-RELEASE mount Ext3 file system ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Apr 2012 12:13:29 -0000 Hi, Reference: > From: Xavier > Date: Sat, 7 Apr 2012 22:25:28 +0200 > Message-id: Xavier wrote: > On Sat, Apr 07, 2012 at 04:15:41PM -0400, illoai@gmail.com wrote: > > Hi, > > > On 7 April 2012 13:53, Xavier wrote: > > > Hi to all, > > > > > > I have: > > > > > > casa# disktype /dev/da1 > > > > > > --- /dev/da1 > > > Character device, size 3.771 GiB (4048551936 bytes) > > > FreeBSD boot loader (i386 boot2/BTX 1.02 at sector 2) > > > BSD disklabel (at sector 1), 8 partitions > > > Partition c: 2.145 GiB (2302711808 bytes, 4497484 sectors from 0) > > > Type 0 (Unused) > > > DOS/MBR partition map > > > Partition 1: 3.547 GiB (3808272384 bytes, 7438032 sectors from 63) > > > Type 0x83 (Linux) > > > Ext3 file system > > > UUID D1A7E6D6-3A34-4864-B6E8-C4DAA34AD776 (DCE, v4) > > > Last mounted at "/" > > > Volume size 3.547 GiB (3808272384 bytes, 929754 blocks of 4 KiB) > > > Partition 2: 227.5 MiB (238533120 bytes, 465885 sectors from 7438095) > > > Type 0x05 (Extended) > > > Partition 5: 227.5 MiB (238500864 bytes, 465822 sectors from 7438095+63) > > > Type 0x82 (Linux swap / Solaris) > > > Linux swap, version 2, subversion 1, 4 KiB pages, little-endian > > > Swap size 227.4 MiB (238489600 bytes, 58225 pages of 4 KiB) > > > > > > I'm running from FreeBSD 9.0-RELEASE > > > > > > I try: > > > > > > casa# mount -t ext2fs /dev/da1a /mnt/JetFlash\ Transcend\ 4GB\ 1100/ > > > mount: /dev/da1a : Invalid argument > > > > > > How can I mount it ? > > > > mount -t ext2fs /dev/da1s1 /mnt/JetFlash\ Transcend\ 4GB\ 1100/ > > perhaps? Note-----------^^ > > > > If that still doesn't work, try adding -r in there (as ext2fs might not > > support r/w in your configuration). > > > > casa# mount -t ext2fs /dev/da1s1 /mnt/JetFlash\ Transcend\ 4GB\ 1100/ > mount: /dev/da1s1 : No such file or directory > casa# > casa# mount -r -t ext2fs /dev/da1s1 /mnt/JetFlash\ Transcend\ 4GB\ 1100/ > mount: /dev/da1s1 : No such file or directory > casa# > > You have more ideas ? With 9.0-RELEASE generic kernel: man mount ... man 2 nmount The type argument names the file system. The types of file systems known to the system can be obtained with lsvfs(1). lsvfs Filesystem Refs Flags -------------------------------- ----- --------------- devfs 1 synthetic msdosfs 0 nfs 0 network procfs 0 synthetic cd9660 0 read-only ufs 1 cd /boot/kernel ; find . -name \*ext\* -print kldload /boot/kernel/ext2fs.ko ; lsvfs # Adds ext2fs 0 man ext2fs To link into the kernel: options EXT2FS To load as a kernel loadable module: kldload ext2fs No mention of ext3 there, nor from find (above). .. so you May be out of luck .. Divide the problem. Reduce simulltaneous testing of backslash & ext3. Delete all backslash junk during test. Try su ; mkdir /mnt/test ; mount -r -t ext2fs /dev/da1a /mnt/test If that likely too fails, then select a list: freebsd-fs@freebsd.org or freebsd-current@freebsd.org + cc code authors on freebsd { see names in base of man ext2fs` & look in sources or cvs maybe } Ask them if anyone is known to be working on Ext3 on FreeBSD (or *OtherBSD, as that'd be a good start for a port) If all that fails, insert stick in a Linux box (*), copy data from the ext3 stick, reformat stick as Ext2, & write the data back. Ext2 doesnt need the latest FreeBSD-9, at least FreeBSD-8.2 can also handle Ext2. Linux boxes can be found in unexpected places, eg some media devices are built on Linux, (Some some manufacturers are not aware BSD offers more liberal licensing than FSF). Whether such devices can reformat to user selected format I haven't yet had access to try so you might need a real Linux PC to re-format. Examples of media boxes: Iomega ScreenPlay TV Link, Director Edition high definition multimedia player http://go.iomega.com/section?p=4760&secid=42740#tech_specsItem_tab External USB Drive Format: NTFS (default), FAT32, Mac OS Extended (HFS+)**, Ext2 or Ext3. (No mention of UFS, so presumably a Linux, I will collect one soon). http://www.humaxfoxsathdr.co.uk/ Foxsat-HDR/500 http://www.humaxdirect.co.uk/product.asp?ProdRef=10087#more-info (Not stated what this supports.) Dreambox 800 http://www.dreambox800.co.uk/Dreambox-800-Satellite-Receiver-pro (Not stated what this supports, but based on Linux) Cheers, Julian -- Julian Stacey, BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com Reply below not above, cumulative like a play script, & indent with "> ". Format: Plain text. Not HTML, multipart/alternative, base64, quoted-printable. Mail from @yahoo dumped @berklix. http://berklix.org/yahoo/