How to automatically mount all the hard drive partitions?
How to automatically mount all the hard drive partitions?
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!
Or put a script in /root/Startup
Make sure it's executable by
looking at it's properties.
Example
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.
_________________________________________________________
________________________________________
Make sure it's executable by
looking at it's properties.
Example
Code: Select all
#!/bin/sh
mount -t ext3 /dev/sda2 /mount/sda2
mount -t ext3 /dev/sda5 /mount/sda5
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.
_________________________________________________________
________________________________________