Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 04 Jul 2008 20:58:18 -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:  <486ED53A.1090105@cwis.biz>
In-Reply-To: <200807042033.44829.gnemmi@gmail.com>
References:  <200807042033.44829.gnemmi@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

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?



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