USB mount Question

A home for all kinds of Puppy related projects
Post Reply
Message
Author
User avatar
divisionmd
Posts: 606
Joined: Sat 14 Jul 2007, 20:42

USB mount Question

#1 Post by divisionmd »

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!

User avatar
HairyWill
Posts: 2928
Joined: Fri 26 May 2006, 23:29
Location: Southampton, UK

#2 Post by HairyWill »

try this
http://www.murga-linux.com/puppy/viewto ... 936#126028
or search the forum for automount
Will
contribute: [url=http://www.puppylinux.org]community website[/url], [url=http://tinyurl.com/6c3nm6]screenshots[/url], [url=http://tinyurl.com/6j2gbz]puplets[/url], [url=http://tinyurl.com/57gykn]wiki[/url], [url=http://tinyurl.com/5dgr83]rss[/url]

User avatar
HairyWill
Posts: 2928
Joined: Fri 26 May 2006, 23:29
Location: Southampton, UK

#3 Post by HairyWill »

It looks like you are posting very similar questions in different areas of the forum.
Will
contribute: [url=http://www.puppylinux.org]community website[/url], [url=http://tinyurl.com/6c3nm6]screenshots[/url], [url=http://tinyurl.com/6j2gbz]puplets[/url], [url=http://tinyurl.com/57gykn]wiki[/url], [url=http://tinyurl.com/5dgr83]rss[/url]

Post Reply