Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Jul 2008 17:20:20 -0300
From:      Gonzalo Nemmi <gnemmi@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: mounting ext2fs partitions on FBSD7 ( third time a charm?)
Message-ID:  <200807051720.20649.gnemmi@gmail.com>
In-Reply-To: <486F3870.7090002@skoberne.net>
References:  <200807042033.44829.gnemmi@gmail.com> <200807050546.09073.gnemmi@gmail.com> <486F3870.7090002@skoberne.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Saturday 05 July 2008 06:01:36 Nejc =8Akoberne wrote:
> Hey,
>
> >> ls -la / | grep mnttest
>
> Can you paste output of this command?
>
> > sysid 5 (0x05),(Extended DOS)
> >     start 102398310, size 106446690 (51975 Meg), flag 0
> >         beg: cyl 1023/ head 0/ sector 1;
> >         end: cyl 1023/ head 254/ sector 63
>
> So the partition you're trying to mount is under an extended partition.
> Can you do "ls -la /dev/ad0*" and provide us with the output?
>
> Bye,
> Nejc

Here you have a more complete output:

root@inferna:~ # mkdir /mnttest
root@inferna:~ # ls -la / | grep mnttest
drwxr-xr-x   2 root  wheel      512 Jul  5 17:16 mnttest
root@inferna:~ # mount -t ext2fs /dev/ad0s8 /mnttest
root@inferna:~ # ls /mnttest
ls: /mnttest: Bad file descriptor
root@inferna:~ # file /mnttest
/mnttest: cannot open `/mnttest' (Bad file descriptor)
root@inferna:~ # ls -la / | grep mnttest
ls: mnttest: Bad file descriptor
root@inferna:~ # dmesg | tail -5
re0: link state changed to DOWN
re0: link state changed to UP
pid 41456 (kdeinit), uid 1001 inumber 14 on /tmp: filesystem full
linux: pid 8503 (doom.x86): ioctl fd=3D17, cmd=3D0x5801 ('X',1) is not impl=
emented
pid 8511 (doom.x86), uid 1001: exited on signal 11
root@inferna:~ # umount /mnttest
root@inferna:~ # ls /mnttest
root@inferna:~ # file /mnttest
/mnttest: directory
root@inferna:~ # ls -la / | grep mnttest
drwxr-xr-x   2 root  wheel      512 Jul  5 17:16 mnttest
root@inferna:~ # dmesg | tail -5
re0: link state changed to DOWN
re0: link state changed to UP
pid 41456 (kdeinit), uid 1001 inumber 14 on /tmp: filesystem full
linux: pid 8503 (doom.x86): ioctl fd=3D17, cmd=3D0x5801 ('X',1) is not impl=
emented
pid 8511 (doom.x86), uid 1001: exited on signal 11
root@inferna:~ #=20

Hope it clarifies sonething more=20
Thanks for helping Nejc :)
=2D-=20
Blessings
Gonzalo Nemmi



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