Page 2 of 2
Re: Searching - looking for a better way
Posted: 03 May 2014, 21:31
by Ed_P
fanthom wrote:everything happens in /mnt/live/memory/changes directory - so just watch this one.
the rest is static.
I am confused.
If I open a /home/guest/ file with Leafpad, edit it and save it it's not written back to /home/guest???
- edit -
It's written to both places!!!
Re: Searching - looking for a better way
Posted: 04 May 2014, 05:02
by Ed_P
donald wrote:umount...
e.g.
umount /dev/sda1
Code: Select all
guest@porteus:~$ umount /mnt/sda1
umount: only root can unmount /dev/sda1 from /mnt/sda1
guest@porteus:~$ su
Password:
root@porteus:/home/guest# umount /mnt/sda1
root@porteus:/home/guest# umount /mnt/sda2
root@porteus:/home/guest# ls /mnt/
live/ sda1/ sda2/ sda3/ sda5/ sda6/
root@porteus:/home/guest#
Re: Searching - looking for a better way
Posted: 04 May 2014, 11:28
by donald
Dear Ed
To unmount the partitions type as root or in a root-terminal
umount /dev/sda1
(or sda2, sdb1 and so on, depending on which Partition you want to unmount)
If done look into the /mnt Folder. The folders sda1/2/3...are still there
but they are EMPTY.
Re: Searching - looking for a better way
Posted: 04 May 2014, 14:48
by Ed_P
Thank you
donald for the clarification.
Code: Select all
guest@porteus:~$ su
Password:
root@porteus:/home/guest# cat /mnt/sda1
cat: /mnt/sda1: Is a directory
root@porteus:/home/guest# ls /mnt/sda1
100_CR.DAT* EFI/ NAPP.DAT* SOURCES/
ACERBOOT/ FACTORY/ Napp7.log* SYSTEMCD.DAT*
BOOT/ Flag.log* RCD.DAT* System\ Volume\ Information/
BOOTMGR* ImageInfo.dat* Restore.dat*
D2D/ LPCD.DAT* RyTools/
root@porteus:/home/guest# umount /mnt/sda1
root@porteus:/home/guest# ls /mnt/sda1
root@porteus:/home/guest#
FYI In the Windows world if I unmount a device/partition the device's/partition's drive letter is no longer available and no longer appears in any Windows' app.
Re: Searching - looking for a better way
Posted: 04 May 2014, 15:11
by donald
yep, I can remember, how windows assign the wrong Drive letters to my
various usb-Drives...and having the wrong Paths then...
Re: Searching - looking for a better way
Posted: 04 May 2014, 15:14
by Ed_P
Yup, that too.
Re: Searching - looking for a better way
Posted: 05 May 2014, 02:44
by Ed_P
fanthom wrote: do a search in /mnt/live/memory then remove /mnt/live/memory/{changes,images} from path.
I don't fully understand what you suggested but find this variant of your suggestion useful.
Code: Select all
ls -R /mnt/live/memory/changes/home
Thank you
fanthom.
Re: Searching - looking for a better way
Posted: 05 May 2014, 10:08
by fanthom
after 500 posts it's time to understand how Porteus works. please read ALL our docs. starting from here:
http://www.porteus.org/component/conten ... cture.html
if that wont be enough then please dig more into aufs as it's the key:
http://www.thegeekstuff.com/2013/05/linux-aufs/