Skip to contentSkip to conversation

2.4.9: multiply mounting filesystem

DISCUSSION Ulrich Windl 4 participants 4 messages Sep 17, 2001

lore
Share & tools
lore
#0 lore raw

Hi,

yesterday I mounted a filesystem /dev/sda9 (resierfs) twice (first time as /, second time as /mnt) by mistake. Neither kernel nor mount program complained. I'm very much afraid this could corrupt the filesystem. Or is Linux really smart enough to handle the case?

Regards,
Ulrich
P.S. I'm not subscribed here.

#1 lore raw
Quoted 6 lines · le lun 17-09-2001 at 09:12 Ulrich Windl a écrit :

Hi,

yesterday I mounted a filesystem /dev/sda9 (resierfs) twice (first time as /, second time as /mnt) by mistake. Neither kernel nor mount program complained. I'm very much afraid this could corrupt the filesystem. Or is Linux really smart enough to handle the case?

It's indeed a new feature of 2.4 kernels.

Xav

#2 lore raw
In reply to Ulrich Windl
Quoted 6 lines · Ulrich Windl

Hi,

yesterday I mounted a filesystem /dev/sda9 (resierfs) twice (first time as /, second time as /mnt) by mistake. Neither kernel nor mount program complained. I'm very much afraid this could corrupt the filesystem. Or is Linux really smart enough to handle the case?

Yes.

#3 lore raw
In reply to Ulrich Windl
Quoted 9 lines · Alexander Viro
Quoted 2 lines · Ulrich Windl

complained. I'm very much afraid this could corrupt the filesystem. Or is Linux really smart enough to handle the case?

Yes.

And what about union mounts ?. When read "The magic world of Linux kernel 2.4" it appears that such feature was already present on 2.4.x kernels, but I've seen nothing else about it so far.

Is it already usable, or is something still being worked on ?

Signature · 5 lines
José Luis Domingo López
Linux Registered User #189436     Debian GNU/Linux Potato (P166 64 MB RAM)
 
jdomingo EN internautas PUNTO org  => ¿ Spam ? Atente a las consecuencias
jdomingo AT internautas DOT   org  => Spam at your own risk