[H-GEN] RE: the order hdd's are mounted
Jason Henry Parker
henry at freezer.humbug.org.au
Thu Jun 11 20:06:58 EDT 1998
On Fri, Jun 12, 1998 at 09:24:59AM +1000, Michael wrote:
> I have been following the emails about how to partition your hard drive
> correctly.. and i have decided to make a seperate partition for /usr /tmp
> /var /home and /.
> But for some reason they get mounted the wrong way up like:
Is that a huge problem? afaict, all the disks are being mounted onto
the right partitions, so...? What effect are you trying to get by having
disks mounted in a specific order?
> The fstab contents are:
>
> /dev/hdb8 / ext2 defaults 1 1
> /dev/hdb9 /tmp ext2 defaults 1 1
> /dev/hdb10 /usr ext2 defaults 1 1
> /dev/hdb11 /var ext2 defaults 1 1
> /dev/hdb12 /home ext2 defaults 1 1
> How can i get the hard drives to be mounted in the order i want ie
> hdb9,10,11,12? Also being a newbie how can i get /usr mounted read only?
/dev/hdb10 /usr ext2 defaults,ro 1 1
The "ro" option tells mount to mount a partition read-only (duh). I
also like to put in something like
/dev/optcd /cdrom iso9660 ro,noexec,user
so that users can do a "mount /cdrom". (Most useful when they're at
the console, so that they can actually put the cdrom in, too. :)
man fstab
man mount
It can be a little tough going for a new user, but it's pretty simple
once you've got the hang of it. :)
---Jason Parker---ph330812 at student.uq.edu.au---
|``This is the sort of bloody nonsense up with|
| which I will not put.'' -- Churchill|
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 366 bytes
Desc: not available
URL: <http://lists.humbug.org.au/pipermail/general/attachments/19980612/d345f213/attachment.sig>
More information about the General
mailing list