HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Legacy
- >
- Operating System - Tru64 Unix
- >
- how to rename a directory name while keep its cont...
Operating System - Tru64 Unix
1826723
Members
2745
Online
109702
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2004 03:11 PM
11-14-2004 03:11 PM
how to rename a directory name while keep its contents unchanged.
tru64 GS160 v5.1a.
ADVFS FILE SYSTEM;
old file system mount on /ora1
new file system mount on /ora2;
the contents os /ora1 is dumped to /ora2;
then rename /ora1 to ora3, and rename /ora2 to /ora1;
how to rename the directory, keep its content unchanged.
tru64 GS160 v5.1a.
ADVFS FILE SYSTEM;
old file system mount on /ora1
new file system mount on /ora2;
the contents os /ora1 is dumped to /ora2;
then rename /ora1 to ora3, and rename /ora2 to /ora1;
how to rename the directory, keep its content unchanged.
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2004 04:10 PM
11-14-2004 04:10 PM
SolutionStop thinking renaming directories, start thinking mountpoints.
mkdir /old_ora1
umount /ora1
umount /ora2
mount old_domain#ora1 /old_ora1
mount new_domain#ora1 /ora1
or maybe
mount old_domain#ora2 /ora1
If thse suggestions make no sense, please reply with output from df /ora1 /ora2
hth,
Hein.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2004 05:49 PM
11-14-2004 05:49 PM
Re: how to rename a directory name while keep its contents unchanged.
can i use mv
mv ora1 ora3
mv ora2 ora1
is that ok?
mv ora1 ora3
mv ora2 ora1
is that ok?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2004 06:46 PM
11-14-2004 06:46 PM
Re: how to rename a directory name while keep its contents unchanged.
Hi,
as Hein said, start thinking mountpoints. There is no need to rename a directory.
umount /ora1
mount old filesystem /ora3
umount /ora2
mount new filesystem /ora1
no content is changed.
greetings,
Michael
as Hein said, start thinking mountpoints. There is no need to rename a directory.
umount /ora1
mount old filesystem /ora3
umount /ora2
mount new filesystem /ora1
no content is changed.
greetings,
Michael
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP