01-26-2006
vi: deleted text not placed in register
I always thought that deleted text get stacked in the register. Then I can use '<x>p' to undelete, where <x> the number of the nth deletion. But when I try this it seems that only the last delete action get stored. Am I missing some kind of setting?
9 More Discussions You Might Find Interesting
1. Forum Support Area for Unregistered Users & Account Problems
I tried registering, but no matter what email address I provide, it says not a valid address and not the same in confirm. I tried many times, but no go. I thought I had already registered as Sully but even that didn't like my email address for password info. Of course, that could be someone else... (2 Replies)
Discussion started by: Not registered
2 Replies
2. Forum Support Area for Unregistered Users & Account Problems
I tried my best to register myself on unix.com but i am not lucky, can you pls give me instruction. (1 Reply)
Discussion started by: Kuldeep_Sngh333
1 Replies
3. Forum Support Area for Unregistered Users & Account Problems
Registration denied. Sorry, The UNIX and Linux Forums runs an active policy of not allowing spammers. Please contact us via by posting in this forum if you believe this is in error
What's with this?
Tried 2 email accounts in case your forum blocks either. (1 Reply)
Discussion started by: Diagonal
1 Replies
4. Forum Support Area for Unregistered Users & Account Problems
I need help from the scripting threads and want to register.
I tried it several times, but I was all the time rejected, because of your spam policy.
I do what you have written, but I wasn't still able to register. (1 Reply)
Discussion started by: ScAr
1 Replies
5. Forum Support Area for Unregistered Users & Account Problems
hi,admin:
i come from china,my country is in the blocked list.i want to register a account,can you help me?
infomation:
username: zhengzfand
email:<removed> (1 Reply)
Discussion started by: Unregistered
1 Replies
6. Forum Support Area for Unregistered Users & Account Problems
I am in China.
China is in the blocked country list.
I can't register.
And I don't have a static ip.
Can u help me to fix it.
I want to register with following information:
Username:liuchengzhang
email:<removed>
Thanks! (1 Reply)
Discussion started by: liuchengzhang
1 Replies
7. Forum Support Area for Unregistered Users & Account Problems
Hi Admin,
I am unable to register .
Request you to help me in getting my registration done.
Name: Raghavendra Kulkarni
Mail id : <removed>
Thanking you in advance for your support. (1 Reply)
Discussion started by: Unregistered
1 Replies
8. Forum Support Area for Unregistered Users & Account Problems
Hi Admin,
Currently, i am not able to register in this site. Kindly let me know what need to done.
Thanks,
ramesh (1 Reply)
Discussion started by: Unregistered
1 Replies
9. Forum Support Area for Unregistered Users & Account Problems
I want to register as "nezabudka", but I can't and I have a dynamic ip address.
My country is not in the list of restrictions.
I'm alive, I'm not a bot ))) (3 Replies)
Discussion started by: nezabudka
3 Replies
LEARN ABOUT FREEBSD
undelete
UNDELETE(2) BSD System Calls Manual UNDELETE(2)
NAME
undelete -- attempt to recover a deleted file
LIBRARY
Standard C Library (libc, -lc)
SYNOPSIS
#include <unistd.h>
int
undelete(const char *path);
DESCRIPTION
The undelete() system call attempts to recover the deleted file named by path. Currently, this works only when the named object is a white-
out in a union file system. The system call removes the whiteout causing any objects in a lower layer of the union stack to become visible
once more.
Eventually, the undelete() functionality may be expanded to other file systems able to recover deleted files such as the log-structured file
system.
RETURN VALUES
The undelete() function returns the value 0 if successful; otherwise the value -1 is returned and the global variable errno is set to indi-
cate the error.
ERRORS
The undelete() succeeds unless:
[ENOTDIR] A component of the path prefix is not a directory.
[ENAMETOOLONG] A component of a pathname exceeded 255 characters, or an entire path name exceeded 1023 characters.
[EEXIST] The path does not reference a whiteout.
[ENOENT] The named whiteout does not exist.
[EACCES] Search permission is denied for a component of the path prefix.
[EACCES] Write permission is denied on the directory containing the name to be undeleted.
[ELOOP] Too many symbolic links were encountered in translating the pathname.
[EPERM] The directory containing the name is marked sticky, and the containing directory is not owned by the effective user ID.
[EINVAL] The last component of the path is '..'.
[EIO] An I/O error occurred while updating the directory entry.
[EROFS] The name resides on a read-only file system.
[EFAULT] The path argument points outside the process's allocated address space.
SEE ALSO
unlink(2), mount_unionfs(8)
HISTORY
The undelete() system call first appeared in 4.4BSD-Lite.
BSD
January 22, 2006 BSD