The time now is Sat 25 May 2013, 21:46
All times are UTC - 4 |
| Author |
Message |
linux28
Joined: 05 Apr 2009 Posts: 161
|
Posted: 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
|
|
 |
jpeps
Joined: 31 May 2008 Posts: 2422
|
Posted: 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
|
|
 |
don570

Joined: 10 Mar 2010 Posts: 2476 Location: Ontario
|
Posted: 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
|
|
 |
Médor

Joined: 26 May 2011 Posts: 724
|
Posted: Sat 26 May 2012, 17:32 Post subject:
|
|
Sorry bad tread
_________________ Recherches Puppy|Index Puppy|Index FR|Tuto TTL
|
|
Back to top
|
|
 |
|
|
|
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
|