Messages in this thread | | | Date | Fri, 2 Mar 2001 16:26:24 -0500 (EST) | From | Alexander Viro <> | 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/
| |