mount misbehaviour?

From: Pavel Machek (pavel@suse.cz)
Date: Sat May 19 2001 - 14:58:48 EDT

  • Next message: Linus Torvalds: "Re: no ioctls for serial ports? [was Re: LANANA: To Pending Device Number Registrants]"

    Hi!

    I just had small surprise with 2.4.0:

    root@bug:/zip# mount /zip
    root@bug:/zip# ls -al
    total 8
    drwxr-xr-x 2 root root 4096 Dec 1 08:29 .
    drwxr-xr-x 31 65534 root 4096 Apr 24 20:56 ..
    root@bug:/zip# cd /zip
    root@bug:/zip# ls -al
    total 22182
    drwxr-xr-x 4 root root 16384 Jan 1 1970 .
    drwxr-xr-x 31 65534 root 4096 Apr 24 20:56 ..
    -rw-r--r-- 1 root root 22687788 May 18 11:48 delme.wav
    drwxr-xr-x 2 root root 2048 May 18 11:30 karantena
    drwxr-xr-x 5 root root 2048 May 9 14:15 statnice

    ...Mounting directory under me does not seem healthy. cd fixes
    it... Is that okay?
                                                                    Pavel
    PS: Al, would you please add credit line for yourselves?

    pavel@bug:/usr/src/linux$ grep Viro CREDITS
    pavel@bug:/usr/src/linux$ grep Viro MAINTAINERS
    pavel@bug:/usr/src/linux$

    -- 
    I'm pavel@ucw.cz. "In my country we have almost anarchy and I don't care."
    Panos Katsaloulis describing me w.r.t. patents at discuss@linmodems.org
    -
    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/
    



    This archive was generated by hypermail 2b29 : Sat May 19 2001 - 15:04:17 EDT