lkml.org 
[lkml]   [1999]   [Aug]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Mount
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/

\
 
 \ /
  Last update: 2005-03-22 13:53    [W:0.062 / U:0.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site