Re: [PATCH] mount: Automagically detect and loop-mount regular files.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2010-01-13 at 10:15 +0100, Karel Zak wrote:

> Yes. The other problem is that you don't want to use this feature for
> pseudo or net filesystems. For example
> 
>     # touch /none
>     # mount none /proc -t proc
> 
> The "none" should be never interpreted as a regular file. So the code
> has to be:
> 
>     if ((*loop && (*type == NULL || !is_pseudo_fs(*type) || 
>                    strcmp(*type, "cifs"))) {
>         ....
>     }
> 
> or so... You don't have to send a new patch. I'll fix it.

Ah yeah, fair point.  Thanks!

- ajax

Attachment: signature.asc
Description: This is a digitally signed message part


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux