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 20 Dec 2014, 15:28
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Projects
USB mount Question
Moderators: Flash, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [3 Posts]  
Author Message
divisionmd


Joined: 14 Jul 2007
Posts: 608

PostPosted: Tue 17 Jul 2007, 13:03    Post subject:  USB mount Question  

Hello,

Is this possible:


1. I use a USB drive to boot up puppy.

2. The usb drive has two partitions.

3. One partition is for the system itself (puppy) and is always mounted of course at startup.

4. The other partition i always have to mount with the command:

"mkdir /mnt/sdb1"
"mount /dev/sdb1 /mnt/sdb1"

5. This always works fine but if i move to another computer the other partition "sdb1" gets another name.


6. So the question is can i for instance do this:

"mkdir /mnt/mydrive2"
"mount /dev/sdb1 /mnt/mydrive2"


Question is: So no matter what PC i boot up with my pyppy usb drive (seconds partition) always gets the name "/mnt/mydrive2" ?

I want to create a autologin script for this but if the name always changes on different PC´s my script wont work..

Is this possible? i dont have to many pc´s to test on.. .



Thanks!
Back to top
View user's profile Send private message MSN Messenger 
HairyWill


Joined: 26 May 2006
Posts: 2949
Location: Southampton, UK

PostPosted: Tue 17 Jul 2007, 15:56    Post subject:  

try this
http://www.murga-linux.com/puppy/viewtopic.php?p=126028&search_id=566045936#126028
or search the forum for automount

_________________
Will
contribute: community website, screenshots, puplets, wiki, rss
Back to top
View user's profile Send private message 
HairyWill


Joined: 26 May 2006
Posts: 2949
Location: Southampton, UK

PostPosted: Tue 17 Jul 2007, 17:02    Post subject:  

It looks like you are posting very similar questions in different areas of the forum.
_________________
Will
contribute: community website, screenshots, puplets, wiki, rss
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [3 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Puppy Projects
Jump to:  

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


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