Date: Wed, 28 Jan 2009 18:42:24 GMT From: Elmar Stellnberger <estellnb@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: misc/131086: mkfs.ext2 creates rotten partition Message-ID: <200901281842.n0SIgO1S028392@www.freebsd.org> Resent-Message-ID: <200901281850.n0SIo1kF024410@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 131086 >Category: misc >Synopsis: mkfs.ext2 creates rotten partition >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Jan 28 18:50:01 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Elmar Stellnberger >Release: 7.1 >Organization: >Environment: FreeBSD scaleo.studiob 7.1-RELEASE FreeBSD 7.1-RELEASE #0: Thu Jan 1 14:37:25 UTC 2009 root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >Description: Fresh created ext2 partition can not be accessed correctly. Most likely a bug of e2fsprogs-1.41.0 since the ext2fs driver can access other ext2 partitions without any problem. >How-To-Repeat: > mkfs.ext2 /dev/ad6s6 mke2fs 1.41.0 (10-Jul-2008) Filesystem label= OS type: FreeBSD Block size=4096 (log=2) Fragment size=4096 (log=2) 2444624 inodes, 9765504 blocks 488275 blocks (5.00%) reserved for the super user First data block=0 Maximum filesystem blocks=0 299 block groups 32768 blocks per group, 32768 fragments per group 8176 inodes per group Superblock backups stored on blocks: 32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208, 4096000, 7962624 Writing inode tables: done Writing superblocks and filesystem accounting information: done This filesystem will be automatically checked every 27 mounts or 180 days, whichever comes first. Use tune2fs -c or -i to override. root:/> mount -t ext2fs /dev/ad6s6 /mnt/tmp/ root:/> cp -a /home/elm/.thunderbird /mnt/tmp/ cp: /mnt/tmp: Bad file descriptor root:/> ls /mnt/tmp ls: /mnt/tmp: Bad file descriptor root:/> mount .. /dev/ad6s6 on /mnt/tmp (ext2fs, local) root:/> cd /mnt/tmp bash: cd: /mnt/tmp: Not a directory root:/> umount /mnt/tmp root:/> fsck.ext2 /dev/ad6s6 e2fsck 1.41.0 (10-Jul-2008) /dev/ad6s6: clean, 11/2444624 files, 165693/9765504 blocks >Fix: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200901281842.n0SIgO1S028392>