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

Ryan Coleman ryan.coleman at cwis.biz
Sat Jul 5 01:58:26 UTC 2008


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?


More information about the freebsd-questions mailing list