mounting ext2fs partitions on FBSD7 ( third time a charm?)

Ryan Coleman ryan.coleman at cwis.biz
Sat Jul 5 04:37:30 UTC 2008


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 at inferna:~ # uname -sr
>>> FreeBSD 7.0-RELEASE
>>> root at 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 at inferna:~ # mount -t ext2fs /dev/ad0s8 /mnt/
>>> root at inferna:~ # ls /mnt
>>> ls: /mnt: Bad file descriptor
>>> root at inferna:~ # cd /mnt
>>> /mnt: Not a directory.
>>> root at inferna:~ # umount /mnt
>>> root at inferna:~ # cd /mnt
>>> root at inferna:/mnt # mount -t ext2fs /dev/ad0s8 .
>>> root at inferna:/mnt # ls
>>> ls: .: Not a directory
>>> root at inferna:/mnt # cd ~
>>> root at inferna:~ # umount /mnt
>>> root at inferna:~ # file /mnt/
>>> /mnt/: directory
>>> root at inferna:~ # cd /mnt
>>> root at inferna:/mnt # ls
>>> root at 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 at inferna:~ # date
> Sat Jul  5 00:39:39 ART 2008
> root at inferna:~ # mount -t ext2fs /dev/ad0s8 /mnt/
> root at inferna:~ # ls /mnt
> ls: /mnt: Bad file descriptor
> root at inferna:~ # cd /mnt
> /mnt: Not a directory.
> root at 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 at inferna:~ # umount /mnt
> root at 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 at 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.


More information about the freebsd-questions mailing list