<div dir="rtl"><div dir="ltr">Cool!<br></div><div dir="ltr"><br></div><div dir="ltr">Thanks Paul!</div><div dir="ltr"><br></div><div dir="ltr">Now I can unhold my breath ;-)</div><div dir="ltr"><br></div><div dir="ltr">I'll just delete the /timeshift/snapshots/.sync/ folder (19GB in size)</div>
<div dir="ltr"><br></div><div dir="ltr">Amichai.</div><div dir="ltr"><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote"><div dir="ltr">2013/12/11 Paul Smith <span dir="ltr"><<a href="mailto:paul@mad-scientist.net" target="_blank">paul@mad-scientist.net</a>></span></div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Wed, 2013-12-11 at 21:29 +0200, Amichai Rotman wrote:<br>
> The main Timeshift window has no snapshots to delete, so I want to<br>
> delete the contents of the /timeshift/snapshots/.sync/ folder, but I<br>
> am not sure if it's a copy or a hard link - thus deleting it will<br>
> delete the actual system (i.e.: /bin, /boot, etc.)<br>
<br>
</div>First, if everything was a hard link it wouldn't take up any extra<br>
space, so if you ran out of space they must be copies, not hard links.<br>
<br>
Second, deleting a hard link does NOT delete the "actual system file".<br>
The file on the system will only go away when the last hard link to that<br>
file is gone. Deleting one link to that file doesn't impact any other<br>
links to that file.<br>
<br>
Note symlinks are entirely different and work entirely differently, so<br>
don't try to extrapolate this understanding to soft links (or you'll be<br>
sorry).<br>
<div class="im"><br>
> Anyway I can make sure it's not a hard link?<br>
<br>
</div>If you run "ls -l" the number of hard links will show. If it's "1",<br>
then this is the only hard link to that file. If it's >1, then there<br>
are multiple hard links to the file. But as above, it doesn't matter.<br>
<br>
psmith@pdsdesk:~$ touch foo<br>
<br>
psmith@pdsdesk:~$ ls -l foo<br>
-rw-r--r-- 1 psmith psmith 0 Dec 11 14:35 foo<br>
^ # of links<br>
<br>
psmith@pdsdesk:~$ ln foo bar<br>
<br>
psmith@pdsdesk:~$ ls -l foo bar<br>
-rw-r--r-- 2 psmith psmith 0 Dec 11 14:35 bar<br>
-rw-r--r-- 2 psmith psmith 0 Dec 11 14:35 foo<br>
^ # of links<br>
<br>
psmith@pdsdesk:~$ rm bar<br>
<br>
psmith@pdsdesk:~$ ls -l foo<br>
-rw-r--r-- 1 psmith psmith 0 Dec 11 14:35 foo<br>
^ # of links<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
--<br>
ubuntu-users mailing list<br>
<a href="mailto:ubuntu-users@lists.ubuntu.com">ubuntu-users@lists.ubuntu.com</a><br>
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-users" target="_blank">https://lists.ubuntu.com/mailman/listinfo/ubuntu-users</a><br>
</font></span></blockquote></div><br></div>