The time now is Wed 19 Jun 2013, 02:16
All times are UTC - 4 |
| Author |
Message |
linux28
Joined: 05 Apr 2009 Posts: 163
|
Posted: Sat 26 May 2012, 00:56 Post_subject:
How to automatically mount all the hard drive partitions? Sub_title: 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: 2449
|
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: 2527 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: 736
|
Posted: Sat 26 May 2012, 17:32 Post_subject:
|
|
Sorry bad tread
_________________ Recherches Puppy|Index Puppy|Index FR|Tuto TTL
|
|
Back to top
|
|
 |
|
|
|
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
|