lkml.org 
[lkml]   [1996]   [Apr]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: /proc/misc has bad mode
Matthias Urlichs:

: ?r--r--r-- 1 root system 0 Apr 19 22:33 /proc/misc

: Different problem: Loopback mounts (through /dev/loop?) show as /dev/loop?
: instead of /the/real/file in /proc/mounts. Any chance of fising that? Using
: an option ("file=/somewhere/diskfile", along the lines of the "addr=foo"
: parameter NFS uses) would be OK, I guess.

Yes, /etc/mtab has
/tmp/fdimage /mnt msdos rw,loop=/dev/loop0,blocksize=1024 0 0
/dev/cdrom /cd iso9660 ro,noexec,nosuid,nodev,unhide 0 0
where /proc/mounts has
/dev/loop0 /mnt msdos rw 0 0
/dev/cdrom /cd iso9660 ro,noexec,nosuid,nodev 0 0

It follows that /proc/mounts cannot yet replace /etc/mtab -
some mount options are invisible in /proc/mounts.
Three months ago or so I submitted a correct /proc/mounttable
and /proc/swaptable, but since it was not used, I must now
leave it to others to polish /proc/mounts (and add /proc/swaps (ugh)).

Andries



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