lkml.org 
[lkml]   [1999]   [Jul]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: mv (and not reiserfs)
Andries Brouwer writes:
> Richard Gooch writes:
>
> > mv(1) should not require a directory-based adbod to be automagically
> > tarred and untarred.
>
> > Now, I realise that some people may say that mv(1) won't move
> > directories across filesystems. True. We should fix mv(1) to
> > effectively do <cp -a; rm -rf> (with error checking).
>
> > Don't be confused by thinking mv(1) is an interface to rename(2),
> > because it isn't. mv(1) can move files across filesystems, and file
> > and directories within a filesystem. So mv(1) is lacking in symmetry.
> > Let's fix that.
>
> There is no such asymmetry, at least not in theory.

In theory, practice and theory are the same.
In practice, they are not.

> POSIX.2 states that mv will move directories as well as files,
> also across filesystems.

Good.

Regards,

Richard....

-
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:52    [W:0.039 / U:0.144 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site