[BusyBox] problem with mount command
Doug Edwards
dedwards at synergymicro.com
Wed Jul 10 11:31:02 UTC 2002
At 2:06 PM +0200 7/10/02, tito wrote:
>On Tuesday 09 July 2002 22:41, you wrote:
>> Hi all -
>>
>> I'm having trouble with the mount command. I'm using BusyBox 0.60.3
>> with uclibc (snapshot dated June 6) as shared libraries on a ppc with
>> the Linux 2.4.12 kernel. I am not using a login.
>>
>> I'm trying to create an ext2 filesystem.
>Where? On a ramdisk? If this is your case, you can try:
>dd if=/dev/zero of=/dev/ram* bs=1k count=4096
>mke2fs /dev/ram* (ram1 , ram2 as you need)
>mount /dev/ram* /mnt -t ext2
>
>or on a file. In this case maybe:
>dd if=/dev/zero of=file bs=1k count=4096 (or whatever size you need)
>mke2fs file
>mount file -o loop /mnt -t ext2
>
>Hope this helps
>
>Tito
Thanks Tito. This solved the problem. I was doing this from a
ramdisk but trying to use /dev/loop0 (which is how I'm used to doing
it under regular Linux). Using /dev/ram worked great.
Thanks again.
Doug
--
_____________________
Doug Edwards
Synergy Microsystems
9605 Scranton Rd., Suite 700
San Diego, CA 92121-1773
dedwards at synergymicro.com
(858)452-0020
http://www.synergymicro.com
_____________________
More information about the busybox
mailing list