mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Mounting same device many times/mountpoints. Is this legal?
@ 2001-04-30 13:57 Ola Garstad
  2001-04-30 15:51 ` Alexander Viro
  0 siblings, 1 reply; 2+ messages in thread
From: Ola Garstad @ 2001-04-30 13:57 UTC (permalink / raw)
  To: Linux-Kernel

I am running kernel 2.4.3 on RH 7.0

By mistake I mounted the same device two places. Is this legal???
On 2.2.x I got an error if I did this.
It guess thus could have destoryed the filesystem if had written to it.

bash-2.04# mount
[lines removed]
/dev/hdc8 on /mnt/1 type reiserfs (rw)
/dev/hdc8 on /var/log type reiserfs (rw)




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

* Re: Mounting same device many times/mountpoints. Is this legal?
  2001-04-30 13:57 Mounting same device many times/mountpoints. Is this legal? Ola Garstad
@ 2001-04-30 15:51 ` Alexander Viro
  0 siblings, 0 replies; 2+ messages in thread
From: Alexander Viro @ 2001-04-30 15:51 UTC (permalink / raw)
  To: Ola Garstad; +Cc: Linux-Kernel



On Mon, 30 Apr 2001, Ola Garstad wrote:

> I am running kernel 2.4.3 on RH 7.0
> 
> By mistake I mounted the same device two places. Is this legal???

Yes, it is.

> On 2.2.x I got an error if I did this.
> It guess thus could have destoryed the filesystem if had written to it.

No (well, aside of the potential filesystem bugs, but their chances of
fs corruption do not depend on number of mountpoints).


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

end of thread, other threads:[~2001-04-30 15:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-04-30 13:57 Mounting same device many times/mountpoints. Is this legal? Ola Garstad
2001-04-30 15:51 ` Alexander Viro

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®