> % cat /proc/swaps
> /dev/root / ext2 rw 0 0
> /dev/hdc1 /home ext2 rw 0 0
> /dev/hdd1 /dosc vfat rw,noexec,nosuid 0 0
> /proc /proc proc rw 0 0
>
> %cat /proc/mounts
> /dev/root / ext2 rw 0 0
> /dev/hdc1 /home ext2 rw 0 0
> /dev/hdd1 /dosc vfat rw,noexec,nosuid 0 0
> /proc /proc proc rw 0 0
Oops. The following patch (an add-on to the previous patch) should take
care of it.
Ionut
--
It is better to keep your mouth shut and be thought a fool,
than to open it and remove all doubt.
--- linux-2.1.23/fs/proc/root.c.old1 Sun Jan 26 17:27:59 1997
+++ linux-2.1.23/fs/proc/root.c Tue Jan 28 13:53:54 1997
@@ -511,7 +511,7 @@
S_IFREG | S_IRUGO, 1, 0, 0,
};
static struct proc_dir_entry proc_root_swaps = {
- PROC_MTAB, 5, "swaps",
+ PROC_SWAP, 5, "swaps",
S_IFREG | S_IRUGO, 1, 0, 0,
};
static struct proc_dir_entry proc_root_profile = {