Good points ..  you're right - that would have been messy.

And actually - since these are mount points -- no rename is really necessary
-- just mount the correct device under /usr.

Scot

On Wed, Jan 6, 2010 at 9:47 AM, Kim Goldenberg <[email protected]> wrote:

> On 01/06/2010 11:20 AM, Scott Rohling wrote:
>
>> 2)  Just use 'mv' ..    mv /usr /usrold          mv /usrnew /usr   ..
>> it's just a rename.
>>
>>  a) If you were to use this, it would be
>
>    mv  -r /usr /usrnew
>
> note the "-r" to recurs to lower directories.
>
> b) If it were on one mount point, it would be a rename, but would change
> the ownership to the
> user and group executing the command. As the OP said this was between
> mount point, this would
> be an actual move, with the same caveat as previous. It would also wreak
> havok on any links,
> hard or soft.
>
> Kim
>
>
> ----------------------------------------------------------------------
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to [email protected] with the message: INFO LINUX-390 or
> visit
> http://www.marist.edu/htbin/wlvindex?LINUX-390
>

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to