Re: Mount

Richard B. Johnson (root@chaos.analogic.com)
Wed, 11 Aug 1999 09:00:57 -0400 (EDT)


On Wed, 11 Aug 1999, Jonathan Masters wrote:
[SNIPPED]

>
> Oh, one more while I'm here, I tried putting an rc6 ext2fs on a cd but
> it simply refuses to mount (yes I did create the image correctly and
> pass mount the right options). Any ideas? - I'm also waiting for the li
> patch for 2.2.11
>

I had problems attempting to mount an ext2 fs on a CDROM. Therefore,
I hacked the kernel to pretend that the CDROM was a regular disk drive.

Somebody then told me you can always force a mount using `mount -o loop'
pretending that it's the loopback device. I didn't try it since I don't
have an ext2 CDROM file-system anymore. However, I know you can mount
a regular file this way, for instance making ramdisk images:

dd if=/dev/zero of=${IMAGE} bs=1k count=${DISKSIZE}
mke2fs -Fq ${IMAGE} ${DISKSIZE}
mount -o loop ${IMAGE} ${RAMDISK}

Cheers,
Dick Johnson
**** FILE SYSTEM WAS MODIFIED ****
Penguin : Linux version 2.2.6 on an i686 machine (400.59 BogoMips).
Warning : It's hard to remain at the trailing edge of technology.

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