[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: autofs example



Quoting Robin Rowe (rower@movieeditor.com):
> I have a win98 partition on /dev/hdb1. I want to mount that automatically,
> instead of explicitly using 'mount -t vfat /dev/hdb1 /win98'. I looked at
> the docs for autofs but found it confusing. How do I do it?

Put a line like this late on in /etc/fstab:

/dev/hdb1 /win98 vfat nodev,noexec,nosuid,uid=1000,gid=1000 0 0
                                         ==================

The underlined part assumes that you are UID 1000 (the first user
account created at install) and that you want to own all the files
(as if you were using '98 privately).

Cheers,

-- 
Email:  d.wright@open.ac.uk   Tel: +44 1908 653 739  Fax: +44 1908 655 151
Snail:  David Wright, Earth Science Dept., Milton Keynes, England, MK7 6AA
Disclaimer:   These addresses are only for reaching me, and do not signify
official stationery. Views expressed here are either my own or plagiarised.



Reply to: