accidently overwrote home@ via ssh

Status
Not open for further replies.

master-richie

Dabbler
Joined
Jan 1, 2015
Messages
41
I wasn't paying attention and overwrote home@ in the root directory while copying a file. no clue where it links to - my /root directory?

any ideas on how to restore this? thanks!
 

master-richie

Dabbler
Joined
Jan 1, 2015
Messages
41
I don't have a /home directory in my var directory ... I'm logged in as root so I wonder if it just linked to /root ???
 

jgreco

Resident Grinch
Joined
May 29, 2011
Messages
18,680
And you win the stump-the-chump prize for the week.

Code:
% ls -ld /home /home/ /var/home
ls: /home/: No such file or directory
ls: /var/home: No such file or directory
lrwxr-xr-x  1 root  wheel  9 Mar 19 18:21 /home@ -> /var/home


"Huh."

I didn't think to look further. I kind of doubt /home is important in any case. If you want home directories, define them on your pool.
 

master-richie

Dabbler
Joined
Jan 1, 2015
Messages
41
And you win the stump-the-chump prize for the week.

Code:
% ls -ld /home /home/ /var/home
ls: /home/: No such file or directory
ls: /var/home: No such file or directory
lrwxr-xr-x  1 root  wheel  9 Mar 19 18:21 /home@ -> /var/home


"Huh."

I didn't think to look further. I kind of doubt /home is important in any case. If you want home directories, define them on your pool.


I just wanted to make sure I didn't delete something that 6 months from now is going to cause me problems - AFTER all my data has been transferred to and deleted from its source pc's
 
Status
Not open for further replies.
Top