Re: Ramdisks and tmpfs problems

Geoffrey Gallaway (geoffeg@sin.sloth.org)
Tue, 9 Apr 2002 17:18:27 -0400


I tried that too, mke2fs says:
mke2fs: Device size reported to be zero. Invalid partition specified, or a
partition table wasn't reread after running fdisk, due to a modified
partition being busy and in use. You may need to reboot to re-read your
partition table.

This one time, at band camp, Andrew Morton wrote:
> Geoffrey Gallaway wrote:
> >
> > ...
> > Originally I started playing with ram disks but when I try to create a new
> > ramdisk with "mke2fs /dev/ram0 16384" mke2fs says:
> > mke2fs: Filesystem larger then apparent filesystem size.
> > Proceed anyway? (y,n) y
> > Warning: could not erase sector 2: Invalid arguement
> > Warning: could not erase sector 0: Attempt to write block from filesystem
> > resulted in short write
> > mke2fs: Invalid arguement zeroing block 16320 at end of filesystem
>
> Try omitting the `16384' option - let mke2fs work out the
> size.
> -
> 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/
-
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/