Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 04 Jul 2008 23:37:26 -0500
From:      Ryan Coleman <ryan.coleman@cwis.biz>
To:        Gonzalo Nemmi <gnemmi@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: mounting ext2fs partitions on FBSD7 ( third time a charm?)
Message-ID:  <486EFA86.3060009@cwis.biz>
In-Reply-To: <200807050045.30661.gnemmi@gmail.com>
References:  <200807042033.44829.gnemmi@gmail.com> <486ED53A.1090105@cwis.biz> <200807050045.30661.gnemmi@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Gonzalo Nemmi wrote:
> On Friday 04 July 2008 22:58:18 you wrote:
>   
>> Gonzalo Nemmi wrote:
>>     
>>> Could somebody please throw me a pointer ...
>>> i have followed every instruction on every book and/or how-to ... yet ...
>>>
>>> What am I doing wrong??
>>>
>>> root@inferna:~ # uname -sr
>>> FreeBSD 7.0-RELEASE
>>> root@inferna:~ # kldstat
>>> Id Refs Address    Size     Name
>>>  1   10 0xc0400000 4dd878   kernel
>>>  2    1 0xc08de000 7559b0   nvidia.ko
>>>  3    1 0xc1034000 6721c    acpi.ko
>>>  4    1 0xc4a2e000 4000     logo_saver.ko
>>>  5    1 0xc5884000 10000    ext2fs.ko
>>> root@inferna:~ # mount -t ext2fs /dev/ad0s8 /mnt/
>>> root@inferna:~ # ls /mnt
>>> ls: /mnt: Bad file descriptor
>>> root@inferna:~ # cd /mnt
>>> /mnt: Not a directory.
>>> root@inferna:~ # umount /mnt
>>> root@inferna:~ # cd /mnt
>>> root@inferna:/mnt # mount -t ext2fs /dev/ad0s8 .
>>> root@inferna:/mnt # ls
>>> ls: .: Not a directory
>>> root@inferna:/mnt # cd ~
>>> root@inferna:~ # umount /mnt
>>> root@inferna:~ # file /mnt/
>>> /mnt/: directory
>>> root@inferna:~ # cd /mnt
>>> root@inferna:/mnt # ls
>>> root@inferna:/mnt #
>>>
>>> dmesg says _nothing_
>>> _Any_ hint will be more than welcome :)
>>>       
>> What does /var/log/messages say when you run mount -t ext2fs?
>>     
>
> Hi Ryan!
> And thanks for your help :)
>
> Unfortunately, just as much as dmesg, /var/log/messages says nothing :s
> Look:
>
> root@inferna:~ # date
> Sat Jul  5 00:39:39 ART 2008
> root@inferna:~ # mount -t ext2fs /dev/ad0s8 /mnt/
> root@inferna:~ # ls /mnt
> ls: /mnt: Bad file descriptor
> root@inferna:~ # cd /mnt
> /mnt: Not a directory.
> root@inferna:~ # cat /var/log/messages | tail -5
> Jul  4 20:21:13 inferna su: gonzalo to root on /dev/ttyp2
> Jul  4 20:38:34 inferna kernel: linux: pid 8503 (doom.x86): ioctl fd=17, 
> cmd=0x5801 ('X',1) is not implemented
> Jul  4 20:47:28 inferna kernel: pid 8511 (doom.x86), uid 1001: exited on 
> signal 11
> Jul  4 23:54:48 inferna su: gonzalo to root on /dev/ttyp3
> Jul  5 00:38:24 inferna su: gonzalo to root on /dev/ttyp2
> root@inferna:~ # umount /mnt
> root@inferna:~ # cat /var/log/messages | tail -5
> Jul  4 20:21:13 inferna su: gonzalo to root on /dev/ttyp2
> Jul  4 20:38:34 inferna kernel: linux: pid 8503 (doom.x86): ioctl fd=17, 
> cmd=0x5801 ('X',1) is not implemented
> Jul  4 20:47:28 inferna kernel: pid 8511 (doom.x86), uid 1001: exited on 
> signal 11
> Jul  4 23:54:48 inferna su: gonzalo to root on /dev/ttyp3
> Jul  5 00:38:24 inferna su: gonzalo to root on /dev/ttyp2
> root@inferna:~ #                                       
>
> Have you, by any chance, tried and suceded at mounting ext2fs on FBSD7?
> If you did, at least I'd know that it _is_ possible :s
>
> Thanks  :)
>   

No, I thought maybe there was something there I could help with.... I 
haven't used ext/ext2/ext3 since I dumped RHL in 2003.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?486EFA86.3060009>