Author |
Message |
marada2
Joined: 19 Oct 2013 Posts: 64
|
Posted: Tue 22 Oct 2013, 20:40 Post subject:
How to disable mounting of SATA / IDE drives? |
|
When I boot puppy into ram from the live CD it automatically mounts internal SATA drives on the computer. I was wondering if it was possible to set puppy up so that it never mounts or recognizes internal hard drives? I still want puppy to automatically mount usb flash drives when plugged in, it’s just the mounting / recognizing of internal SATA or IDE drives that I want to disable.
|
Back to top
|
|
 |
mikeb

Joined: 23 Nov 2006 Posts: 11100
|
Posted: Wed 23 Oct 2013, 06:45 Post subject:
|
|
Ok its not supposed to mount drives when running from a live CD.
What might be happening is some pups copy the main sfs to the hard drive for faster startup ... there would be a temporary mount to load in unless there was not enough memory to do so in which case the mount would be permanent. Another reason would be the existence of a save file or partition on the hard drive.
A swap file used to be created but i believe that has not been done for years.
I would check for any files that may have appeared on your drives.
Another though is you mention an automount for flash sticks... have you added anything to do this yet?.
Your last thread was invaded by the confusion squad which did not help
mike
|
Back to top
|
|
 |
Karl Godt

Joined: 20 Jun 2010 Posts: 4208 Location: Kiel,Germany
|
Posted: Wed 23 Oct 2013, 07:17 Post subject:
|
|
Look for the lines that start clean_desk_icons and pup_event_frontend_d in /root/.xinitrc :
/sbin/clean_desk_icons #v4.02 tidy up drive icons first.
/sbin/pup_event_frontend_d & #v403
and delete these lines or comment them .
_________________ «Give me GUI or Death» -- I give you [[Xx]term[inal]] [[Cc]on[s][ole]] .
Macpup user since 2010 on full installations.
People who want problems with Puppy boot frugal 
|
Back to top
|
|
 |
Karl Godt

Joined: 20 Jun 2010 Posts: 4208 Location: Kiel,Germany
|
Posted: Wed 23 Oct 2013, 07:30 Post subject:
|
|
And then delete the
/root/.pup_event
directory .
Then restart X .
_________________ «Give me GUI or Death» -- I give you [[Xx]term[inal]] [[Cc]on[s][ole]] .
Macpup user since 2010 on full installations.
People who want problems with Puppy boot frugal 
|
Back to top
|
|
 |
marada2
Joined: 19 Oct 2013 Posts: 64
|
Posted: Wed 23 Oct 2013, 08:58 Post subject:
|
|
So if I delete:
/root/.pup_event
/sbin/clean_desk_icons #v4.02 tidy up drive icons first.
/sbin/pup_event_frontend_d & #v403
will It still automount usb flash drives? Remember I only want to stop the mounting of intenal SATA / IDE drives.
As for Mikes comment when you say running form a live CD is not supposed to mount internal drives, that's strange because it has always mounted my internal drives. It's quite alarming that this may be writing save files to a location when it does not have my permission. Maybe I should fellow this thread:
http://murga-linux.com/puppy/viewtopic.php?t=51466
to make sure puppy never uses save files - If I do this I you sure it will never mount internal hard dries
|
Back to top
|
|
 |
mikeb

Joined: 23 Nov 2006 Posts: 11100
|
Posted: Wed 23 Oct 2013, 09:30 Post subject:
|
|
Quote: | that's strange because it has always mounted my internal drives. |
Yes and it appears the cause for this has not been found. As its unexpected behaviour there are only theories on why this is happening and again normally it requires human intervention to save in some way.
It comes into this topic as an unintended save may be why you have a mounted drive(s)....but that's just one possibility.
Does the mounted drive(s) have a yellow or green dot on it?
How much ram do you have...below a threshold there will be a mounted drive...either optical or hard drive (the copied sfs theory)
mike
|
Back to top
|
|
 |
marada2
Joined: 19 Oct 2013 Posts: 64
|
Posted: Wed 23 Oct 2013, 09:51 Post subject:
|
|
No there are no dots on there. My memory is 8GB running a core2quad processor.
|
Back to top
|
|
 |
Jasper
Joined: 25 Apr 2010 Posts: 1350 Location: England
|
Posted: Wed 23 Oct 2013, 10:10 Post subject:
|
|
marada2, you wrote
I ask:
exactly how are you going to implement any deletions so they are persistent?
|
Back to top
|
|
 |
mikeb

Joined: 23 Nov 2006 Posts: 11100
|
Posted: Wed 23 Oct 2013, 10:46 Post subject:
|
|
If there are no dots then nothing is mounted.
Drives are briefly mounted at startup to scan for system files.... there are boot parameters aimed at directing searches to specific locations if this is a problem... perhaps you refer to the slowness of a full scan.
mike
|
Back to top
|
|
 |
marada2
Joined: 19 Oct 2013 Posts: 64
|
Posted: Wed 23 Oct 2013, 12:37 Post subject:
|
|
Jasper wrote: | marada2, you wrote
I ask:
exactly how are you going to implement any deletions so they are persistent? |
Well if I delete things I thought I could always remaster puppy to a new CD?
Sorry there are some small dots on the drives. They are definitely mounted as I can click on the mounts and browse all the internal files on my windows hard drive. Any idea how I can stop puppy mounting these drives?
|
Back to top
|
|
 |
Jasper
Joined: 25 Apr 2010 Posts: 1350 Location: England
|
Posted: Wed 23 Oct 2013, 12:48 Post subject:
|
|
Quote: | Well if I delete things I thought I could always remaster puppy to a new CD? |
Quote: | ...but if you then burn a new CD from that iso - all your settings and changes will on it (so you could have just saved to a multi-session CD), |
|
Back to top
|
|
 |
marada2
Joined: 19 Oct 2013 Posts: 64
|
Posted: Wed 23 Oct 2013, 13:02 Post subject:
|
|
I don't want a multisession CD. I just want build a puppy exactly the way I want it and then burn it to a CD. I don't plan on tweaking anything once I get things the way I want them. I am definitely not interested in multisession. The CD will purely be used as a security CD for internet banking, TOR and various encryption purposes. I definately don't want multisession or anything saved anywhere. The whole reason I am attracted to a live distro like puppy is the fact that I can boot it into ram and never have anything saved. This is an excellent security feature.
|
Back to top
|
|
 |
mikeb

Joined: 23 Nov 2006 Posts: 11100
|
Posted: Wed 23 Oct 2013, 13:59 Post subject:
|
|
Quote: | They are definitely mounted as I can click on the mounts and browse all the internal files on my windows hard drive. |
Ok need to clarify that one..... what colour are the dots?
Are the dots present before clicking?... mounting only happens when you actually click on the icon.... the dot signifies mounted in other words.
If preventing drive access is your aim then karls suggestion might be suitable or alternatively I believe the icons can be disabled in their config.
Mike
|
Back to top
|
|
 |
marada2
Joined: 19 Oct 2013 Posts: 64
|
Posted: Wed 23 Oct 2013, 15:07 Post subject:
|
|
Well I am a little confused about what you mean by dots. There are 2 tiny dots on the icon. I have uploaded a screenshot so you can see what I mean.
Description |
|
Filesize |
28.4 KB |
Viewed |
247 Time(s) |

|
|
Back to top
|
|
 |
Jasper
Joined: 25 Apr 2010 Posts: 1350 Location: England
|
Posted: Wed 23 Oct 2013, 15:12 Post subject:
|
|
Tick.
|
Back to top
|
|
 |
|