Posted: Sun 10 Jun 2018, 22:59 Post subject:
Accidental file deletion and recovery in Puppy
Today I accidentally deleted /usr/bin/as.
This file comes inside devx.sfs.
File devx.sfs is mounted as read-only.
That means file /usr/bin/as must be present inside devx.sfs.
Puppy linux uses unionfs to mount sfs files layer wise.
Topmost layer is savefile layer which is writable.
That means unionfs hides this file from being shown up.
Reasoning all these I ran the command
find / -name .wh*
[wh meand whiteout]
I was tempted to delete this file!
I was hoping to get back my /usr/bin/as.
and now I see
~ # ls -l /usr/bin/as
-rwxr-xr-x 1 root root 330772 Aug 2 2013 /usr/bin/as
Kindly correct my understanding if mistaken,
and suggest if there is a better way.
Srinivas Nayak _________________ [Precise 571 on AMD Athlon XP 2000+ with 512MB RAM]
[Fatdog 720 on Intel Pentium B960 with 4GB RAM]
Joined: 29 Jul 2016 Posts: 535 Location: europa near northsea
Posted: Mon 11 Jun 2018, 10:35 Post subject:
Did you delete the .wh.as while still running the Puppy with the pupsave containing the .wh.as?
You should open the pupsave from another Puppy session not using this pupsave, e.g. started with pfix=ram
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum