linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* 2.4.7 tmpfs strange behaviour
@ 2001-07-24 22:59 ` J . A . Magallon
  2001-07-25  0:38   ` GOTO Masanori
  0 siblings, 1 reply; 5+ messages in thread
From: J . A . Magallon @ 2001-07-24 22:59 UTC (permalink / raw)
  To: Lista Linux-Kernel

Hi.

I have notice some strange behaviour for tmpfs/shmfs. It seems to define the
device somehow related to the cwd where the mount command is issued.
I will explain. This is the relevant part of my /etc/fstab:

tmpfs /dev/shm tmpfs defaults,size=128M 0 0

And now I try to mount it:

werewolf:~# df
Filesystem           1k-blocks      Used Available Use% Mounted on
/dev/sda1               248895     79908    156137  34% /
/dev/sda2              3099292   2080088    861768  71% /usr
/dev/sda3              4095488   1591936   2295512  41% /home
/dev/sda5              1027768         4    975556   1% /toast
/dev/sdb1              4232960     32840   4200120   1% /mnt/disk
werewolf:~# mount -a -t tmpfs
werewolf:~# df
Filesystem           1k-blocks      Used Available Use% Mounted on
/dev/sda1               248895     79908    156137  34% /
/dev/sda2              3099292   2080088    861768  71% /usr
/dev/sda3              4095488   1591936   2295512  41% /home
/dev/sda5              1027768         4    975556   1% /toast
/dev/sdb1              4232960     32840   4200120   1% /mnt/disk
/root/tmpfs             131072         0    131072   0% /dev/shm
werewolf:~# cd /tmp
werewolf:/tmp# mount -a -t tmpfs
werewolf:/tmp# df
Filesystem           1k-blocks      Used Available Use% Mounted on
/dev/sda1               248895     79908    156137  34% /
/dev/sda2              3099292   2080088    861768  71% /usr
/dev/sda3              4095488   1591936   2295512  41% /home
/dev/sda5              1027768         4    975556   1% /toast
/dev/sdb1              4232960     32840   4200120   1% /mnt/disk
/root/tmpfs             131072         0    131072   0% /dev/shm
/tmp/tmpfs              131072         0    131072   0% /dev/shm

???? Strange devices.... both mounted under /dev/shm.

BTW, look at /etc/mtab:
werewolf:/tmp# cat /etc/mtab
/dev/sda1 / ext2 rw 0 0
/procfs /proc proc rw 0 0
^
devpts /dev/pts devpts rw,mode=0620 0 0
/dev/sda2 /usr ext2 rw 0 0
/dev/sda3 /home ext2 rw 0 0
/dev/sda5 /toast ext2 rw 0 0
/dev/sdb1 /mnt/disk reiserfs rw 0 0
/root/tmpfs /dev/shm tmpfs rw,size=128M 0 0
^^^^^^^^^^^
/tmp/tmpfs /dev/shm tmpfs rw,size=128M 0 0
^^^^^^^^^^

Why devpts is just plain 'devpts', and procfs is '/procfs' ??? Some bug
that generates device name with cwd for all special filesystems but devpts ?

Kernel or mount bug ?

TIA

--
J.A. Magallon                           #  Let the source be with you...        
mailto:jamagallon@able.es
Mandrake Linux release 8.1 (Cooker) for i586
Linux werewolf 2.4.7 #1 SMP Mon Jul 23 01:55:36 CEST 2001 i686

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: 2.4.7 tmpfs strange behaviour
  2001-07-24 22:59 ` 2.4.7 tmpfs strange behaviour J . A . Magallon
@ 2001-07-25  0:38   ` GOTO Masanori
  2001-07-25  0:50     ` J . A . Magallon
  0 siblings, 1 reply; 5+ messages in thread
From: GOTO Masanori @ 2001-07-25  0:38 UTC (permalink / raw)
  To: jamagallon; +Cc: linux-kernel

At Wed, 25 Jul 2001 00:59:40 +0200,
J . A . Magallon <jamagallon@able.es> wrote:
> werewolf:~# df
> Filesystem           1k-blocks      Used Available Use% Mounted on
> /dev/sda1               248895     79908    156137  34% /
> /dev/sda2              3099292   2080088    861768  71% /usr
> /dev/sda3              4095488   1591936   2295512  41% /home
> /dev/sda5              1027768         4    975556   1% /toast
> /dev/sdb1              4232960     32840   4200120   1% /mnt/disk
> werewolf:~# mount -a -t tmpfs
> werewolf:~# df
> Filesystem           1k-blocks      Used Available Use% Mounted on
> /dev/sda1               248895     79908    156137  34% /
> /dev/sda2              3099292   2080088    861768  71% /usr
> /dev/sda3              4095488   1591936   2295512  41% /home
> /dev/sda5              1027768         4    975556   1% /toast
> /dev/sdb1              4232960     32840   4200120   1% /mnt/disk
> /root/tmpfs             131072         0    131072   0% /dev/shm
> werewolf:~# cd /tmp
> werewolf:/tmp# mount -a -t tmpfs
> werewolf:/tmp# df
> Filesystem           1k-blocks      Used Available Use% Mounted on
> /dev/sda1               248895     79908    156137  34% /
> /dev/sda2              3099292   2080088    861768  71% /usr
> /dev/sda3              4095488   1591936   2295512  41% /home
> /dev/sda5              1027768         4    975556   1% /toast
> /dev/sdb1              4232960     32840   4200120   1% /mnt/disk
> /root/tmpfs             131072         0    131072   0% /dev/shm
> /tmp/tmpfs              131072         0    131072   0% /dev/shm
> 
> ???? Strange devices.... both mounted under /dev/shm.

I don't have any problems... mount version is 2.11g on 2.4.7
Uni-Processor and 2.4.7-pre3 SMP.

-- gotom

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: 2.4.7 tmpfs strange behaviour
  2001-07-25  0:38   ` GOTO Masanori
@ 2001-07-25  0:50     ` J . A . Magallon
  2001-07-25  1:26       ` J . A . Magallon
  0 siblings, 1 reply; 5+ messages in thread
From: J . A . Magallon @ 2001-07-25  0:50 UTC (permalink / raw)
  To: GOTO Masanori; +Cc: linux-kernel


On 20010725 GOTO Masanori wrote:
>> /dev/sdb1              4232960     32840   4200120   1% /mnt/disk
>> /root/tmpfs             131072         0    131072   0% /dev/shm
>> /tmp/tmpfs              131072         0    131072   0% /dev/shm
>> 
>> ???? Strange devices.... both mounted under /dev/shm.
>
>I don't have any problems... mount version is 2.11g on 2.4.7
>Uni-Processor and 2.4.7-pre3 SMP.
>

Mmm, mine is mount-2.11e on 2.4.7 final, SMP box.
perhaps mount bug ?
Going to get the new one...

-- 
J.A. Magallon                           #  Let the source be with you...        
mailto:jamagallon@able.es
Mandrake Linux release 8.1 (Cooker) for i586
Linux werewolf 2.4.7 #1 SMP Mon Jul 23 01:55:36 CEST 2001 i686

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: 2.4.7 tmpfs strange behaviour
  2001-07-25  0:50     ` J . A . Magallon
@ 2001-07-25  1:26       ` J . A . Magallon
  2001-07-25  3:22         ` Colonel
  0 siblings, 1 reply; 5+ messages in thread
From: J . A . Magallon @ 2001-07-25  1:26 UTC (permalink / raw)
  To: J . A . Magallon; +Cc: GOTO Masanori, linux-kernel

On 20010725 J . A . Magallon wrote:
>
>On 20010725 GOTO Masanori wrote:
>>> /dev/sdb1              4232960     32840   4200120   1% /mnt/disk
>>> /root/tmpfs             131072         0    131072   0% /dev/shm
>>> /tmp/tmpfs              131072         0    131072   0% /dev/shm
>>> 
>>> ???? Strange devices.... both mounted under /dev/shm.
>>
>>I don't have any problems... mount version is 2.11g on 2.4.7
>>Uni-Processor and 2.4.7-pre3 SMP.
>>
>
>Mmm, mine is mount-2.11e on 2.4.7 final, SMP box.
>perhaps mount bug ?
>Going to get the new one...
>

Right, mount bug. Version 2.11h works fine...

-- 
J.A. Magallon                           #  Let the source be with you...        
mailto:jamagallon@able.es
Mandrake Linux release 8.1 (Cooker) for i586
Linux werewolf 2.4.7 #1 SMP Mon Jul 23 01:55:36 CEST 2001 i686

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: 2.4.7 tmpfs strange behaviour
  2001-07-25  1:26       ` J . A . Magallon
@ 2001-07-25  3:22         ` Colonel
  0 siblings, 0 replies; 5+ messages in thread
From: Colonel @ 2001-07-25  3:22 UTC (permalink / raw)
  To: linux-kernel; +Cc: kaboom, chris.ricker

In clouddancer.list.kernel, you wrote:
>
>On 20010725 J . A . Magallon wrote:
>>
>>On 20010725 GOTO Masanori wrote:
>>>> /dev/sdb1              4232960     32840   4200120   1% /mnt/disk
>>>> /root/tmpfs             131072         0    131072   0% /dev/shm
>>>> /tmp/tmpfs              131072         0    131072   0% /dev/shm
>>>> 
>>>> ???? Strange devices.... both mounted under /dev/shm.
>>>
>>>I don't have any problems... mount version is 2.11g on 2.4.7
>>>Uni-Processor and 2.4.7-pre3 SMP.
>>>
>>
>>Mmm, mine is mount-2.11e on 2.4.7 final, SMP box.
>>perhaps mount bug ?
>>Going to get the new one...
>>
>
>Right, mount bug. Version 2.11h works fine...
>
>-- 
>J.A. Magallon                           #  Let the source be with you...        
>mailto:jamagallon@able.es
>Mandrake Linux release 8.1 (Cooker) for i586


This means an update to the Changes documentation.  It lists 2.10o as
the minimum.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2001-07-25  3:23 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <9jl7as$a2h$1@ns1.clouddancer.com>
2001-07-24 22:59 ` 2.4.7 tmpfs strange behaviour J . A . Magallon
2001-07-25  0:38   ` GOTO Masanori
2001-07-25  0:50     ` J . A . Magallon
2001-07-25  1:26       ` J . A . Magallon
2001-07-25  3:22         ` Colonel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).