From: "Siseci" <siseci@postmark.net>
To: <linux-kernel@vger.kernel.org>
Subject: 2.6.x mount /dev/ram0 problem.
Date: Mon, 29 Mar 2004 18:34:01 +0300 [thread overview]
Message-ID: <BMEEKPMJDEAFABBKPBBNMELBCBAA.siseci@postmark.net> (raw)
Hi.
I have a problem about ramdisk.
Kernel version: 2.6.3 and 2.6.4
root@fen:~# dd if=/dev/zero of=/dev/ram0 bs=1024 count=2048
2048+0 records in
2048+0 records out
root@fen:~# mke2fs /dev/ram0
mke2fs 1.18, 11-Nov-1999 for EXT2 FS 0.5b, 95/08/09
Filesystem label=
....
root@fen:~# mount /dev/ram0 /mnt
root@fen:~# ls -al /mnt
total 17
drwxr-xr-x 3 root root 1024 Mar 29 20:28 ./
drwxr-xr-x 22 root root 4096 Dec 16 02:28 ../
drwxr-xr-x 2 root root 12288 Mar 29 20:28 lost+found/
root@fen:/mnt# echo test > /mnt/test
root@fen:/mnt# ls -al /mnt
total 18
drwxr-xr-x 3 root root 1024 Mar 29 20:29 ./
drwxr-xr-x 22 root root 4096 Dec 16 02:28 ../
drwxr-xr-x 2 root root 12288 Mar 29 20:28 lost+found/
-rw-r--r-- 1 root root 5 Mar 29 20:29 test
root@fen:~# umount /mnt
root@fen:~# mount /dev/ram0 /mnt
root@fen:~# ls -al /mnt
total 17
drwxr-xr-x 3 root root 1024 Mar 29 20:28 ./
drwxr-xr-x 22 root root 4096 Dec 16 02:28 ../
drwxr-xr-x 2 root root 12288 Mar 29 20:28 lost+found/
My test file does not appear on /mnt.
This was working with 2.4 kernels
i think the problem is related with 2.6 kernels
What is the problem?
next reply other threads:[~2004-03-29 15:37 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-29 15:34 Siseci [this message]
2004-03-29 15:59 ` Richard B. Johnson
2004-03-30 0:15 ` Andrew Morton
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=BMEEKPMJDEAFABBKPBBNMELBCBAA.siseci@postmark.net \
--to=siseci@postmark.net \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®