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 Tue 30 Sep 2014, 20:13
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » REQUESTS
How to automatically mount all the hard drive partitions?
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [4 Posts]  
Author Message
linux28

Joined: 05 Apr 2009
Posts: 179

PostPosted: Sat 26 May 2012, 00:56    Post subject:  How to automatically mount all the hard drive partitions?
Subject description: Precise Upup or Saluki
 

Hello, I use Upup the Precise, how can Saluki the same can be automatically mounted hard drive all the partitions?the automount? Thank you, pet it?If we can provide a better thank you very much!
Back to top
View user's profile Send private message 
jpeps

Joined: 31 May 2008
Posts: 3220

PostPosted: Sat 26 May 2012, 01:31    Post subject:  

If I understand the question, you can add mount instructions in /etc/rc.d/rc.local:
ex: mount -t ext3 /dev/sda2 /mount/sda2
Back to top
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 3307
Location: Ontario

PostPosted: Sat 26 May 2012, 14:30    Post subject:  

Or put a script in /root/Startup
Make sure it's executable by
looking at it's properties.

Example

Code:
#!/bin/sh
mount -t ext3 /dev/sda2 /mount/sda2
mount -t ext3 /dev/sda5 /mount/sda5


Note: if the partition is formated ext3 then
you don't need -t option


-t vfstype
The argument following the -t is used to indicate the file system type.
The file system types which are currently supported are: adfs, affs,
autofs, coda, coherent, cramfs, devpts, efs, ext, ext2, ext3, hfs, hpfs,
iso9660, jfs, minix, msdos, ncpfs, nfs, ntfs, proc, qnx4, ramfs, reiserfs,
romfs, smbfs, sysv, tmpfs, udf, ufs, umsdos, vfat, xenix, xfs, xiafs.

_________________________________________________________
________________________________________
Back to top
View user's profile Send private message 
Médor


Joined: 26 May 2011
Posts: 1714

PostPosted: Sat 26 May 2012, 17:32    Post subject:  

Sorry bad tread
_________________
Recherches Puppy|Index Puppy|Index FR|Tuto Toutou
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [4 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » REQUESTS
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.0479s ][ Queries: 12 (0.0035s) ][ GZIP on ]