Re: Ramdisk (and other) problems with 2.4.2

From: matthew.copeland@honeywell.com
Date: Wed Mar 07 2001 - 12:53:04 EST


> Question. How come you show a lost+found directory in the ramdisk??
> mke2fs version 1.19 doesn't create one on a ram disk.
>
> Script started on Wed Mar 7 12:22:20 2001
> # mke2fs -Fq /dev/ram0 1440
> mke2fs 1.19, 13-Jul-2000 for EXT2 FS 0.5b, 95/08/09
> # mount /dev/ram0 /mnt
> # ls -la /mnt
> total 0
> # umount /mnt
> # exit
> exit
>
> Script done on Wed Mar 7 12:23:21 2001

That's interesting. Mine does. I wonder if the version difference
between mke2fs 1.18 aand 1.19 is what is causing that? I even tried it
with the exact same arguments as in your script and I still got a
lost+found. (I am assuming that in Red Hat 6.2 they didn't change the
mke2fs code at all.)

Matthew M. Copeland

Script started on Wed Mar 7 11:49:24 2001
[root@testgrndstn /root]# dd if=/dev/zero of=/dev/ram1 bs=1k count=4096
4096+0 records in
4096+0 records out
[root@testgrndstn /root]# mke2fs -qm0 /dev/ram1 4096
mke2fs 1.18, 11-Nov-1999 for EXT2 FS 0.5b, 95/08/09
[root@testgrndstn /root]# mount /dev/ram1 /test
[root@testgrndstn /root]# ls -als /test
total 17
   1 drwxr-xr-x 3 root root 1024 Mar 7 11:49 .
   4 drwxr-xr-x 30 root root 4096 Mar 7 11:47 ..
  12 drwxr-xr-x 2 root root 12288 Mar 7 11:49 lost+found
[root@testgrndstn /root]# exit
exit

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Mar 07 2001 - 21:00:23 EST