Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sat 25 Oct 2014, 23:15
All times are UTC - 4
 Forum index » House Training » Beginners Help ( Start Here)
Why are those extra directories in Rox?
Moderators: Flash, Ian, JohnMurga
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 1 Posts_count  
Author Message
SkyPilot

Joined: 28 Aug 2005
Posts: 18
Location: Murphysboro, Illinois

PostPosted: Mon 14 Nov 2005, 17:08    Post_subject:  Why are those extra directories in Rox?  

I'm putting this here, because I'm pretty sure it's just my newbie problem rather than a problem with Puppy.

I have a Dell Inspiron 2650, use a 64KM Lexar jump drive to take files back and forth between work and home -- and by the way, thanks Barry, with Puppy 106, I've gone to using Puppy exclusively, except for a few times when I have to use a color printer that I can acess only thru XP. Very Happy

My question is about ROX (the standard version in 106), when I open up to /mnt - to get to my sda1 - I see the following "directories" apparently mounted there -
cdrive
cdrom
cdrom2
data
flash
floppy
home
linux2
linux3
linux4
linux5
msdos1
msdos2
pupxxx
ram1
sda1
swap
windows2
windows3
zip

This is rather confusing to me since I don't have any msdos on this machine, I don't have any windows, I only have one cdrom drive, and only one other linux (Ubuntu which I really haven't used since 106 came out).

I'd really like to know how to get rid of the "extra" directories, and I wouldn't mind knowing the "why" behind all this.

Thanks!!
Back to top
View user's profile Send_private_message Visit_website 
rarsa


Joined: 29 May 2005
Posts: 3053
Location: Kitchener, Ontario, Canada

PostPosted: Mon 14 Nov 2005, 17:57    Post_subject:  

In Linux you don't access 'drives' as in other Operating sytems so, there is no drive C: or D:, etc.

Here is some linux theory:

In Linux you mount filesystems into existing directories. This is, you access filesystems seamlessly as if they were part of the directory structure.

The directory where you 'mount' a file system must exist. It does not have to be in any particular location but it is standard that you mount filesystems in a subdirectory under /mnt

The directories that you see there are just placeholders for when you want to mount something. Just helpers so you don't have to create the folders. Another advantage is that when giving instructions to new users we can refer to those folders knowing that they always exist.

So, to round up:
- Those folders are not required, just convenient.
- You don't need to mount your filesystems under /mnt although that's the common location. For example, I have a /root/data folder where I mount an additional pupdata file at boot time.
- The directory where you mount a filesystem is called a mount point.
- If you are running from the liveCD, The folders under /mnt exist on ramdisk so even if you delete them they will be created the next time you boot. The only way to permanently get rid of them is to remaster the CD. (Not worth your time)

I hope I did not confuse you more.
Back to top
View user's profile Send_private_message Visit_website 
Pizzasgood


Joined: 04 May 2005
Posts: 6270
Location: Knoxville, TN, USA

PostPosted: Mon 14 Nov 2005, 18:14    Post_subject:  

A quick addition:
Rox adds a little green circle/arrow thing to the folder icon if it is mounted. A white arrow in a circle is if it's not mounted, but defined as a mountpoint. Things can be mounted anywhere, but you can set it to mount to a certain place in /etc/fstab, which is how it knows to stick the white arrow there.

This is not to be confused with the white and black arrow in a box, which is a symlink (think beefed-up shortcuts).



Those directories can't be deleted permanantly because of how Puppy works. You can try, but they will just come back. If you [i]really[i/] want them gone, you could add this to the file /etc/rc.d/rc.local
Code:
rm -r /mnt/msdos1

which would get rid of /mnt/msdos1. You can just add a line like that for every directory you want removed. Then, every time Puppy boots, it will delete those directories again.

_________________
Between depriving a man of one hour from his life and depriving him of his life there exists only a difference of degree. --Muad'Dib

Back to top
View user's profile Send_private_message Visit_website 
SkyPilot

Joined: 28 Aug 2005
Posts: 18
Location: Murphysboro, Illinois

PostPosted: Wed 16 Nov 2005, 22:53    Post_subject:  

Thanks for all your information - I'll just put up with the extra mount points. I'd rather not screw around with Puppy and mess up the fine beast that Barry has "created."
Back to top
View user's profile Send_private_message Visit_website 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » House Training » Beginners Help ( Start Here)
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0654s ][ Queries: 12 (0.0189s) ][ GZIP on ]