lkml.org 
[lkml]   [1999]   [Dec]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] Minor sys_umount fix (changes semantics slightly)
Guest section writes:
> On Wed, Dec 15, 1999 at 05:41:03PM +0000, Malcolm Beattie wrote:
>
> > > > Here's a one-letter patch for 2.3.x to sys_umount to allow it to
> > > > unmount filesystems whose root inode is a symlink.
>
> Yes, so again. Everyone agrees, I think, that mount should follow
> symlinks. Moreover, one expects a certain parallelism between the
> behaviour of mount and umount. So umount should follow symlinks
> until it comes to the mount point. Your problem is that the mount
> point used to be an ordinary directory but now is overmounted by
> a filesystem that has a symlink at the root.

I really would like to see mount(8) *not* follow symlinks. If I have
/dev/sda2 -> /dev/scsi/host0/bus0/target0/lun0/part2

then the current behaviour yields a huge <df> output. If I mount
/dev/sda2, then that's what I want to see in my <df> output.

Regards,

Richard....
Permanent: rgooch@atnf.csiro.au
Current: rgooch@ras.ucalgary.ca


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

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