lkml.org 
[lkml]   [2001]   [Mar]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject[FIX] Re: usbdevfs can be mounted multiple times


On Fri, 2 Mar 2001, Pavel Roskin wrote:

> Hello!
>
> I understand that root can do many strange and unsafe things, but mounting
> the same filesystem many times is not allowed for systems other than
> usbdevfs.

Mounting the same fs many times _is_ perfectly legitimate. However, I really
don't like the fact that you've been able to do it several times on the same
mountpoint... Ah. I see - Linus, could you please do the following?

vi drivers/usb/inode.c '-c/DECLARE_FSTYPE/s/0/FS_SINGLE/
x'

I.e. replace the last argument in declaration of usbdevfs with FS_SINGLE -
without that we get a new instance every time.

Cheers,
Al

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

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